Home | History | Annotate | Download | only in dom

Lines Matching refs:Attribute

25 #include "Attribute.h"
34 typedef HashMap<Attribute*, Attr*> AttributeAttrMap;
41 PassRefPtr<Attribute> Attribute::clone() const
43 return adoptRef(new Attribute(m_name, m_value, m_isMappedAttribute, m_styleDecl.get()));
46 Attr* Attribute::attr() const
49 ASSERT(attributeAttrMap().contains(const_cast<Attribute*>(this)));
50 return attributeAttrMap().get(const_cast<Attribute*>(this));
53 ASSERT(!attributeAttrMap().contains(const_cast<Attribute*>(this)));
57 PassRefPtr<Attr> Attribute::createAttrIfNeeded(Element* e)
65 r = Attr::create(e, e->document(), this); // This will end up calling Attribute::bindAttr.
72 void Attribute::bindAttr(Attr* attr)
80 void Attribute::unbindAttr(Attr* attr)