Lines Matching refs:attr
86 void HTMLEmbedElement::parseMappedAttribute(MappedAttribute* attr)
88 const AtomicString& value = attr->value();
90 if (attr->name() == typeAttr) {
97 } else if (attr->name() == codeAttr)
99 else if (attr->name() == srcAttr) {
106 } else if (attr->name() == hiddenAttr) {
110 addCSSLength(attr, CSSPropertyWidth, "0");
111 addCSSLength(attr, CSSPropertyHeight, "0");
113 } else if (attr->name() == nameAttr) {
121 HTMLPlugInElement::parseMappedAttribute(attr);
215 void HTMLEmbedElement::attributeChanged(Attribute* attr, bool preserveDecls)
217 HTMLPlugInElement::attributeChanged(attr, preserveDecls);
219 if ((attr->name() == widthAttr || attr->name() == heightAttr) && !attr->isEmpty()) {
224 static_cast<HTMLObjectElement*>(n)->setAttribute(attr->name(), attr->value());
228 bool HTMLEmbedElement::isURLAttribute(Attribute* attr) const
230 return attr->name() == srcAttr;