Home | History | Annotate | Download | only in dom

Lines Matching refs:attr

33 #include "Attr.h"
180 Attribute* attr = attrMap->attributeItem(i);
181 if (attr->attr())
183 if (attr->isMappedAttribute()) {
185 if (attr->style())
270 printf(" Number of Attributes with an Attr: %zu\n", attributesWithAttr);
1059 // Element::setPrefix() and Attr::setPrefix()
1076 // Attribute-specific checks are in Attr::setPrefix().
1793 Attribute* attr = attrs->attributeItem(i);
1795 if (attr->localName() == xmlnsAtom)
1796 return attr->value() == namespaceURI;
1815 const Attr* attr = static_cast<const Attr*>(this);
1816 if (attr->ownerElement())
1817 return attr->ownerElement()->isDefaultNamespace(namespaceURI);
1848 const Attr *attr = static_cast<const Attr *>(this);
1849 if (attr->ownerElement())
1850 return attr->ownerElement()->lookupPrefix(namespaceURI);
1879 Attribute *attr = attrs->attributeItem(i);
1881 if (attr->prefix() == xmlnsAtom && attr->localName() == prefix) {
1882 if (!attr->value().isEmpty())
1883 return attr->value();
1886 } else if (attr->localName() == xmlnsAtom && prefix.isNull()) {
1887 if (!attr->value().isEmpty())
1888 return attr->value();
1908 const Attr *attr = static_cast<const Attr *>(this);
1910 if (attr->ownerElement())
1911 return attr->ownerElement()->lookupNamespaceURI(prefix);
1934 Attribute *attr = attrs->attributeItem(i);
1936 if (attr->prefix() == xmlnsAtom &&
1937 attr->value() == _namespaceURI &&
1938 originalElement->lookupNamespaceURI(attr->localName()) == _namespaceURI)
1939 return attr->localName();
2051 Attr* attr1 = nodeType() == ATTRIBUTE_NODE ? static_cast<Attr*>(this) : 0;
2052 Attr* attr2 = otherNode->nodeType() == ATTRIBUTE_NODE ? static_cast<Attr*>(otherNode) : 0;
2080 Attribute* attr = map->attributeItem(i);
2081 if (attr1->attr() == attr)
2083 if (attr2->attr() == attr)
2093 // comparing Attr nodes here, since they return false from inDocument() all the time (which seems like a bug).
2174 String attr = static_cast<const Element*>(node)->getAttribute(name);
2175 if (!attr.isEmpty()) {
2177 string += attr;