summaryrefslogtreecommitdiffstats
path: root/layout/style/test/property_database.js
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2020-10-23 14:34:55 -0500
committerMoonchild <moonchild@palemoon.org>2020-11-18 10:51:09 +0000
commit4dae04e594f6662dcfb03fd304494841ca542091 (patch)
tree4c0e3d936c8504f84ab55b3d864d505f1033e7f1 /layout/style/test/property_database.js
parentb9c41e262438d85e2b3f0fb7905b69818ff875aa (diff)
downloadUXP-4dae04e594f6662dcfb03fd304494841ca542091.tar
UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar.gz
UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar.lz
UXP-4dae04e594f6662dcfb03fd304494841ca542091.tar.xz
UXP-4dae04e594f6662dcfb03fd304494841ca542091.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/property_database.js')
-rw-r--r--layout/style/test/property_database.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js
index a7014c043..8624e17dd 100644
--- a/layout/style/test/property_database.js
+++ b/layout/style/test/property_database.js
@@ -2033,8 +2033,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",