Home
last modified time | relevance | path

Searched refs:toHTMLElement (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/html/
DFormAssociatedElement.cpp71 HTMLElement* element = toHTMLElement(this); in didMoveToNewDocument()
85 HTMLElement* element = toHTMLElement(this); in insertedInto()
92 HTMLElement* element = toHTMLElement(this); in removedFrom()
125 if (toHTMLElement(this)->highestAncestor() == formRoot) in formRemovedFromTree()
164 setForm(findAssociatedForm(toHTMLElement(this), m_form)); in resetFormOwner()
165 HTMLElement* element = toHTMLElement(this); in resetFormOwner()
172 HTMLElement* element = toHTMLElement(this); in formAttributeChanged()
177 HTMLElement* element = toHTMLElement(this); in formAttributeChanged()
190 const HTMLElement* element = toHTMLElement(this); in customError()
258 ASSERT(toHTMLElement(this)->inDocument()); in resetFormAttributeTargetObserver()
[all …]
DFormAssociatedElement.h121 HTMLElement* toHTMLElement(FormAssociatedElement*);
122 HTMLElement& toHTMLElement(FormAssociatedElement&);
123 const HTMLElement* toHTMLElement(const FormAssociatedElement*);
124 const HTMLElement& toHTMLElement(const FormAssociatedElement&);
DHTMLFormControlsCollection.cpp77 return toHTMLElement(element); in virtualItemAfter()
89 HTMLElement* element = toHTMLElement(elementsArray[i]); in firstNamedItem()
132 HTMLElement* element = toHTMLElement(associatedElement); in updateNameCache()
DHTMLFormElement.cpp241 HTMLElement* unhandled = toHTMLElement(unhandledAssociatedElement); in validateInteractively()
254 HTMLElement* unhandled = toHTMLElement(unhandledAssociatedElement); in validateInteractively()
314 HTMLElement* element = toHTMLElement(control); in getTextFieldValues()
536 position = element->compareDocumentPosition(toHTMLElement(m_associatedElements[middle])); in formElementIndexWithFormAttribute()
544 position = element->compareDocumentPosition(toHTMLElement(m_associatedElements[left])); in formElementIndexWithFormAttribute()
552 HTMLElement& associatedHTMLElement = toHTMLElement(associatedElement); in formElementIndex()
579 if (!element->isHTMLElement() || toHTMLElement(element)->formOwner() != this) in formElementIndex()
604 removeFromPastNamesMap(*toHTMLElement(e)); in removeFormElement()
731 ASSERT_WITH_SECURITY_IMPLICATION(toHTMLElement(node)->formOwner() == this); in elementFromPastNamesMap()
DHTMLLabelElement.cpp42 if (!toHTMLElement(element)->isLabelable()) in supportsLabels()
129 if (node->isHTMLElement() && toHTMLElement(node)->isInteractiveContent()) in isInInteractiveContent()
DLabelableElement.h55 return node.isHTMLElement() && toHTMLElement(node).isLabelable(); in isLabelableElement()
DHTMLUnknownElement.h56 return node.isElementNode() && toHTMLElement(node).isHTMLUnknownElement(); in isHTMLUnknownElement()
DDOMFormData.cpp56 if (!toHTMLElement(element)->isDisabledFormControl()) in DOMFormData()
DRadioNodeList.cpp91 HTMLFormElement* formElement = toHTMLElement(testElement)->formOwner(); in checkElementMatchesRadioNodeListFilter()
DHTMLTextFormControlElement.cpp150 return toHTMLElement(userAgentShadowRoot()->getElementById(ShadowElementNames::placeholder())); in placeholderElement()
629 return toHTMLElement(element); in parentHTMLElement()
656 return toHTMLElement(userAgentShadowRoot()->getElementById(ShadowElementNames::innerEditor())); in innerTextElement()
DHTMLElement.cpp636 TranslateAttributeMode mode = toHTMLElement(n)->translateAttributeMode(); in translate()
685 …return node->isHTMLElement() && (node->hasTagName(bdiTag) || toHTMLElement(node)->hasAttribute(dir… in elementAffectsDirectionality()
793 toHTMLElement(parent)->adjustDirectionalityIfNeededAfterChildAttributeChanged(this); in dirAttributeChanged()
848 toHTMLElement(elementToAdjust)->calculateAndAdjustDirectionality(); in adjustDirectionalityIfNeededAfterChildrenChanged()
DHTMLCollection.cpp518 HTMLElement* e = toHTMLElement(element); in checkForNameMatch()
639 …l != nameAttrVal && (type() != DocAll || nameShouldBeVisibleInDocumentAll(toHTMLElement(element)))) in updateNameCache()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DApplyStyleCommand.cpp66 const HTMLElement* elem = toHTMLElement(node); in isLegacyAppleStyleSpan()
90 return hasNoAttributeOrOnlyStyleAttribute(toHTMLElement(element), AllowNonEmptyStyleAttribute); in isStyleSpanOrSpanWithOnlyStyleAttribute()
97 return hasNoAttributeOrOnlyStyleAttribute(toHTMLElement(node), StyleAttributeShouldBeEmpty); in isSpanWithoutAttributesOrUnstyledStyleSpan()
105 return hasNoAttributeOrOnlyStyleAttribute(toHTMLElement(element), shouldStyleAttributeBeEmpty); in isEmptyFontTag()
276 removeCSSStyle(style, toHTMLElement(block)); in applyBlockStyle()
278 addBlockStyle(styleChange, toHTMLElement(block)); in applyBlockStyle()
380 element = toHTMLElement(node); in applyRelativeFontStyleChange()
474 return toHTMLElement(highestAncestorWithUnicodeBidi); in splitAncestorsWithUnicodeBidi()
476 unsplitAncestor = toHTMLElement(highestAncestorWithUnicodeBidi); in splitAncestorsWithUnicodeBidi()
763 HTMLElement* element = toHTMLElement(node); in applyInlineStyleToNodeRange()
[all …]
DFormatBlockCommand.cpp97 …if (outerBlock.get() != nodeAfterInsertionPosition.get() && toHTMLElement(nodeAfterInsertionPositi… in formatRange()
98 …blockNode->setAttribute(styleAttr, toHTMLElement(nodeAfterInsertionPosition.get())->getAttribute(s… in formatRange()
DReplaceSelectionCommand.cpp107 …return node->isHTMLElement() && toHTMLElement(node)->getAttribute(classAttr) == convertedSpaceSpan… in isInterchangeConvertedSpaceSpan()
482 HTMLElement* htmlElement = toHTMLElement(element); in removeRedundantStylesAndKeepStyleSpanInline()
623 if (isProhibitedParagraphChild(toHTMLElement(node)->localName())) { in makeInsertedContentRoundTrippableWithHTMLTreeBuilder()
624 …if (HTMLElement* paragraphElement = toHTMLElement(enclosingNodeWithTag(positionInParentBeforeNode(… in makeInsertedContentRoundTrippableWithHTMLTreeBuilder()
629 …if (HTMLElement* headerElement = toHTMLElement(highestEnclosingNodeOfType(positionInParentBeforeNo… in makeInsertedContentRoundTrippableWithHTMLTreeBuilder()
760 wrappingStyleSpan = toHTMLElement(node); in handleStyleSpans()
867 const HTMLElement* element = toHTMLElement(node); in isInlineNodeWithStyle()
1079 … refNode = insertAsListItems(toHTMLElement(refNode), blockStart, insertionPos, insertedNodes); in doApply()
1422 listElement = toHTMLElement(listElement->firstChild()); in insertAsListItems()
Dhtmlediting.cpp656 return toHTMLElement(n); in enclosingList()
688 return toHTMLElement(n); in embeddedSublist()
699 return toHTMLElement(n); in appendedSublist()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DBaseChooserOnlyDateAndTimeInputType.cpp80 toHTMLElement(node)->setInnerText(displayValue, ASSERT_NO_EXCEPTION); in updateAppearance()
DColorInputType.cpp212 return shadow ? toHTMLElement(shadow->firstChild()->firstChild()) : 0; in shadowColorSwatch()
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
DInputMethodContext.cpp101 return element && element->isHTMLElement() && m_element == toHTMLElement(element); in hasFocus()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DMediaControlElementTypes.cpp62 HTMLElement* element = toHTMLElement(node); in mediaControlElementType()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXNodeObject.cpp85 const AtomicString& alt = toHTMLElement(node)->getAttribute(altAttr); in accessibleNameForNode()
339 if (!element->isHTMLElement() || !toHTMLElement(element)->isLabelable()) in labelForElement()
1643 return toHTMLElement(owner)->getNameAttribute(); in alternativeTextForWebArea()
1652 return toHTMLElement(owner)->getNameAttribute(); in alternativeTextForWebArea()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DSharedStyleFinder.cpp214 if (candidate.isHTMLElement() && toHTMLElement(candidate).hasDirectionAuto()) in canShareStyleWithElement()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8NodeCustom.cpp131 return wrap(toHTMLElement(impl), creationContext, isolate); in wrap()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8LazyEventListener.cpp174 formElement = toHTMLElement(m_node)->formOwner(); in prepareListenerObject()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DFormSubmission.cpp212 HTMLElement* element = toHTMLElement(control); in create()

12