Home | History | Annotate | Download | only in svg

Lines Matching refs:attr

56 void SVGImageElement::parseMappedAttribute(MappedAttribute *attr)
58 if (attr->name() == SVGNames::xAttr)
59 setXBaseValue(SVGLength(LengthModeWidth, attr->value()));
60 else if (attr->name() == SVGNames::yAttr)
61 setYBaseValue(SVGLength(LengthModeHeight, attr->value()));
62 else if (attr->name() == SVGNames::preserveAspectRatioAttr)
63 SVGPreserveAspectRatio::parsePreserveAspectRatio(this, attr->value());
64 else if (attr->name() == SVGNames::widthAttr) {
65 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value()));
66 addCSSProperty(attr, CSSPropertyWidth, attr->value());
69 } else if (attr->name() == SVGNames::heightAttr) {
70 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value()));
71 addCSSProperty(attr, CSSPropertyHeight, attr->value());
75 if (SVGTests::parseMappedAttribute(attr))
77 if (SVGLangSpace::parseMappedAttribute(attr))
79 if (SVGExternalResourcesRequired::parseMappedAttribute(attr))
81 if (SVGURIReference::parseMappedAttribute(attr))
83 SVGStyledTransformableElement::parseMappedAttribute(attr);