Bug 1370835 - Match new standard for span IDL property; r=mystor
https://github.com/whatwg/html/issues/2705 https://github.com/whatwg/html/pull/2734 MozReview-Commit-ID: 7Sso9sO8f7y
This commit is contained in:
@@ -44,7 +44,7 @@ HTMLTableColElement::ParseAttribute(int32_t aNamespaceID,
|
||||
}
|
||||
if (aAttribute == nsGkAtoms::span) {
|
||||
/* protection from unrealistic large colspan values */
|
||||
aResult.ParseIntWithFallback(aValue, 1, MAX_COLSPAN);
|
||||
aResult.ParseClampedNonNegativeInt(aValue, 1, 1, MAX_COLSPAN);
|
||||
return true;
|
||||
}
|
||||
if (aAttribute == nsGkAtoms::width) {
|
||||
|
||||
Reference in New Issue
Block a user