summaryrefslogtreecommitdiffstats
path: root/dom/base/nsContentUtils.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-02-03 18:18:40 +0100
committerGitHub <noreply@github.com>2020-02-03 18:18:40 +0100
commitc4e1022f578b264641f5e25fcef3069bdae7490e (patch)
tree3f9d16addf2c79865229dfa445ba99d8c8c7822a /dom/base/nsContentUtils.h
parent9c6a8450b3e96442035b84025b0dd13be3a9e5f8 (diff)
parent52940bc44c14382bfd26f55ff48ffaa372d43497 (diff)
downloadUXP-c4e1022f578b264641f5e25fcef3069bdae7490e.tar
UXP-c4e1022f578b264641f5e25fcef3069bdae7490e.tar.gz
UXP-c4e1022f578b264641f5e25fcef3069bdae7490e.tar.lz
UXP-c4e1022f578b264641f5e25fcef3069bdae7490e.tar.xz
UXP-c4e1022f578b264641f5e25fcef3069bdae7490e.zip
Merge pull request #1385 from win7-7/standard-pr
Match standard for colSpan/rowSpan
Diffstat (limited to 'dom/base/nsContentUtils.h')
-rw-r--r--dom/base/nsContentUtils.h4
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);