Home | History | Annotate | Download | only in dom

Lines Matching refs:m_element

48             attr->m_element = 0;
64 Attribute* a = getAttributeItem(name, shouldIgnoreAttributeCase(m_element));
68 return a->createAttrIfNeeded(m_element);
78 Attribute* a = getAttributeItem(name, shouldIgnoreAttributeCase(m_element));
98 return a->createAttrIfNeeded(m_element);
103 if (!m_element || !arg) {
109 if (arg->document() != m_element->document()) {
134 m_element->updateId(old ? old->value() : nullAtom, a->value());
139 r = old->createAttrIfNeeded(m_element);
158 RefPtr<Attr> r = a->createAttrIfNeeded(m_element);
161 m_element->updateId(a->value(), nullAtom);
172 return m_attributes[index]->createAttrIfNeeded(m_element);
208 m_element = 0;
215 if (!m_element)
220 Attribute* oldId = getAttributeItem(m_element->idAttributeName());
221 Attribute* newId = other.getAttributeItem(m_element->idAttributeName());
224 m_element->updateId(oldId ? oldId->value() : nullAtom, newId ? newId->value() : nullAtom);
237 m_element->attributeChanged(m_attributes[i].get(), true);
248 attr->m_element = m_element;
252 if (m_element) {
253 m_element->attributeChanged(attribute.get());
256 m_element->dispatchAttrAdditionEvent(attribute.get());
257 m_element->dispatchSubtreeModifiedEvent();
279 a->m_element = 0;
285 if (m_element && !attr->m_value.isNull()) {
288 m_element->attributeChanged(attr.get());
291 if (m_element) {
292 m_element->dispatchAttrRemovalEvent(attr.get());
293 m_element->dispatchSubtreeModifiedEvent();