Lines Matching full:value
325 addCSSLength(attr, CSSPropertyWidth, attr->value());
327 addCSSLength(attr, CSSPropertyHeight, attr->value());
341 border = attr->value().toInt();
346 addCSSColor(attr, CSSPropertyBackgroundColor, attr->value());
350 addCSSColor(attr, CSSPropertyBorderColor, attr->value());
354 String url = deprecatedParseURL(attr->value());
358 // Cache the value of "frame" so that the table can examine it later.
369 if (equalIgnoringCase(attr->value(), "void"))
371 else if (equalIgnoringCase(attr->value(), "above")) {
374 } else if (equalIgnoringCase(attr->value(), "below")) {
377 } else if (equalIgnoringCase(attr->value(), "hsides")) {
380 } else if (equalIgnoringCase(attr->value(), "vsides")) {
383 } else if (equalIgnoringCase(attr->value(), "lhs")) {
386 } else if (equalIgnoringCase(attr->value(), "rhs")) {
389 } else if (equalIgnoringCase(attr->value(), "box") ||
390 equalIgnoringCase(attr->value(), "border")) {
408 if (equalIgnoringCase(attr->value(), "none"))
410 else if (equalIgnoringCase(attr->value(), "groups"))
412 else if (equalIgnoringCase(attr->value(), "rows"))
414 if (equalIgnoringCase(attr->value(), "cols"))
416 if (equalIgnoringCase(attr->value(), "all"))
423 if (!attr->value().isEmpty())
424 addCSSLength(attr, CSSPropertyBorderSpacing, attr->value());
426 if (!attr->value().isEmpty())
427 m_padding = max(0, attr->value().toInt());
433 addCSSLength(attr, CSSPropertyMarginTop, attr->value());
434 addCSSLength(attr, CSSPropertyMarginBottom, attr->value());
436 addCSSLength(attr, CSSPropertyMarginLeft, attr->value());
437 addCSSLength(attr, CSSPropertyMarginRight, attr->value());
439 if (!attr->value().isEmpty()) {
440 if (equalIgnoringCase(attr->value(), "center")) {
444 addCSSProperty(attr, CSSPropertyFloat, attr->value());
447 if (!attr->value().isEmpty())
448 addCSSProperty(attr, CSSPropertyVerticalAlign, attr->value());
667 void HTMLTableElement::setAlign(const String &value)
669 setAttribute(alignAttr, value);
677 void HTMLTableElement::setBgColor(const String &value)
679 setAttribute(bgcolorAttr, value);
687 void HTMLTableElement::setBorder(const String &value)
689 setAttribute(borderAttr, value);
697 void HTMLTableElement::setCellPadding(const String &value)
699 setAttribute(cellpaddingAttr, value);
707 void HTMLTableElement::setCellSpacing(const String &value)
709 setAttribute(cellspacingAttr, value);
717 void HTMLTableElement::setFrame(const String &value)
719 setAttribute(frameAttr, value);
727 void HTMLTableElement::setRules(const String &value)
729 setAttribute(rulesAttr, value);
737 void HTMLTableElement::setSummary(const String &value)
739 setAttribute(summaryAttr, value);
747 void HTMLTableElement::setWidth(const String &value)
749 setAttribute(widthAttr, value);