Home | History | Annotate | Download | only in html

Lines Matching refs:m_current

131     , m_current(doc)
150 , m_current(frag)
173 m_current->deref();
206 m_current->deref();
207 m_current = newCurrent;
236 else if (m_current->localName() == t->tagName)
257 if (t->tagName == textAtom && t->text && m_current->localName() != scriptTag) {
258 if (m_inBody && !skipMode() && m_current->localName() != styleTag &&
259 m_current->localName() != titleTag && !t->text->containsOnlyWhitespace())
324 if (m_document->doctype() || m_isParsingFragment || m_current != m_document)
363 if (m_parserQuirks && !m_parserQuirks->shouldInsertNode(m_current, n))
370 Node* newNode = m_current->addChild(n);
375 bool parentAttached = m_current->attached();
377 if (newNode == m_current) {
380 reportError(FormInsideTablePartError, &m_current->localName());
392 m_current = newNode;
419 if (m_inStrayTableContent && !isTableRelated(m_current)) {
420 reportError(MisplacedTablePartError, &localName, &m_current->localName());
422 while (m_blockStack && !isTableRelated(m_current))
427 if (!m_current->isDocumentNode() && !m_current->hasTagName(htmlTag)) {
439 reportError(MisplacedHeadContentError, &localName, &m_current->localName());
448 if (!m_current->isDocumentNode() ) {
478 reportError(MisplacedHeadContentError, &localName, &m_current->localName());
507 else if (!m_current->isDocumentNode())
511 reportError(MisplacedAreaError, &m_current->localName());
520 if (isTableRelated(m_current)) {
521 while (m_blockStack && isTablePart(m_current))
530 if (m_current->isHTMLElement()) {
531 HTMLElement* h = static_cast<HTMLElement*>(m_current);
601 Node* node = m_current;
641 if (m_current->hasTagName(trTag)) {
644 } else if (m_current->hasTagName(tableTag)) {
684 if (isInline(m_current)) {
689 } else if (m_current->isDocumentNode()) {
705 reportError(IgnoredContentError, &localName, &m_current->localName());
728 if (!m_head || m_current->localName() == htmlTag) {
765 if ((m_haveContent || m_haveFrameSet) && m_current->localName() == htmlTag)
1164 Node* blockElem = prevMaxElem ? prevMaxElem->node : m_current;
1370 m_current->appendChild(newNode, ec);
1399 m_blockStack = new HTMLStackElem(tagName, level, m_current, m_didRefCurrent, m_blockStack);
1456 Node* curr = m_current;
1504 if (m_current && elem->node != m_current)
1505 m_current->finishParsingChildren();
1512 m_current = elem->node;
1529 Node* lastCurrent = m_current;
1544 Node* lastCurrent = m_current;
1553 // it into the m_current/m_didRefCurrent fields.
1577 while (m_blockStack && isInline(m_current))
1653 if (m_current && m_current->isDocumentNode() && !m_document->documentElement())