Home | History | Annotate | Download | only in html

Lines Matching refs:attr

112 void HTMLFrameElementBase::parseMappedAttribute(MappedAttribute *attr)
114 if (attr->name() == srcAttr)
115 setLocation(deprecatedParseURL(attr->value()));
116 else if (attr->name() == idAttributeName()) {
118 HTMLFrameOwnerElement::parseMappedAttribute(attr);
119 m_frameName = attr->value();
120 } else if (attr->name() == nameAttr) {
121 m_frameName = attr->value();
125 } else if (attr->name() == marginwidthAttr) {
126 m_marginWidth = attr->value().toInt();
128 } else if (attr->name() == marginheightAttr) {
129 m_marginHeight = attr->value().toInt();
131 } else if (attr->name() == scrollingAttr) {
133 if (equalIgnoringCase(attr->value(), "auto") || equalIgnoringCase(attr->value(), "yes"))
135 else if (equalIgnoringCase(attr->value(), "no"))
138 } else if (attr->name() == viewsourceAttr) {
139 m_viewSource = !attr->isNull();
142 } else if (attr->name() == onloadAttr)
143 setAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(this, attr));
144 else if (attr->name() == onbeforeloadAttr)
145 setAttributeEventListener(eventNames().beforeloadEvent, createAttributeEventListener(this, attr));
146 else if (attr->name() == onbeforeunloadAttr) {
148 setAttributeEventListener(eventNames().beforeunloadEvent, createAttributeEventListener(this, attr));
150 HTMLFrameOwnerElement::parseMappedAttribute(attr);
234 bool HTMLFrameElementBase::isURLAttribute(Attribute *attr) const
236 return attr->name() == srcAttr;