Home | History | Annotate | Download | only in html

Lines Matching refs:attr

108 void HTMLTextAreaElement::parseMappedAttribute(MappedAttribute* attr)
110 if (attr->name() == rowsAttr) {
111 int rows = attr->value().toInt();
119 } else if (attr->name() == colsAttr) {
120 int cols = attr->value().toInt();
128 } else if (attr->name() == wrapAttr) {
132 if (equalIgnoringCase(attr->value(), "physical") || equalIgnoringCase(attr->value(), "hard") || equalIgnoringCase(attr->value(), "on"))
134 else if (equalIgnoringCase(attr->value(), "off"))
142 addCSSProperty(attr, CSSPropertyWhiteSpace, CSSValuePreWrap);
143 addCSSProperty(attr, CSSPropertyWordWrap, CSSValueBreakWord);
145 addCSSProperty(attr, CSSPropertyWhiteSpace, CSSValuePre);
146 addCSSProperty(attr, CSSPropertyWordWrap, CSSValueNormal);
152 } else if (attr->name() == accesskeyAttr) {
154 } else if (attr->name() == alignAttr) {
157 } else if (attr->name() == maxlengthAttr)
160 HTMLTextFormControlElement::parseMappedAttribute(attr);