Home | History | Annotate | Download | only in svg

Lines Matching refs:attr

220 void SVGSVGElement::parseMappedAttribute(MappedAttribute* attr)
226 if (attr->name() == onunloadAttr)
227 document()->setWindowAttributeEventListener(eventNames().unloadEvent, createAttributeEventListener(document()->frame(), attr));
228 else if (attr->name() == onresizeAttr)
229 document()->setWindowAttributeEventListener(eventNames().resizeEvent, createAttributeEventListener(document()->frame(), attr));
230 else if (attr->name() == onscrollAttr)
231 document()->setWindowAttributeEventListener(eventNames().scrollEvent, createAttributeEventListener(document()->frame(), attr));
232 else if (attr->name() == SVGNames::onzoomAttr)
233 document()->setWindowAttributeEventListener(eventNames().zoomEvent, createAttributeEventListener(document()->frame(), attr));
241 if (attr->name() == onabortAttr)
242 document()->setWindowAttributeEventListener(eventNames().abortEvent, createAttributeEventListener(document()->frame(), attr));
243 else if (attr->name() == onerrorAttr)
244 document()->setWindowAttributeEventListener(eventNames().errorEvent, createAttributeEventListener(document()->frame(), attr));
245 else if (attr->name() == SVGNames::xAttr)
246 setXBaseValue(SVGLength(LengthModeWidth, attr->value()));
247 else if (attr->name() == SVGNames::yAttr)
248 setYBaseValue(SVGLength(LengthModeHeight, attr->value()));
249 else if (attr->name() == SVGNames::widthAttr) {
250 setWidthBaseValue(SVGLength(LengthModeWidth, attr->value()));
251 addCSSProperty(attr, CSSPropertyWidth, attr->value());
254 } else if (attr->name() == SVGNames::heightAttr) {
255 setHeightBaseValue(SVGLength(LengthModeHeight, attr->value()));
256 addCSSProperty(attr, CSSPropertyHeight, attr->value());
260 if (SVGTests::parseMappedAttribute(attr))
262 if (SVGLangSpace::parseMappedAttribute(attr))
264 if (SVGExternalResourcesRequired::parseMappedAttribute(attr))
266 if (SVGFitToViewBox::parseMappedAttribute(document(), attr))
268 if (SVGZoomAndPan::parseMappedAttribute(attr))
271 SVGStyledLocatableElement::parseMappedAttribute(attr);