Lines Matching refs:Element
40 #include "Element.h"
97 static_cast<const Element *>(node)->getAttribute(classAttr) == interchangeNewlineClassString;
121 Element* editableRoot = selection.rootEditableElement();
228 // Copy the whitespace and user-select style from the context onto this element.
387 return node && node->hasTagName(blockquoteTag) && node->isElementNode() && static_cast<const Element*>(node)->getAttribute(classAttr) == ApplePasteAsQuotation;
431 return a && b && a->isElementNode() && b->isElementNode() && static_cast<Element*>(a)->tagName() == static_cast<Element*>(b)->tagName();
495 // We don't have to make sure that m_firstNodeInserted isn't inside a select or script element, because
515 removeNodeAttribute(static_cast<Element*>(node), classAttr);
557 if (styleText == static_cast<Element*>(sourceDocumentStyleSpan)->getAttribute(styleAttr)) {
563 if (isStyleSpan(copiedRangeStyleSpan.get()) && styleText == static_cast<Element*>(copiedRangeStyleSpan.get())->getAttribute(styleAttr)) {
627 // currently from affecting blocks later if the style is cloned for a new block element during a future
644 setNodeAttribute(static_cast<Element*>(sourceDocumentStyleSpan), styleAttr, sourceDocumentStyle->cssText());
673 setNodeAttribute(static_cast<Element*>(copiedRangeStyleSpan), styleAttr, copiedRangeStyle->cssText());
734 Element* currentRoot = selection.rootEditableElement();
972 // Use a default paragraph element (a plain div) for the empty paragraph, using the last paragraph