Home | History | Annotate | Download | only in dom

Lines Matching refs:Attr

24 #include "core/dom/Attr.h"
40 Attr::Attr(Element& element, const QualifiedName& name)
49 Attr::Attr(Document& document, const QualifiedName& name, const AtomicString& standaloneValue)
59 PassRefPtrWillBeRawPtr<Attr> Attr::create(Element& element, const QualifiedName& name)
61 RefPtrWillBeRawPtr<Attr> attr = adoptRefWillBeNoop(new Attr(element, name));
62 attr->createTextChild();
63 return attr.release();
66 PassRefPtrWillBeRawPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value)
68 RefPtrWillBeRawPtr<Attr> attr = adoptRefWillBeNoop(new Attr(document, name, value));
69 attr->createTextChild();
70 return attr.release();
73 Attr::~Attr()
77 const QualifiedName Attr::qualifiedName() const
90 void Attr::createTextChild()
107 void Attr::setValue(const AtomicString& value)
123 void Attr::setValueInternal(const AtomicString& value)
134 const AtomicString& Attr::valueForBindings() const
140 void Attr::setValueForBindings(const AtomicString& value)
148 void Attr::setNodeValue(const String& v)
150 // Attr uses AtomicString type for its value to save memory as there
155 PassRefPtrWillBeRawPtr<Node> Attr::cloneNode(bool /*deep*/)
157 RefPtrWillBeRawPtr<Attr> clone = adoptRefWillBeNoop(new Attr(document(), m_name, value()));
163 bool Attr::childTypeAllowed(NodeType type) const
168 void Attr::childrenChanged(bool, Node*, Node*, int)
195 const AtomicString& Attr::value() const
202 Attribute& Attr::elementAttribute()
209 void Attr::detachFromElementWithValue(const AtomicString& value)
216 void Attr::attachToElement(Element* element, const AtomicString& attachedLocalName)
223 void Attr::trace(Visitor* visitor)