diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-02-03 16:59:23 +0200 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2020-02-03 16:59:23 +0200 |
commit | 8795e13a402502f2d004dfb5865a5f346047a7e3 (patch) | |
tree | f39220ec5133ad2055bec7bcfbc5568fb0f160e4 /dom/base/nsContentUtils.cpp | |
parent | 60b04af2a3e39cd93871f910124925826e176f2d (diff) | |
download | uxp-8795e13a402502f2d004dfb5865a5f346047a7e3.tar.gz |
Issue mcp-graveyard/UXP#1384 - Match standard for colSpan/rowSpan
HTML standardizes proper behavior of colSpan and rowSpan:
The main thing is that getting the .rowSpan and .colSpan IDL properties will now return the actual clamped value that we use.
Diffstat (limited to 'dom/base/nsContentUtils.cpp')
-rw-r--r-- | dom/base/nsContentUtils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index b6cbbbacef..4f7b71b193 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -1088,6 +1088,7 @@ nsContentUtils::ParseHTMLInteger(const nsAString& aValue, int sign = 1; if (*iter == char16_t('-')) { sign = -1; + result |= eParseHTMLInteger_Negative; ++iter; } else if (*iter == char16_t('+')) { result |= eParseHTMLInteger_NonStandard; |