Home | History | Annotate | Download | only in parser

Lines Matching refs:newItem

82 void HTMLFormattingElementList::swapTo(Element* oldElement, PassRefPtrWillBeRawPtr<HTMLStackItem> newItem, const Bookmark& bookmark)
85 ASSERT(!contains(newItem->element()));
88 bookmark.mark()->replaceElement(newItem);
93 m_entries.insert(index + 1, newItem);
126 void HTMLFormattingElementList::tryToEnsureNoahsArkConditionQuickly(HTMLStackItem* newItem, WillBeHeapVector<RawPtrWillBeMember<HTMLStackItem> >& remainingCandidates)
137 size_t newItemAttributeCount = newItem->attributes().size();
147 if (newItem->localName() != candidate->localName() || newItem->namespaceURI() != candidate->namespaceURI())
161 void HTMLFormattingElementList::ensureNoahsArkCondition(HTMLStackItem* newItem)
164 tryToEnsureNoahsArkConditionQuickly(newItem, candidates);
173 const Vector<Attribute>& attributes = newItem->attributes();
181 ASSERT(newItem->attributes().size() == candidate->attributes().size());
182 ASSERT(newItem->localName() == candidate->localName() && newItem->namespaceURI() == candidate->namespaceURI());