Lines Matching refs:attr
54 void HTMLDivElement::parseMappedAttribute(MappedAttribute *attr)
56 if (attr->name() == alignAttr) {
57 String v = attr->value();
58 if (equalIgnoringCase(attr->value(), "middle") || equalIgnoringCase(attr->value(), "center"))
59 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitCenter);
60 else if (equalIgnoringCase(attr->value(), "left"))
61 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitLeft);
62 else if (equalIgnoringCase(attr->value(), "right"))
63 addCSSProperty(attr, CSSPropertyTextAlign, CSSValueWebkitRight);
65 addCSSProperty(attr, CSSPropertyTextAlign, v);
67 HTMLElement::parseMappedAttribute(attr);