diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-18 10:23:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 10:23:00 +0000 |
commit | c1988898f2c7d949d3644d003b9bb89fc8c87720 (patch) | |
tree | dfbe0ac936feee229d47cfd655c82d61266aa1ed /layout/style/test | |
parent | 6be15b96ae4a9f0a73aaea794602201ddf0c4242 (diff) | |
parent | b5c9f8e24e6ce368532f893fbd9a517b79096839 (diff) | |
download | UXP-c1988898f2c7d949d3644d003b9bb89fc8c87720.tar UXP-c1988898f2c7d949d3644d003b9bb89fc8c87720.tar.gz UXP-c1988898f2c7d949d3644d003b9bb89fc8c87720.tar.lz UXP-c1988898f2c7d949d3644d003b9bb89fc8c87720.tar.xz UXP-c1988898f2c7d949d3644d003b9bb89fc8c87720.zip |
Merge pull request #1654 from athenian200/opacity_percentage
Implement percentage for CSS opacity keywords
Diffstat (limited to 'layout/style/test')
-rw-r--r-- | layout/style/test/property_database.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index 2d6352148..bc4383630 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -3540,7 +3540,7 @@ var gCSSProperties = { inherited: false, type: CSS_TYPE_LONGHAND, initial_values: [ "1", "17", "397.376", "3e1", "3e+1", "3e0", "3e+0", "3e-0" ], - other_values: [ "0", "0.4", "0.0000", "-3", "3e-1" ], + other_values: [ "0", "0.4", "0.0000", "-3", "3e-1" "-100%", "50%" ], invalid_values: [ "0px", "1px" ] }, "-moz-orient": { @@ -4272,8 +4272,8 @@ var gCSSProperties = { domProp: "fillOpacity", inherited: true, type: CSS_TYPE_LONGHAND, - initial_values: [ "1", "2.8", "1.000", "context-fill-opacity", "context-stroke-opacity" ], - other_values: [ "0", "0.3", "-7.3" ], + initial_values: [ "1", "2.8", "1.000", "300%", "context-fill-opacity", "context-stroke-opacity" ], + other_values: [ "0", "0.3", "-7.3", "-100%", "50%" ], invalid_values: [] }, "fill-rule": { @@ -4305,8 +4305,8 @@ var gCSSProperties = { domProp: "floodOpacity", inherited: false, type: CSS_TYPE_LONGHAND, - initial_values: [ "1", "2.8", "1.000" ], - other_values: [ "0", "0.3", "-7.3" ], + initial_values: [ "1", "2.8", "1.000", "300%" ], + other_values: [ "0", "0.3", "-7.3", "-100%", "50%" ], invalid_values: [] }, "image-rendering": { @@ -4380,8 +4380,8 @@ var gCSSProperties = { domProp: "stopOpacity", inherited: false, type: CSS_TYPE_LONGHAND, - initial_values: [ "1", "2.8", "1.000" ], - other_values: [ "0", "0.3", "-7.3" ], + initial_values: [ "1", "2.8", "1.000", "300%" ], + other_values: [ "0", "0.3", "-7.3", "-100%", "50%" ], invalid_values: [] }, "stroke": { @@ -4436,8 +4436,8 @@ var gCSSProperties = { domProp: "strokeOpacity", inherited: true, type: CSS_TYPE_LONGHAND, - initial_values: [ "1", "2.8", "1.000", "context-fill-opacity", "context-stroke-opacity" ], - other_values: [ "0", "0.3", "-7.3" ], + initial_values: [ "1", "2.8", "1.000", "300%", "context-fill-opacity", "context-stroke-opacity" ], + other_values: [ "0", "0.3", "-7.3", "-100%", "50% ], invalid_values: [] }, "stroke-width": { |