summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSPropList.h
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-10-23 14:34:55 -0500
committerathenian200 <athenian200@outlook.com>2020-10-28 14:16:42 -0500
commit49765b53af01284a5d5479dfb8bb56da0ba87ca5 (patch)
treefb71b01560fea3049c351d9bd1ff64b1f8d1775e /layout/style/nsCSSPropList.h
parent33a402947c28b35c55fae782be3a45bafa97d293 (diff)
downloadUXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar.gz
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar.lz
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.tar.xz
UXP-49765b53af01284a5d5479dfb8bb56da0ba87ca5.zip
Issue #1673 - Part 1: Allow tab-size to accept <length>.
Currently -moz-tab-size only accepts <number> values, and both Chrome and Firefox currently support <length> values and have for some time now. So with this you would be able to support sizes in px or em, for instance. This was implemented in Firefox 53 and was trivial to backport.
Diffstat (limited to 'layout/style/nsCSSPropList.h')
-rw-r--r--layout/style/nsCSSPropList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h
index 4f79db5a5..5c5cfcda1 100644
--- a/layout/style/nsCSSPropList.h
+++ b/layout/style/nsCSSPropList.h
@@ -3885,7 +3885,7 @@ CSS_PROP_TEXT(
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_VALUE_NONNEGATIVE,
"",
- VARIANT_HI,
+ VARIANT_INHERIT | VARIANT_LNCALC,
nullptr,
offsetof(nsStyleText, mTabSize),
eStyleAnimType_Discrete)