diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2020-02-03 16:59:23 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:28:14 +0200 |
commit | 0ebdc997574ba96199e68f0766e1f220bd00ab35 (patch) | |
tree | 393da535fa7287b5349b8fe92d08b8f6492cb59d /dom/base/nsContentUtils.cpp | |
parent | 68d3bc54fbc9b99310197c51dfd84b6f72b7fb01 (diff) | |
download | UXP-0ebdc997574ba96199e68f0766e1f220bd00ab35.tar UXP-0ebdc997574ba96199e68f0766e1f220bd00ab35.tar.gz UXP-0ebdc997574ba96199e68f0766e1f220bd00ab35.tar.lz UXP-0ebdc997574ba96199e68f0766e1f220bd00ab35.tar.xz UXP-0ebdc997574ba96199e68f0766e1f220bd00ab35.zip |
Issue #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 800f40fa1..6a9904bf9 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -1080,6 +1080,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; |