Index: third_party/WebKit/Source/core/html/HTMLTableColElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTableColElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableColElement.cpp |
index fc6ef7d788dc1494434273517f11e3eecb3fa3df..424c2ee76b7c62ea6f9c4221fa5f452d62ea20ad 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTableColElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTableColElement.cpp |
@@ -97,7 +97,7 @@ HTMLTableColElement::additionalPresentationAttributeStyle() { |
} |
void HTMLTableColElement::setSpan(unsigned n) { |
- setUnsignedIntegralAttribute(spanAttr, n); |
+ setUnsignedIntegralAttribute(spanAttr, n ? n : 1); |
} |
const AtomicString& HTMLTableColElement::width() const { |