Lines Matching refs:currentElement
569 ASSERT(m_tree.currentElement()->hasTagName(formTag));
570 m_tree.currentElement()->setAttribute(actionAttr, actionAttribute->value());
1130 bool shouldProcessForeignContentUsingInBodyInsertionMode(AtomicHTMLToken& token, ContainerNode* currentElement)
1133 if (currentElement->hasTagName(MathMLNames::miTag)
1134 || currentElement->hasTagName(MathMLNames::moTag)
1135 || currentElement->hasTagName(MathMLNames::mnTag)
1136 || currentElement->hasTagName(MathMLNames::msTag)
1137 || currentElement->hasTagName(MathMLNames::mtextTag)) {
1141 if (currentElement->hasTagName(MathMLNames::annotation_xmlTag))
1143 if (currentElement->hasTagName(SVGNames::foreignObjectTag)
1144 || currentElement->hasTagName(SVGNames::descTag)
1145 || currentElement->hasTagName(SVGNames::titleTag))
1147 return isInHTMLNamespace(currentElement);
1290 ASSERT(isTableBodyContextTag(m_tree.currentElement()->localName()));
1291 processFakeEndTag(m_tree.currentElement()->tagQName());
1523 const AtomicString& currentNamespace = m_tree.currentElement()->namespaceURI();
1623 if (formattingElement != m_tree.currentElement())
1791 ASSERT(isTableBodyContextTag(m_tree.currentElement()->localName()));
1792 processFakeEndTag(m_tree.currentElement()->tagQName());
1934 if (m_tree.currentElement() != node.get())
2020 // FIXME: parse error if (!m_tree.currentElement()->hasTagName(captionTag))
2035 ASSERT(m_tree.currentElement()->hasTagName(trTag));
2203 ASSERT(m_tree.currentElement()->hasTagName(noscriptTag));
2205 ASSERT(m_tree.currentElement()->hasTagName(headTag));
2220 ASSERT(m_tree.currentElement()->hasTagName(scriptTag));
2221 m_scriptToProcess = m_tree.currentElement();
2247 if (!isParsingFragment() && !m_tree.currentElement()->hasTagName(framesetTag))