Home | History | Annotate | Download | only in html

Lines Matching refs:attr

53 void HTMLLIElement::parseMappedAttribute(MappedAttribute* attr)
55 if (attr->name() == valueAttr) {
56 m_requestedValue = attr->value().toInt();
63 } else if (attr->name() == typeAttr) {
64 if (attr->value() == "a")
65 addCSSProperty(attr, CSSPropertyListStyleType, CSSValueLowerAlpha);
66 else if (attr->value() == "A")
67 addCSSProperty(attr, CSSPropertyListStyleType, CSSValueUpperAlpha);
68 else if (attr->value() == "i")
69 addCSSProperty(attr, CSSPropertyListStyleType, CSSValueLowerRoman);
70 else if (attr->value() == "I")
71 addCSSProperty(attr, CSSPropertyListStyleType, CSSValueUpperRoman);
72 else if (attr->value() == "1")
73 addCSSProperty(attr, CSSPropertyListStyleType, CSSValueDecimal);
75 addCSSProperty(attr, CSSPropertyListStyleType, attr->value());
77 HTMLElement::parseMappedAttribute(attr);