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