diff options
author | athenian200 <athenian200@outlook.com> | 2020-10-23 14:34:55 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-10-28 14:16:42 -0500 |
commit | 49765b53af01284a5d5479dfb8bb56da0ba87ca5 (patch) | |
tree | fb71b01560fea3049c351d9bd1ff64b1f8d1775e /layout/style/test | |
parent | 33a402947c28b35c55fae782be3a45bafa97d293 (diff) | |
download | UXP-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/test')
-rw-r--r-- | layout/style/test/property_database.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index d647b5716..5182dd89c 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -2032,8 +2032,10 @@ var gCSSProperties = { inherited: true, type: CSS_TYPE_LONGHAND, initial_values: [ "8" ], - other_values: [ "0", "3", "99", "12000" ], - invalid_values: [ "-1", "-808", "3.0", "17.5" ] + other_values: [ "0", "2.5", "3", "99", "12000", "0px", "1em", + "calc(1px + 1em)", "calc(1px - 2px)", "calc(1 + 1)", "calc(-2.5)" ], + invalid_values: [ "9%", "calc(9% + 1px)", "calc(1 + 1em)", "-1", "-808", + "auto" ] }, "-moz-text-size-adjust": { domProp: "MozTextSizeAdjust", |