Home | History | Annotate | Download | only in html

Lines Matching refs:attr

86 void HTMLFrameSetElement::parseMappedAttribute(MappedAttribute *attr)
88 if (attr->name() == rowsAttr) {
89 if (!attr->isNull()) {
91 m_rows = newLengthArray(attr->value().string(), m_totalRows);
94 } else if (attr->name() == colsAttr) {
95 if (!attr->isNull()) {
97 m_cols = newLengthArray(attr->value().string(), m_totalCols);
100 } else if (attr->name() == frameborderAttr) {
101 if (!attr->isNull()) {
103 if (attr->value().toInt() == 0) {
112 } else if (attr->name() == noresizeAttr) {
114 } else if (attr->name() == borderAttr) {
115 if (!attr->isNull()) {
116 m_border = attr->value().toInt();
122 } else if (attr->name() == bordercolorAttr) {
123 m_borderColorSet = attr->decl();
124 if (!attr->decl() && !attr->isEmpty()) {
125 addCSSColor(attr, CSSPropertyBorderColor, attr->value());
128 } else if (attr->name() == onloadAttr)
129 document()->setWindowAttributeEventListener(eventNames().loadEvent, createAttributeEventListener(document()->frame(), attr));
130 else if (attr->name() == onbeforeunloadAttr)
131 document()->setWindowAttributeEventListener(eventNames().beforeunloadEvent, createAttributeEventListener(document()->frame(), attr));
132 else if (attr->name() == onunloadAttr)
133 document()->setWindowAttributeEventListener(eventNames().unloadEvent, createAttributeEventListener(document()->frame(), attr));
134 else if (attr->name() == onblurAttr)
135 document()->setWindowAttributeEventListener(eventNames().blurEvent, createAttributeEventListener(document()->frame(), attr));
136 else if (attr->name() == onfocusAttr)
137 document()->setWindowAttributeEventListener(eventNames().focusEvent, createAttributeEventListener(document()->frame(), attr));
139 else if (attr->name() == onorientationchangeAttr)
140 document()->setWindowAttributeEventListener(eventNames().orientationchangeEvent, createAttributeEventListener(document()->frame(), attr));
142 else if (attr->name() == onhashchangeAttr)
143 document()->setWindowAttributeEventListener(eventNames().hashchangeEvent, createAttributeEventListener(document()->frame(), attr));
144 else if (attr->name() == onresizeAttr)
145 document()->setWindowAttributeEventListener(eventNames().resizeEvent, createAttributeEventListener(document()->frame(), attr));
146 else if (attr->name() == onscrollAttr)
147 document()->setWindowAttributeEventListener(eventNames().scrollEvent, createAttributeEventListener(document()->frame(), attr));
148 else if (attr->name() == onstorageAttr)
149 document()->setWindowAttributeEventListener(eventNames().storageEvent, createAttributeEventListener(document()->frame(), attr));
150 else if (attr->name() == ononlineAttr)
151 document()->setWindowAttributeEventListener(eventNames().onlineEvent, createAttributeEventListener(document()->frame(), attr));
152 else if (attr->name() == onofflineAttr)
153 document()->setWindowAttributeEventListener(eventNames().offlineEvent, createAttributeEventListener(document()->frame(), attr));
154 else if (attr->name() == onpopstateAttr)
155 document()->setWindowAttributeEventListener(eventNames().popstateEvent, createAttributeEventListener(document()->frame(), attr));
157 HTMLElement::parseMappedAttribute(attr);