Lines Matching refs:attr
193 void SVGElement::parseMappedAttribute(MappedAttribute* attr)
196 if (attr->name() == onloadAttr)
197 setAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(this, attr));
198 else if (attr->name() == onclickAttr)
199 setAttributeEventListener(eventNames().clickEvent, createAttributeEventListener(this, attr));
200 else if (attr->name() == onmousedownAttr)
201 setAttributeEventListener(eventNames().mousedownEvent, createAttributeEventListener(this, attr));
202 else if (attr->name() == onmousemoveAttr)
203 setAttributeEventListener(eventNames().mousemoveEvent, createAttributeEventListener(this, attr));
204 else if (attr->name() == onmouseoutAttr)
205 setAttributeEventListener(eventNames().mouseoutEvent, createAttributeEventListener(this, attr));
206 else if (attr->name() == onmouseoverAttr)
207 setAttributeEventListener(eventNames().mouseoverEvent, createAttributeEventListener(this, attr));
208 else if (attr->name() == onmouseupAttr)
209 setAttributeEventListener(eventNames().mouseupEvent, createAttributeEventListener(this, attr));
210 else if (attr->name() == SVGNames::onfocusinAttr)
211 setAttributeEventListener(eventNames().DOMFocusInEvent, createAttributeEventListener(this, attr));
212 else if (attr->name() == SVGNames::onfocusoutAttr)
213 setAttributeEventListener(eventNames().DOMFocusOutEvent, createAttributeEventListener(this, attr));
214 else if (attr->name() == SVGNames::onactivateAttr)
215 setAttributeEventListener(eventNames().DOMActivateEvent, createAttributeEventListener(this, attr));
217 StyledElement::parseMappedAttribute(attr);
300 void SVGElement::attributeChanged(Attribute* attr, bool preserveDecls)
302 ASSERT(attr);
303 if (!attr)
306 StyledElement::attributeChanged(attr, preserveDecls);
307 svgAttributeChanged(attr->name());