summaryrefslogtreecommitdiffstats
path: root/layout/style/test
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-18 10:23:00 +0000
committerGitHub <noreply@github.com>2020-09-18 10:23:00 +0000
commitc1988898f2c7d949d3644d003b9bb89fc8c87720 (patch)
treedfbe0ac936feee229d47cfd655c82d61266aa1ed /layout/style/test
parent6be15b96ae4a9f0a73aaea794602201ddf0c4242 (diff)
parentb5c9f8e24e6ce368532f893fbd9a517b79096839 (diff)
downloadUXP-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.js18
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": {