Home | History | Annotate | Download | only in dom

Lines Matching refs:newId

981         AtomicString newId = makeIdForStyleResolution(newValue, document().inQuirksMode());
982 if (newId != oldId) {
983 elementData()->setIdForStyleResolution(newId);
985 styleResolver->ensureUpdatedRuleFeatureSet().scheduleStyleInvalidationForIdChange(oldId, newId, *this);
1078 AtomicString newId = makeIdForStyleResolution(newValue, document().inQuirksMode());
1079 if (newId != oldId) {
1082 if (!newId.isEmpty() && featureSet.hasSelectorForId(newId))
2775 inline void Element::updateId(const AtomicString& oldId, const AtomicString& newId)
2780 if (oldId == newId)
2783 updateId(treeScope(), oldId, newId);
2786 inline void Element::updateId(TreeScope& scope, const AtomicString& oldId, const AtomicString& newId)
2789 ASSERT(oldId != newId);
2793 if (!newId.isEmpty())
2794 scope.addElementById(newId, this);
2797 updateExtraNamedItemRegistration(oldId, newId);
2920 void Element::updateExtraNamedItemRegistration(const AtomicString& oldId, const AtomicString& newId)
2928 if (!newId.isEmpty())
2929 toHTMLDocument(document()).addExtraNamedItem(newId);
3052 const AtomicString& newID = other.getIdAttribute();
3054 if (!oldID.isNull() || !newID.isNull())
3055 updateId(oldID, newID);