Home | History | Annotate | Download | only in editing

Lines Matching refs:Element

205 Element* editableRootForPosition(const Position& p)
217 // Finds the enclosing element until which the tree can be split.
218 // When a user hits ENTER, he/she won't expect this element to be split into two.
220 Element* unsplittableElementForPosition(const Position& p)
224 Element* enclosingCell = static_cast<Element*>(enclosingNodeOfType(p, &isTableCell, true));
332 return static_cast<Element*>(enclosingNodeOfType(Position(node, 0), isBlock));
720 return static_cast<Element*>(enclosingNodeOfType(p, isTableCell));
755 // Check for a list item element, or for a node whose parent is a list element. Such a node
824 bool canMergeLists(Element* firstList, Element* secondList)
906 return node && node->hasTagName(spanTag) && node->isElementNode() && static_cast<const Element *>(node)->getAttribute(classAttr) == AppleTabSpanClass;
926 return ancestor->isElementNode() && static_cast<Element*>(ancestor)->isTextFormControl();
940 PassRefPtr<Element> createTabSpanElement(Document* document, PassRefPtr<Node> tabTextNode)
943 RefPtr<Element> spanElement = document->createElement(spanTag, false);
958 PassRefPtr<Element> createTabSpanElement(Document* document, const String& tabText)
963 PassRefPtr<Element> createTabSpanElement(Document* document)
1004 return static_cast<const Element *>(node)->getAttribute("type") == "cite";