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 | 52940bc44c14382bfd26f55ff48ffaa372d43497 (patch) | |
tree | f39220ec5133ad2055bec7bcfbc5568fb0f160e4 /dom/base/nsContentUtils.h | |
parent | bbbfd00f95d2d689aabe0087e597efab48442a18 (diff) | |
download | UXP-52940bc44c14382bfd26f55ff48ffaa372d43497.tar UXP-52940bc44c14382bfd26f55ff48ffaa372d43497.tar.gz UXP-52940bc44c14382bfd26f55ff48ffaa372d43497.tar.lz UXP-52940bc44c14382bfd26f55ff48ffaa372d43497.tar.xz UXP-52940bc44c14382bfd26f55ff48ffaa372d43497.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.h')
-rw-r--r-- | dom/base/nsContentUtils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h index bf6a59dcd..64f7485cb 100644 --- a/dom/base/nsContentUtils.h +++ b/dom/base/nsContentUtils.h @@ -445,7 +445,9 @@ public: // Set if one or more error flags were set. eParseHTMLInteger_Error = 1 << 3, eParseHTMLInteger_ErrorNoValue = 1 << 4, - eParseHTMLInteger_ErrorOverflow = 1 << 5 + eParseHTMLInteger_ErrorOverflow = 1 << 5, + // Use this flag to detect the difference between overflow and underflow + eParseHTMLInteger_Negative = 1 << 6, }; static int32_t ParseHTMLInteger(const nsAString& aValue, ParseHTMLIntegerResultFlags *aResult); |