Lines Matching refs:attr
92 void HTMLTableCellElement::parseMappedAttribute(MappedAttribute *attr)
94 if (attr->name() == rowspanAttr) {
95 rSpan = !attr->isNull() ? attr->value().toInt() : 1;
99 } else if (attr->name() == colspanAttr) {
100 cSpan = !attr->isNull() ? attr->value().toInt() : 1;
104 } else if (attr->name() == nowrapAttr) {
108 if (!attr->isNull())
109 addCSSProperty(attr, CSSPropertyWhiteSpace, CSSValueWebkitNowrap);
110 } else if (attr->name() == widthAttr) {
111 if (!attr->value().isEmpty()) {
112 int widthInt = attr->value().toInt();
114 addCSSLength(attr, CSSPropertyWidth, attr->value());
116 } else if (attr->name() == heightAttr) {
117 if (!attr->value().isEmpty()) {
118 int heightInt = attr->value().toInt();
120 addCSSLength(attr, CSSPropertyHeight, attr->value());
123 HTMLTablePartElement::parseMappedAttribute(attr);
137 bool HTMLTableCellElement::isURLAttribute(Attribute *attr) const
139 return attr->name() == backgroundAttr;