diff options
author | Moonchild <moonchild@palemoon.org> | 2020-10-30 22:36:49 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-10-30 22:36:49 +0000 |
commit | 9b1406f183705e81701d9136f6df63cae72b5362 (patch) | |
tree | 6d8dbecf751fea15bc1e6d28984638fdd5b392b1 /layout/style/test | |
parent | 6a4c3caa8ee469558c27077ddfad8268b1575da4 (diff) | |
parent | d22717ff98ccde224883c0cc99a330e92c7ac4a5 (diff) | |
download | uxp-9b1406f183705e81701d9136f6df63cae72b5362.tar.gz |
Merge pull request 'Fix up -moz-tab-size and unprefix it.' (#1674) from athenian200/UXP:tab-size-length into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1674
Diffstat (limited to 'layout/style/test')
-rw-r--r-- | layout/style/test/property_database.js | 17 | ||||
-rw-r--r-- | layout/style/test/test_transitions_per_property.html | 2 |
2 files changed, 15 insertions, 4 deletions
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index d647b57161..635431e8fb 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -2027,13 +2027,22 @@ var gCSSProperties = { other_values: [ "ignore" ], invalid_values: [] }, - "-moz-tab-size": { - domProp: "MozTabSize", + "tab-size": { + domProp: "TabSize", 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-tab-size": { + domProp: "MozTabSize", + inherited: true, + type: CSS_TYPE_SHORTHAND_AND_LONGHAND + alias_for: "tab-size", + subproperties: [ "tab-size" ] }, "-moz-text-size-adjust": { domProp: "MozTextSizeAdjust", diff --git a/layout/style/test/test_transitions_per_property.html b/layout/style/test/test_transitions_per_property.html index f188f4f6fb..83524b60d9 100644 --- a/layout/style/test/test_transitions_per_property.html +++ b/layout/style/test/test_transitions_per_property.html @@ -248,6 +248,8 @@ var supported_properties = { // test_length_percent_calc_transition. "stroke-width": [ test_length_transition_svg, test_percent_transition, test_length_clamped_svg, test_percent_clamped ], + "tab-size": [ test_float_zeroToOne_transition, + test_float_aboveOne_transition, test_length_clamped ], "text-decoration": [ test_color_shorthand_transition, test_true_currentcolor_shorthand_transition ], "text-decoration-color": [ test_color_transition, |