Home | History | Annotate | Download | only in dom

Lines Matching refs:elementData

285     ASSERT(elementData());
286 const Attribute& attribute = elementData()->attributes().at(index);
300 ASSERT(elementData());
302 const Attribute& attribute = elementData()->attributes().at(index);
310 if (!elementData())
313 size_t index = elementData()->attributes().findIndex(name);
374 if (!elementData())
379 if (elementData()->m_styleAttributeIsDirty) {
383 if (elementData()->m_animatedSVGAttributesAreDirty) {
391 if (!elementData())
393 if (UNLIKELY(name == styleAttr && elementData()->m_styleAttributeIsDirty)) {
398 if (UNLIKELY(elementData()->m_animatedSVGAttributesAreDirty)) {
410 if (!elementData())
412 if (elementData()->m_styleAttributeIsDirty && equalPossiblyIgnoringCase(localName, styleAttr.localName(), shouldIgnoreAttributeCase())) {
417 if (elementData()->m_animatedSVGAttributesAreDirty) {
435 if (!elementData())
438 if (const Attribute* attribute = elementData()->attributes().find(name))
857 if (!elementData())
860 if (const Attribute* attribute = elementData()->attributes().find(localName, shouldIgnoreAttributeCase()))
880 if (!elementData()) {
885 AttributeCollection attributes = elementData()->attributes();
894 size_t index = elementData() ? elementData()->attributes().findIndex(name) : kNotFound;
900 size_t index = elementData() ? elementData()->attributes().findIndex(name) : kNotFound;
917 const Attribute& existingAttribute = elementData()->attributes().at(index);
925 // will write into the ElementData.
961 elementData()->m_presentationAttributeStyleIsDirty = true;
966 AtomicString oldId = elementData()->idForStyleResolution();
969 elementData()->setIdForStyleResolution(newId);
1038 ASSERT(elementData());
1041 const SpaceSplitString oldClasses = elementData()->classNames();
1042 elementData()->setClass(newClassString, shouldFoldCase);
1043 const SpaceSplitString& newClasses = elementData()->classNames();
1047 const SpaceSplitString& oldClasses = elementData()->classNames();
1050 elementData()->clearClass();
1063 AtomicString oldId = elementData()->idForStyleResolution();
1077 const SpaceSplitString& oldClasses = elementData()->classNames();
1082 const SpaceSplitString& oldClasses = elementData()->classNames();
1146 if (elementData() == other->elementData())
1148 if (elementData())
1149 return elementData()->isEquivalent(other->elementData());
1150 if (other->elementData())
1151 return other->elementData()->isEquivalent(elementData());
1821 const UniqueElementData& elementData = ensureUniqueElementData();
1823 AttributeCollection attributes = elementData.attributes();
1829 // If the name of the ElementData attribute doesn't
1876 size_t index = elementData()->attributes().findIndex(attr);
1964 if (!elementData())
1968 size_t index = elementData()->attributes().findIndex(localName, false);
1970 if (UNLIKELY(localName == styleAttr) && elementData()->m_styleAttributeIsDirty && isStyledElement())
1985 if (!elementData())
1988 const Attribute* attribute = elementData()->attributes().find(localName, shouldIgnoreAttributeCase());
1996 if (!elementData())
2000 const Attribute* attribute = elementData()->attributes().find(qName);
2008 if (!elementData())
2011 return elementData()->attributes().findIndex(shouldIgnoreAttributeCase() ? localName.lower() : localName, false) != kNotFound;
2016 if (!elementData())
2020 return elementData()->attributes().find(qName);
2440 if (const ElementData* elementData = toElement(n)->elementData()) {
2441 AttributeCollection attributes = elementData->attributes();
2583 if (elementData()) {
2594 if (elementData()) {
2834 // to pick up the new casing in the ElementData.
2928 AttributeCollection attributes = elementData()->attributes();
2978 // Quirks mode makes class and id not case sensitive. We can't share the ElementData
2984 // If 'other' has a mutable ElementData, convert it to an immutable one so we can share it between both elements.
3031 ASSERT(elementData());
3032 ASSERT(elementData()->m_styleAttributeIsDirty);
3033 elementData()->m_styleAttributeIsDirty = false;
3069 RefPtrWillBeMember<StylePropertySet>& inlineStyle = elementData()->m_inlineStyle;
3072 if (inlineStyle && !elementData()->isUnique())
3101 elementData()->m_styleAttributeIsDirty = false;
3111 ASSERT(elementData());
3112 elementData()->m_styleAttributeIsDirty = true;
3165 UniqueElementData& elementData = ensureUniqueElementData();
3166 elementData.m_presentationAttributeStyleIsDirty = false;
3167 elementData.m_presentationAttributeStyle = computePresentationAttributeStyle(*this);