Lines Matching refs:attr
72 void SVGPatternElement::parseMappedAttribute(MappedAttribute* attr)
74 if (attr->name() == SVGNames::patternUnitsAttr) {
75 if (attr->value() == "userSpaceOnUse")
77 else if (attr->value() == "objectBoundingBox")
79 } else if (attr->name() == SVGNames::patternContentUnitsAttr) {
80 if (attr->value() == "userSpaceOnUse")
82 else if (attr->value() == "objectBoundingBox")
84 } else if (attr->name() == SVGNames::patternTransformAttr) {
86 if (!SVGTransformable::parseTransformAttribute(patternTransforms, attr->value())) {
90 } else if (attr->name() == SVGNames::xAttr)
91 setXBaseValue(SVGLength(LengthModeWidth, attr->value()));
92 else if (attr->name() == SVGNames::yAttr)
93 setYBaseValue(SVGLength(LengthModeHeight, attr->value()));
94 else if (attr->name() == SVGNames::widthAttr) {
95 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value()));
98 } else if (attr->name() == SVGNames::heightAttr) {
99 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value()));
103 if (SVGURIReference::parseMappedAttribute(attr))
105 if (SVGTests::parseMappedAttribute(attr))
107 if (SVGLangSpace::parseMappedAttribute(attr))
109 if (SVGExternalResourcesRequired::parseMappedAttribute(attr))
111 if (SVGFitToViewBox::parseMappedAttribute(document(), attr))
114 SVGStyledElement::parseMappedAttribute(attr);