toElement 133 Source/bindings/v8/custom/V8NodeCustom.cpp return V8Element::createWrapper(toElement(impl), creationContext, isolate); toElement 95 Source/core/accessibility/AXMenuList.cpp return !toElement(node())->isDisabledFormControl(); toElement 220 Source/core/accessibility/AXNodeObject.cpp if (node()->isElementNode() && toElement(node())->isFocusable()) toElement 406 Source/core/accessibility/AXNodeObject.cpp for (Element* element = toElement(node); element; element = element->parentElement()) { toElement 469 Source/core/accessibility/AXNodeObject.cpp return ((node->isElementNode() && toElement(node)->isFormControlElement()) toElement 643 Source/core/accessibility/AXNodeObject.cpp if (node()->isElementNode() && toElement(node())->isDisabledFormControl()) toElement 663 Source/core/accessibility/AXNodeObject.cpp return !toElement(node)->isDisabledFormControl(); toElement 718 Source/core/accessibility/AXNodeObject.cpp if (n && (n->isElementNode() && toElement(n)->isFormControlElement())) toElement 742 Source/core/accessibility/AXNodeObject.cpp return node->isElementNode() && toElement(node)->supportsFocus(); toElement 836 Source/core/accessibility/AXNodeObject.cpp Element* element = toElement(node); toElement 878 Source/core/accessibility/AXNodeObject.cpp return toElement(node)->innerText(); toElement 889 Source/core/accessibility/AXNodeObject.cpp HTMLLabelElement* label = labelForElement(toElement(node())); toElement 1151 Source/core/accessibility/AXNodeObject.cpp HTMLLabelElement* label = labelForElement(toElement(node)); toElement 1209 Source/core/accessibility/AXNodeObject.cpp const AtomicString& summary = toElement(curr)->getAttribute(summaryAttr); toElement 1214 Source/core/accessibility/AXNodeObject.cpp const AtomicString& title = toElement(curr)->getAttribute(titleAttr); toElement 1382 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1386 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1389 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1392 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1395 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1404 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1427 Source/core/accessibility/AXNodeObject.cpp return toElement(node); toElement 1493 Source/core/accessibility/AXNodeObject.cpp toElement(node)->focus(); toElement 1608 Source/core/accessibility/AXNodeObject.cpp const AtomicString& title = toElement(owner)->getAttribute(titleAttr); toElement 1611 Source/core/accessibility/AXNodeObject.cpp return toElement(owner)->getNameAttribute(); toElement 632 Source/core/accessibility/AXObject.cpp Element* element = toElement(elementNode); toElement 645 Source/core/accessibility/AXObject.cpp Element* element = toElement(elementNode); toElement 263 Source/core/accessibility/AXObjectCache.cpp return equalIgnoringCase(toElement(node)->getAttribute(roleAttr), role); toElement 970 Source/core/accessibility/AXObjectCache.cpp const Element* element = node->isElementNode() ? toElement(node) : node->parentElement(); toElement 997 Source/core/accessibility/AXObjectCache.cpp return equalIgnoringCase(toElement(node)->getAttribute(aria_hiddenAttr), "false"); toElement 707 Source/core/accessibility/AXRenderObject.cpp Element* elt = toElement(node); toElement 779 Source/core/accessibility/AXRenderObject.cpp return toElement(node)->getAttribute(accesskeyAttr); toElement 942 Source/core/accessibility/AXRenderObject.cpp Element* element = toElement(m_renderer->node()); toElement 1174 Source/core/accessibility/AXRenderObject.cpp const AtomicString& summary = toElement(curr->node())->getAttribute(summaryAttr); toElement 1179 Source/core/accessibility/AXRenderObject.cpp const AtomicString& title = toElement(curr->node())->getAttribute(titleAttr); toElement 1556 Source/core/accessibility/AXRenderObject.cpp return toElement(node); toElement 1652 Source/core/accessibility/AXRenderObject.cpp Element* element = toElement(renderer()->node()); toElement 2309 Source/core/accessibility/AXRenderObject.cpp QualifiedName tagName = toElement(elementNode)->tagQName(); toElement 2350 Source/core/accessibility/AXRenderObject.cpp HTMLLabelElement* label = labelForElement(toElement(m_renderer->node())); toElement 151 Source/core/accessibility/AXSlider.cpp return toElement(sliderRenderer->node())->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->boundingBox(); toElement 43 Source/core/animation/ActiveAnimations.cpp const Element* element = toElement(renderer.node()); toElement 59 Source/core/animation/ActiveAnimations.cpp const Element* element = toElement(renderer.node()); toElement 71 Source/core/animation/ActiveAnimations.cpp const Element* element = toElement(renderer.node()); toElement 74 Source/core/animation/DocumentAnimations.cpp const Element& element = toElement(node); toElement 1542 Source/core/css/CSSComputedStyleDeclaration.cpp if (PseudoElement* element = toElement(m_node)->pseudoElement(m_pseudoElementSpecifier)) toElement 142 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 154 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 166 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 178 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 190 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 203 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 216 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 229 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); toElement 45 Source/core/css/invalidation/StyleInvalidator.cpp m_pendingInvalidationMap.remove(toElement(&node)); toElement 50 Source/core/css/resolver/StyleResolverParentScope.h m_resolver.popParentElement(toElement(m_parent)); toElement 68 Source/core/css/resolver/StyleResolverParentScope.h m_resolver.pushParentElement(toElement(m_parent)); toElement 817 Source/core/dom/ContainerNode.cpp if ((isElementNode() && toElement(this)->childrenAffectedByFocus()) toElement 840 Source/core/dom/ContainerNode.cpp if (isElementNode() && toElement(this)->childrenAffectedByFocus()) toElement 855 Source/core/dom/ContainerNode.cpp if ((isElementNode() && toElement(this)->childrenAffectedByActive()) toElement 877 Source/core/dom/ContainerNode.cpp if (isElementNode() && toElement(this)->childrenAffectedByHover()) toElement 884 Source/core/dom/ContainerNode.cpp if ((isElementNode() && toElement(this)->childrenAffectedByHover()) toElement 1036 Source/core/dom/ContainerNode.cpp Element* element = toElement(child); toElement 1103 Source/core/dom/ContainerNode.cpp if (node->isElementNode() && toElement(node)->shadow()) toElement 58 Source/core/dom/ContainerNodeAlgorithms.cpp if (ElementShadow* shadow = toElement(node).shadow()) { toElement 95 Source/core/dom/ContainerNodeAlgorithms.cpp if (ElementShadow* shadow = toElement(node).shadow()) { toElement 114 Source/core/dom/ContainerNodeAlgorithms.cpp if (ElementShadow* shadow = toElement(node).shadow()) { toElement 136 Source/core/dom/ContainerNodeAlgorithms.cpp if (ElementShadow* shadow = toElement(node).shadow()) { toElement 326 Source/core/dom/ContainerNodeAlgorithms.h ElementShadow* shadow = root.isElementNode() ? toElement(root).shadow() : 0; toElement 912 Source/core/dom/Document.cpp Element* oldElement = toElement(importedNode); toElement 3421 Source/core/dom/Document.cpp m_activeHoverElement = activeNode && activeNode->isElementNode() ? toElement(activeNode) : 0; toElement 5270 Source/core/dom/Document.cpp if (!mustBeInActiveChain || (node->isElementNode() && toElement(node)->inActiveChain())) toElement 95 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 109 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 122 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 136 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 150 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 164 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 178 Source/core/dom/DocumentMarkerControllerTest.cpp RefPtr<Element> parent = toElement(document().body()->firstChild()->firstChild()); toElement 1643 Source/core/dom/Element.cpp Element* element = toElement(child); toElement 2267 Source/core/dom/Element.cpp RefPtr<Element> parent = toElement(p); toElement 2327 Source/core/dom/Element.cpp return toElement(parent); toElement 2344 Source/core/dom/Element.cpp return toElement(returnValue); toElement 2516 Source/core/dom/Element.cpp if (const ElementData* elementData = toElement(n)->elementData()) { toElement 662 Source/core/dom/Element.h template <typename T> inline bool isElementOfType(const Node& node) { return node.isElementNode() && isElementOfType<const T>(toElement(node)); } toElement 666 Source/core/dom/Element.h template<typename T> inline T& toElement(Node& node) toElement 671 Source/core/dom/Element.h template<typename T> inline T* toElement(Node* node) toElement 676 Source/core/dom/Element.h template<typename T> inline const T& toElement(const Node& node) toElement 681 Source/core/dom/Element.h template<typename T> inline const T* toElement(const Node* node) toElement 686 Source/core/dom/Element.h template<typename T, typename U> inline T* toElement(const RefPtr<U>& node) { return toElement<T>(node.get()); } toElement 690 Source/core/dom/Element.h return node->isElementNode() && toElement(node)->isDisabledFormControl(); toElement 695 Source/core/dom/Element.h return isElementNode() && toElement(this)->hasTagName(name); toElement 701 Source/core/dom/Element.h return parent && parent->isElementNode() ? toElement(parent) : 0; toElement 814 Source/core/dom/Element.h return isElementNode() && toElement(this)->hasID(); toElement 819 Source/core/dom/Element.h return isElementNode() && toElement(this)->hasClass(); toElement 870 Source/core/dom/Element.h return node && node->isElementNode() && toElement(node)->shadow(); toElement 132 Source/core/dom/ElementTraversal.h return toElement(node); toElement 142 Source/core/dom/ElementTraversal.h return toElement(node); toElement 152 Source/core/dom/ElementTraversal.h return toElement(node); toElement 162 Source/core/dom/ElementTraversal.h return toElement(node); toElement 173 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 182 Source/core/dom/ElementTraversal.h return toElement<ElementType>(ancestor); toElement 190 Source/core/dom/ElementTraversal.h return &toElement<ElementType>(current); toElement 201 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 211 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); toElement 221 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); toElement 231 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); toElement 241 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); toElement 251 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); toElement 261 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); toElement 271 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 281 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 290 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 299 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 308 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 317 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 326 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 335 Source/core/dom/ElementTraversal.h return toElement<ElementType>(node); toElement 158 Source/core/dom/LiveNodeListBase.h if (current->isElementNode() && isMatchingElement(collection, toElement(*current))) toElement 159 Source/core/dom/LiveNodeListBase.h return toElement(current); toElement 150 Source/core/dom/Node.cpp if (toElement(node)->hasNamedNodeMap()) toElement 160 Source/core/dom/Node.cpp Element* element = toElement(node); toElement 402 Source/core/dom/Node.cpp const Element* currentElement = toElement(this); toElement 418 Source/core/dom/Node.cpp const Element* currentElement = toElement(this); toElement 480 Source/core/dom/Node.cpp toElement(node)->normalizeAttributes(); toElement 613 Source/core/dom/Node.cpp if (ElementShadow* shadow = toElement(node)->shadow()) toElement 622 Source/core/dom/Node.cpp if (ElementShadow* shadow = toElement(this)->shadow()) toElement 641 Source/core/dom/Node.cpp setFlag(isLink && !SVGImage::isInSVGImage(toElement(this)), IsLinkFlag); toElement 766 Source/core/dom/Node.cpp toElement(*this).setAnimationStyleChange(false); toElement 776 Source/core/dom/Node.cpp toElement(*this).setAnimationStyleChange(false); toElement 882 Source/core/dom/Node.cpp bool hasShadow = isElementNode() && toElement(this)->shadow(); toElement 1164 Source/core/dom/Node.cpp return toElement(parent); toElement 1183 Source/core/dom/Node.cpp return toElement(n); toElement 1190 Source/core/dom/Node.cpp return toElement(n); toElement 1216 Source/core/dom/Node.cpp result = toElement(n); toElement 1262 Source/core/dom/Node.cpp if (isElementNode() && !toElement(this)->hasEquivalentAttributes(toElement(other))) toElement 1302 Source/core/dom/Node.cpp const Element* elem = toElement(this); toElement 1354 Source/core/dom/Node.cpp context = toElement(this); toElement 1388 Source/core/dom/Node.cpp const Element *elem = toElement(this); toElement 1684 Source/core/dom/Node.cpp name.append(toElement(this)->getIdAttribute()); toElement 1690 Source/core/dom/Node.cpp for (size_t i = 0; i < toElement(this)->classNames().size(); ++i) { toElement 1693 Source/core/dom/Node.cpp name.append(toElement(this)->classNames()[i]); toElement 1708 Source/core/dom/Node.cpp String attr = toElement(node)->getAttribute(name); toElement 1763 Source/core/dom/Node.cpp const Element* element = toElement(node); toElement 43 Source/core/dom/NodeRenderingTraversal.cpp if (toElement(renderer->node())->isInTopLayer()) toElement 91 Source/core/dom/NodeRenderingTraversal.cpp return toElement(parent)->pseudoElement(AFTER); toElement 110 Source/core/dom/NodeRenderingTraversal.cpp return toElement(parent)->pseudoElement(BEFORE); toElement 133 Source/core/dom/NodeRenderingTraversal.cpp return toElement(parentNode)->pseudoElement(BEFORE); toElement 141 Source/core/dom/NodeRenderingTraversal.cpp const Element* currentElement = toElement(node); toElement 186 Source/core/dom/NodeRenderingTraversal.cpp return toElement(parentNode)->pseudoElement(AFTER); toElement 194 Source/core/dom/NodeRenderingTraversal.cpp const Element* currentElement = toElement(node); toElement 79 Source/core/dom/NodeRenderingTraversal.h return found && found->isElementNode() ? toElement(found) : 0; toElement 285 Source/core/dom/Position.cpp return toElement(n); toElement 1844 Source/core/dom/Range.cpp if (RenderBoxModelObject* renderBoxModelObject = toElement(node)->renderBoxModelObject()) { toElement 48 Source/core/dom/RenderTreeBuilder.cpp Element* element = m_node->isElementNode() ? toElement(m_node) : 0; toElement 64 Source/core/dom/RenderTreeBuilder.cpp Element* element = m_node->isElementNode() ? toElement(m_node) : 0; toElement 99 Source/core/dom/RenderTreeBuilder.cpp m_style = toElement(m_node)->styleForRenderer(); toElement 111 Source/core/dom/RenderTreeBuilder.cpp Element* element = toElement(m_node); toElement 185 Source/core/dom/SelectorQuery.cpp for (Element* element = &toElement(rootNode); element; element = element->parentElement()) { toElement 268 Source/core/dom/SelectorQuery.cpp if (selectorMatches(selector, toElement(*traverseRoot), rootNode)) toElement 269 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, toElement(*traverseRoot)); toElement 340 Source/core/dom/SelectorQuery.cpp ElementShadow* shadow = toElement(node).shadow(); toElement 385 Source/core/dom/SelectorQuery.cpp Element* element = toElement(node); toElement 45 Source/core/dom/StyleSheetCandidate.cpp return isElement() ? toElement(m_node).fastGetAttribute(titleAttr) : nullAtom; toElement 68 Source/core/dom/StyleSheetCandidate.cpp return toElement(m_node).getAttribute(relAttr).contains("alternate"); toElement 252 Source/core/dom/TreeScope.cpp return toElement(node); toElement 363 Source/core/dom/TreeScope.cpp return toElement(eventPath[i].target()->toNode()); toElement 68 Source/core/dom/TreeScopeAdopter.cpp const Vector<RefPtr<Attr> >& attrs = toElement(node)->attrNodeList(); toElement 46 Source/core/dom/UserActionElementSet.cpp clearFlags(toElement(node), IsActiveFlag | InActiveChainFlag | IsHoveredFlag); toElement 57 Source/core/dom/UserActionElementSet.cpp return hasFlags(toElement(node), flags); toElement 64 Source/core/dom/UserActionElementSet.cpp return setFlags(toElement(node), flags); toElement 71 Source/core/dom/UserActionElementSet.cpp return clearFlags(toElement(node), flags); toElement 40 Source/core/dom/shadow/ComposedTreeWalker.cpp return toElement(node)->shadow(); toElement 112 Source/core/dom/shadow/ElementShadow.h return toElement(this)->youngestShadowRoot(); toElement 108 Source/core/dom/shadow/InsertionPoint.h return toElement(parent)->shadow(); toElement 163 Source/core/dom/shadow/ShadowRoot.cpp toElement(child)->recalcStyle(change, lastTextNode); toElement 68 Source/core/dom/shadow/ShadowRoot.h Element* host() const { return toElement(parentOrShadowHostNode()); } toElement 431 Source/core/editing/ApplyStyleCommand.cpp while (node && (!node->isElementNode() || !isStyleSpanOrSpanWithOnlyStyleAttribute(toElement(node)))) toElement 495 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Element> parent = toElement(currentNode->parentNode()); toElement 515 Source/core/editing/ApplyStyleCommand.cpp Element* element = toElement(n); toElement 1042 Source/core/editing/ApplyStyleCommand.cpp if (current->isStyledElement() && isStyledInlineElementToRemove(toElement(current))) { toElement 1043 Source/core/editing/ApplyStyleCommand.cpp styledElement = toElement(current); toElement 1277 Source/core/editing/ApplyStyleCommand.cpp Element* previousElement = toElement(previousSibling); toElement 1278 Source/core/editing/ApplyStyleCommand.cpp Element* element = toElement(startNode); toElement 1313 Source/core/editing/ApplyStyleCommand.cpp Element* nextElement = toElement(nextSibling); toElement 1314 Source/core/editing/ApplyStyleCommand.cpp Element* element = toElement(endNode); toElement 1353 Source/core/editing/ApplyStyleCommand.cpp && areIdenticalElements(element.get(), toElement(nextSibling))) toElement 1354 Source/core/editing/ApplyStyleCommand.cpp mergeIdenticalElements(element.get(), toElement(nextSibling)); toElement 1359 Source/core/editing/ApplyStyleCommand.cpp && areIdenticalElements(toElement(previousSibling), toElement(mergedElement))) toElement 1360 Source/core/editing/ApplyStyleCommand.cpp mergeIdenticalElements(toElement(previousSibling), toElement(mergedElement)); toElement 136 Source/core/editing/BreakBlockquoteCommand.cpp RefPtr<Element> clonedBlockquote = toElement(topBlockquote)->cloneElementWithoutChildren(); toElement 87 Source/core/editing/Caret.cpp Element& element = toElement(node); toElement 249 Source/core/editing/Caret.cpp element = toElement(node); toElement 288 Source/core/editing/CompositeEditCommand.cpp if (!toElement(node)->hasAttributes()) toElement 955 Source/core/editing/CompositeEditCommand.cpp applyStyledElement(toElement(anchorNode)); toElement 991 Source/core/editing/CompositeEditCommand.cpp appendNode(child, toElement(lastNode)); toElement 1281 Source/core/editing/CompositeEditCommand.cpp splitElement(toElement(blockEnclosingList), listNode); toElement 1298 Source/core/editing/CompositeEditCommand.cpp splitElement(toElement(listNode), emptyListItem); toElement 1457 Source/core/editing/CompositeEditCommand.cpp splitElement(toElement(node->parentNode()), node); toElement 425 Source/core/editing/DeleteSelectionCommand.cpp if ((isHTMLStyleElement(*node) && !(toElement(node)->hasAttribute(scopedAttr))) || isHTMLLinkElement(*node)) { toElement 1068 Source/core/editing/EditingStyle.cpp wrappingStyle->mergeInlineAndImplicitStyleOfElement(toElement(node), EditingStyle::DoNotOverrideValues, toElement 442 Source/core/editing/Editor.cpp urlString = toElement(node)->getAttribute(srcAttr); toElement 444 Source/core/editing/Editor.cpp urlString = toElement(node)->getAttribute(XLinkNames::hrefAttr); toElement 446 Source/core/editing/Editor.cpp urlString = toElement(node)->imageSourceURL(); toElement 45 Source/core/editing/FormatBlockCommand.cpp return node->isElementNode() && isElementForFormatBlock(toElement(node)->tagQName()); toElement 120 Source/core/editing/FormatBlockCommand.cpp return commonAncestor->isElementNode() ? toElement(commonAncestor) : 0; toElement 309 Source/core/editing/FrameSelection.cpp Element& element = toElement(node); toElement 165 Source/core/editing/IndentOutdentCommand.cpp splitElement(toElement(splitPointParent), splitPoint); toElement 186 Source/core/editing/IndentOutdentCommand.cpp splitElement(toElement(enclosingNode), (highestInlineNode) ? highestInlineNode : visibleStartOfParagraph.deepEquivalent().deprecatedNode()); toElement 232 Source/core/editing/InsertParagraphSeparatorCommand.cpp startBlock = toElement(highestBlockquote); toElement 503 Source/core/editing/MarkupAccumulator.cpp appendElement(result, toElement(node), namespaces); toElement 548 Source/core/editing/MarkupAccumulator.cpp result.append(nodeNamePreservingCase(toElement(node))); toElement 99 Source/core/editing/ReplaceSelectionCommand.cpp return isHTMLBRElement(node) && toElement(node)->getAttribute(classAttr) == interchangeNewlineClassString; toElement 420 Source/core/editing/ReplaceSelectionCommand.cpp return node && node->hasTagName(blockquoteTag) && toElement(node)->getAttribute(classAttr) == ApplePasteAsQuotation; toElement 438 Source/core/editing/ReplaceSelectionCommand.cpp return a && b && a->isElementNode() && b->isElementNode() && toElement(a)->tagName() == toElement(b)->tagName(); toElement 473 Source/core/editing/ReplaceSelectionCommand.cpp Element* element = toElement(node); toElement 486 Source/core/editing/ReplaceSelectionCommand.cpp element = toElement(node); toElement 736 Source/core/editing/ReplaceSelectionCommand.cpp if (styleText != toElement(wrappingStyleSpan)->getAttribute(styleAttr)) toElement 1218 Source/core/editing/ReplaceSelectionCommand.cpp removeNodeAttribute(toElement(mailBlockquote), classAttr); toElement 163 Source/core/editing/SpellCheckRequester.cpp if (node && node->isElementNode() && !toElement(node)->isSpellCheckingEnabled()) toElement 423 Source/core/editing/SpellChecker.cpp const Element* focusedElement = node->isElementNode() ? toElement(node) : node->parentElement(); toElement 60 Source/core/editing/SplitTextNodeContainingElementCommand.cpp parent = toElement(firstChild); toElement 412 Source/core/editing/TextIterator.cpp if (m_entersAuthorShadowRoots && m_node->isElementNode() && toElement(m_node)->hasAuthorShadowRoot()) { toElement 413 Source/core/editing/TextIterator.cpp ShadowRoot* youngestShadowRoot = toElement(m_node)->shadowRoot(); toElement 428 Source/core/editing/TextIterator.cpp ShadowRoot* userAgentShadowRoot = toElement(m_node)->userAgentShadowRoot(); toElement 446 Source/core/editing/TextIterator.cpp && (toElement(m_node)->isFormControlElement() toElement 447 Source/core/editing/TextIterator.cpp || isHTMLLegendElement(toElement(*m_node)) toElement 448 Source/core/editing/TextIterator.cpp || isHTMLMeterElement(toElement(*m_node)) toElement 449 Source/core/editing/TextIterator.cpp || isHTMLProgressElement(toElement(*m_node)))))) { toElement 208 Source/core/editing/htmlediting.cpp Element* enclosingCell = toElement(enclosingNodeOfType(p, &isTableCell)); toElement 330 Source/core/editing/htmlediting.cpp return enclosingNode && enclosingNode->isElementNode() ? toElement(enclosingNode) : 0; toElement 633 Source/core/editing/htmlediting.cpp return toElement(enclosingNodeOfType(p, isTableCell)); toElement 644 Source/core/editing/htmlediting.cpp return toElement(node); toElement 826 Source/core/editing/htmlediting.cpp return isHTMLSpanElement(node) && toElement(node)->getAttribute(classAttr) == AppleTabSpanClass; toElement 924 Source/core/editing/htmlediting.cpp return toElement(node)->getAttribute("type") == "cite"; toElement 1073 Source/core/editing/htmlediting.cpp const Element* firstElement = toElement(first); toElement 1074 Source/core/editing/htmlediting.cpp const Element* secondElement = toElement(second); toElement 164 Source/core/editing/markup.cpp appendElement(markup, toElement(node), convertBlocksToInlines && isBlock(&node), rangeFullySelectsNode); toElement 594 Source/core/editing/markup.cpp && toElement(fullySelectedRoot)->hasAttribute(backgroundAttr)) toElement 595 Source/core/editing/markup.cpp fullySelectedRootStyle->style()->setProperty(CSSPropertyBackgroundImage, "url('" + toElement(fullySelectedRoot)->getAttribute(backgroundAttr) + "')"); toElement 792 Source/core/editing/markup.cpp Element* element = toElement(node); toElement 850 Source/core/editing/markup.cpp Element* block = toElement(blockNode); toElement 83 Source/core/events/MouseEvent.h Node* toElement() const; toElement 194 Source/core/frame/SmartClip.cpp if (node->isElementNode() && equalIgnoringCase(toElement(node)->fastGetAttribute(HTMLNames::aria_hiddenAttr), "true")) { toElement 105 Source/core/html/HTMLContentElement.cpp Element* element = toElement(siblings[nth]); toElement 87 Source/core/html/HTMLDetailsElement.cpp return toElement(content->firstChild()); toElement 55 Source/core/html/HTMLDialogElement.cpp Element* element = toElement(node); toElement 703 Source/core/html/HTMLElement.cpp || (node->isElementNode() && toElement(node)->isTextFormControl())) { toElement 710 Source/core/html/HTMLElement.cpp AtomicString dirAttributeValue = toElement(node)->fastGetAttribute(dirAttr); toElement 146 Source/core/html/HTMLElement.h inline bool is##thisType(const Node& node) { return node.isElementNode() ? is##thisType(toElement(node)) : false; } \ toElement 147 Source/core/html/HTMLElement.h inline bool is##thisType(const Node* node) { return node && node->isElementNode() ? is##thisType(*toElement(node)) : false; } \ toElement 223 Source/core/html/HTMLFormElement.cpp if (node->isElementNode() && toElement(node)->isFormControlElement()) toElement 118 Source/core/html/HTMLObjectElement.h template<typename T> inline const T& toElement(const FormAssociatedElement&); toElement 119 Source/core/html/HTMLObjectElement.h template<typename T> inline const T* toElement(const FormAssociatedElement*); toElement 122 Source/core/html/HTMLObjectElement.h template<> inline const HTMLObjectElement* toElement<HTMLObjectElement>(const FormAssociatedElement* element) toElement 132 Source/core/html/HTMLObjectElement.h template<> inline const HTMLObjectElement& toElement<HTMLObjectElement>(const FormAssociatedElement& element) toElement 351 Source/core/html/HTMLOptionElement.cpp if (node->isElementNode() && toScriptLoaderIfPossible(toElement(node))) toElement 66 Source/core/html/HTMLSourceElement.cpp parent = toElement(removalRoot); toElement 81 Source/core/html/HTMLSummaryElement.cpp Element* element = toElement(node); toElement 43 Source/core/html/HTMLTableRowsCollection.cpp return row->parentNode() && toElement(row->parentNode())->hasLocalName(theadTag); toElement 48 Source/core/html/HTMLTableRowsCollection.cpp return row->parentNode() && toElement(row->parentNode())->hasLocalName(tbodyTag); toElement 53 Source/core/html/HTMLTableRowsCollection.cpp return row->parentNode() && toElement(row->parentNode())->hasLocalName(tfootTag); toElement 267 Source/core/html/HTMLViewSourceDocument.cpp m_current = toElement(m_current->parentNode()); toElement 264 Source/core/html/forms/FileInputType.cpp if (Element* button = toElement(element().userAgentShadowRoot()->firstChild())) toElement 271 Source/core/html/forms/FileInputType.cpp if (Element* button = toElement(element().userAgentShadowRoot()->firstChild())) toElement 118 Source/core/html/parser/HTMLConstructionSite.cpp Element& child = toElement(*task.child); toElement 277 Source/core/html/parser/HTMLConstructionSite.cpp ASSERT(scriptingContentIsAllowed(m_parserContentPolicy) || !prpChild.get()->isElementNode() || !toScriptLoaderIfPossible(toElement(prpChild.get()))); toElement 202 Source/core/html/parser/HTMLElementStack.cpp toElement(node).finishParsingChildren(); toElement 538 Source/core/html/parser/HTMLElementStack.cpp return toElement(m_rootNode); toElement 61 Source/core/html/parser/HTMLStackItem.h Element* element() const { return toElement(m_node.get()); } toElement 458 Source/core/html/shadow/DateTimeEditElement.cpp return toElement(firstChild()); toElement 502 Source/core/html/shadow/DateTimeEditElement.cpp Element* childElement = toElement(child); toElement 90 Source/core/html/shadow/SliderThumbElement.cpp RenderTheme::theme().adjustSliderThumbSize(style(), toElement(node())); toElement 94 Source/core/html/shadow/SpinButtonElement.h DEFINE_TYPE_CASTS(SpinButtonElement, Node, node, toElement(node)->isSpinButtonElement(), toElement(node).isSpinButtonElement()); toElement 693 Source/core/html/track/vtt/VTTCue.cpp toElement(child)->setIdAttribute(id()); toElement 130 Source/core/inspector/DOMPatchSupport.cpp Element* targetElement = toElement(targetNode); toElement 187 Source/core/inspector/DOMPatchSupport.cpp Element* oldElement = toElement(oldNode); toElement 188 Source/core/inspector/DOMPatchSupport.cpp Element* newElement = toElement(newNode); toElement 430 Source/core/inspector/DOMPatchSupport.cpp Element* element = toElement(node); toElement 1123 Source/core/inspector/InspectorCSSAgent.cpp return toElement(node); toElement 1400 Source/core/inspector/InspectorCSSAgent.cpp Element* element = toElement(m_domAgent->nodeForId(it->key)); toElement 359 Source/core/inspector/InspectorDOMAgent.cpp Element* element = toElement(node); toElement 423 Source/core/inspector/InspectorDOMAgent.cpp return toElement(node); toElement 732 Source/core/inspector/InspectorDOMAgent.cpp Element* parsedElement = fragment->firstChild() && fragment->firstChild()->isElementNode() ? toElement(fragment->firstChild()) : 0; toElement 800 Source/core/inspector/InspectorDOMAgent.cpp newElem->cloneAttributesFromElement(*toElement(oldNode)); toElement 1002 Source/core/inspector/InspectorDOMAgent.cpp const Element* element = toElement(node); toElement 1531 Source/core/inspector/InspectorDOMAgent.cpp Element* element = toElement(node); toElement 1933 Source/core/inspector/InspectorDOMAgent.cpp m_revalidateStyleAttrTask->scheduleFor(toElement(node)); toElement 2010 Source/core/inspector/InspectorDOMAgent.cpp return toElement(node)->shadowRoot(); toElement 2012 Source/core/inspector/InspectorDOMAgent.cpp return toElement(node)->userAgentShadowRoot(); toElement 511 Source/core/inspector/InspectorOverlay.cpp Element* element = toElement(node); toElement 1522 Source/core/inspector/InspectorStyleSheet.cpp Element& ownerElement = toElement(*ownerNode); toElement 171 Source/core/loader/FormSubmission.cpp if (node->isElementNode() && toElement(node)->isFormControlElement()) { toElement 329 Source/core/page/DragController.cpp return toElement(n); toElement 758 Source/core/page/DragController.cpp Element* element = toElement(node); toElement 886 Source/core/page/DragController.cpp Element* element = toElement(node); toElement 1778 Source/core/page/EventHandler.cpp Element* element = target->isElementNode() ? toElement(target) : target->parentElement(); toElement 2067 Source/core/page/EventHandler.cpp element = m_nodeUnderMouse->isElementNode() ? toElement(m_nodeUnderMouse) : m_nodeUnderMouse->parentOrShadowHostElement(); toElement 118 Source/core/page/FocusController.cpp return FocusNavigationScope(toElement(node)->shadow()->youngestShadowRoot()); toElement 181 Source/core/page/FocusController.cpp Element* element = toElement(node); toElement 191 Source/core/page/FocusController.cpp Element* element = toElement(node); toElement 200 Source/core/page/FocusController.cpp Element* element = toElement(node); toElement 219 Source/core/page/FocusController.cpp return (node->isElementNode() && toElement(node)->isKeyboardFocusable()) || isNonFocusableFocusScopeOwner(node); toElement 390 Source/core/page/FocusController.cpp Element* element = toElement(node); toElement 872 Source/core/page/FocusController.cpp Element* element = toElement(focusCandidate.focusableNode); toElement 172 Source/core/page/PageSerializer.cpp if (node.isElementNode() && !shouldIgnoreElement(toElement(node))) toElement 223 Source/core/page/PageSerializer.cpp Element& element = toElement(node); toElement 273 Source/core/page/PrintContext.cpp const AtomicString& href = toElement(node)->getAttribute(HTMLNames::hrefAttr); toElement 75 Source/core/page/TouchAdjustment.cpp Element* element = toElement(node); toElement 59 Source/core/rendering/FastTextAutosizer.cpp toElement(node)->setAttribute("data-autosizing", output, ASSERT_NO_EXCEPTION); toElement 120 Source/core/rendering/FastTextAutosizer.cpp if (parentNode && parentNode->isElementNode() && isFormInput(toElement(parentNode))) toElement 209 Source/core/rendering/FastTextAutosizer.cpp if (node && node->isElementNode() && isFormInput(toElement(node))) toElement 629 Source/core/rendering/FastTextAutosizer.cpp data.m_qualifiedNameHash = QualifiedNameHash::hash(toElement(node)->tagQName()); toElement 89 Source/core/rendering/GraphicsContextAnnotator.cpp Element* element = object->node() && object->node()->isElementNode() ? toElement(object->node()) : 0; toElement 226 Source/core/rendering/HitTestResult.cpp String title = toElement(titleNode)->title(); toElement 292 Source/core/rendering/HitTestResult.cpp urlString = toElement(*m_innerNonSharedNode).imageSourceURL(); toElement 496 Source/core/rendering/HitTestResult.cpp return toElement(node); toElement 528 Source/core/rendering/RenderBlock.cpp RenderObject* cloneRenderer = toElement(node())->createRenderer(style()); toElement 1181 Source/core/rendering/RenderBlock.cpp ASSERT(!needsLayout() || (node() && node()->isElementNode() && toElement(node())->shadowPseudoId() == "-webkit-input-placeholder")); toElement 60 Source/core/rendering/RenderCounter.cpp Element* self = toElement(object.node()); toElement 72 Source/core/rendering/RenderCounter.cpp Element* self = toElement(object.node()); toElement 85 Source/core/rendering/RenderCounter.cpp return toElement(object.node())->parentElement(); toElement 97 Source/core/rendering/RenderCounter.cpp Element* self = toElement(object.node()); toElement 145 Source/core/rendering/RenderDetailsMarker.cpp return !toElement(renderer->node())->getAttribute(openAttr).isNull(); toElement 79 Source/core/rendering/RenderEmbeddedObject.cpp Locale& locale = node ? toElement(node)->locale() : Locale::defaultLocale(); toElement 107 Source/core/rendering/RenderEmbeddedObject.cpp Element* element = toElement(node()); toElement 46 Source/core/rendering/RenderInline.h Element* node() const { return toElement(RenderBoxModelObject::node()); } toElement 58 Source/core/rendering/RenderInputSpeech.cpp Element* element = object->node()->isElementNode() ? toElement(object->node()) : 0; toElement 2756 Source/core/rendering/RenderLayer.cpp result.setURLElement(toElement(node->enclosingLinkEventParentOrSelf())); toElement 2776 Source/core/rendering/RenderLayer.cpp return node && node->isElementNode() && toElement(node)->isInTopLayer(); toElement 4033 Source/core/rendering/RenderLayer.cpp toElement(renderer()->node())->scheduleLayerUpdate(); toElement 111 Source/core/rendering/RenderLayerFilterInfo.cpp toElement(renderer->node())->scheduleLayerUpdate(); toElement 94 Source/core/rendering/RenderLayerScrollableArea.cpp Element* element = toElement(node); toElement 125 Source/core/rendering/RenderLayerScrollableArea.cpp toElement(node)->setSavedLayerScrollOffset(m_scrollOffset); toElement 1317 Source/core/rendering/RenderLayerScrollableArea.cpp Element* element = toElement(m_box->node()); toElement 232 Source/core/rendering/RenderLayerStackingNode.cpp Element* childElement = (child->node() && child->node()->isElementNode()) ? toElement(child->node()) : 0; toElement 351 Source/core/rendering/RenderMenuList.cpp Document& doc = toElement(node())->document(); toElement 1162 Source/core/rendering/RenderObject.cpp const AtomicString& href = toElement(n)->getAttribute(hrefAttr); toElement 2787 Source/core/rendering/RenderObject.cpp if (node()->isElementNode() && toElement(node())->childrenAffectedByDrag()) toElement 2985 Source/core/rendering/RenderObject.cpp Element* element = toElement(n); toElement 3199 Source/core/rendering/RenderObject.cpp return node && node->isElementNode() ? toElement(node) : 0; toElement 91 Source/core/rendering/RenderSlider.cpp return toSliderThumbElement(toElement(node())->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())); toElement 156 Source/core/rendering/RenderTableCell.cpp const AtomicString& nowrap = toElement(node())->getAttribute(nowrapAttr); toElement 60 Source/core/rendering/RenderTextControl.cpp if (node && node->isElementNode() && toElement(node)->shadowPseudoId() == "-webkit-input-placeholder") toElement 730 Source/core/rendering/RenderTheme.cpp return !toElement(node)->isDisabledFormControl(); toElement 756 Source/core/rendering/RenderTheme.cpp || !toElement(node)->isSpinButtonElement()) toElement 767 Source/core/rendering/RenderTheme.cpp return toElement(node)->matchesReadOnlyPseudoClass(); toElement 775 Source/core/rendering/RenderTheme.cpp if (!node->isElementNode() || !toElement(node)->isSpinButtonElement()) toElement 784 Source/core/rendering/RenderTheme.cpp if (!node || !node->isElementNode() || !toElement(node)->isSpinButtonElement()) toElement 353 Source/core/rendering/RenderTreeAsText.cpp ts << " id=\"" + toElement(node)->getIdAttribute() + "\""; toElement 357 Source/core/rendering/RenderTreeAsText.cpp Element* element = toElement(node); toElement 62 Source/core/rendering/RenderWidget.cpp Element* element = toElement(node()); toElement 84 Source/core/rendering/RenderWidget.cpp Element* element = toElement(node()); toElement 77 Source/core/rendering/TextAutosizer.cpp toElement(node)->setAttribute("data-autosizing", output, ASSERT_NO_EXCEPTION); toElement 131 Source/core/rendering/TextAutosizer.cpp podForHash.qualifiedNameHash = QualifiedNameHash::hash(toElement(generatingElementNode)->tagQName()); toElement 517 Source/core/rendering/TextAutosizer.cpp if (parentNode && parentNode->isElementNode() && formInputTags().contains(toElement(parentNode)->tagQName())) toElement 632 Source/core/rendering/TextAutosizer.cpp if (tags.contains(toElement(rendererNode)->tagQName())) toElement 136 Source/core/rendering/svg/ReferenceFilterBuilder.cpp document->accessSVGExtensions().addPendingResource(filterOperation->fragment(), toElement(renderer->node())); toElement 495 Source/core/rendering/svg/SVGRenderTreeAsText.cpp Element* element = toElement(object.node()); toElement 194 Source/core/rendering/svg/SVGResourcesCache.cpp Element* clientElement = toElement(it->key->node()); toElement 200 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp if (Element* parentRenderObjectElement = toElement(parentRenderObject->node())) { toElement 183 Source/core/svg/SVGFontData.cpp if (Element* parentRenderObjectElement = toElement(parentRenderObject->node())) { toElement 305 Source/core/svg/SVGUseElement.cpp Element* element = toElement(node); toElement 746 Source/core/svg/SVGUseElement.cpp svgElement->cloneDataFromElement(*toElement(element)); toElement 231 Source/core/svg/animation/SVGSMILElement.cpp target = parentNode() && parentNode()->isElementNode() ? toElement(parentNode()) : 0; toElement 380 Source/core/xml/XPathFunctions.cpp prefix = toElement(node)->prefix(); toElement 604 Source/core/xml/XPathFunctions.cpp Element* element = toElement(node); toElement 216 Source/core/xml/XPathNodeSet.cpp Element* element = toElement(n); toElement 203 Source/core/xml/XPathStep.cpp return equalIgnoringCase(toElement(node)->localName(), name) && (namespaceURI.isNull() || namespaceURI == node->namespaceURI()); toElement 206 Source/core/xml/XPathStep.cpp return toElement(node)->hasLocalName(name) && namespaceURI == node->namespaceURI() && !namespaceURI.isNull(); toElement 208 Source/core/xml/XPathStep.cpp return toElement(node)->hasLocalName(name) && namespaceURI == node->namespaceURI(); toElement 338 Source/core/xml/XPathStep.cpp Element* contextElement = toElement(context); toElement 790 Source/core/xml/parser/XMLDocumentParser.cpp parentElement = toElement(n); toElement 1002 Source/core/xml/parser/XMLDocumentParser.cpp toElement(n.get())->finishParsingChildren(); toElement 1004 Source/core/xml/parser/XMLDocumentParser.cpp if (!scriptingContentIsAllowed(parserContentPolicy()) && n->isElementNode() && toScriptLoaderIfPossible(toElement(n))) { toElement 1015 Source/core/xml/parser/XMLDocumentParser.cpp Element* element = toElement(n); toElement 209 Source/web/ChromeClientImpl.cpp hitTest.setURLElement(toElement(node)); toElement 187 Source/web/WebElement.cpp return toElement(m_private.get()); toElement 1828 Source/web/WebFrameImpl.cpp Element* element = toElement(node); toElement 1845 Source/web/WebFrameImpl.cpp Element* element = toElement(node); toElement 159 Source/web/WebNode.cpp return toElement(m_private.get())->isFocusable(); toElement 404 Source/web/WebPageSerializerImpl.cpp openTagToString(toElement(node), param); toElement 409 Source/web/WebPageSerializerImpl.cpp endTagToString(toElement(node), param); toElement 155 Source/web/tests/TouchActionTest.cpp WebCore::ShadowRoot* shadowRoot = WebCore::toElement(hostNodes->item(index))->shadowRoot(); toElement 190 Source/web/tests/TouchActionTest.cpp WebCore::Element* element = toElement(nodes->item(index));