LibWeb: Parse the shape-image-threshold property

This commit is contained in:
Callum Law 2025-10-17 02:54:47 +13:00 committed by Tim Ledbetter
parent 0e82ab2966
commit 9c7202e3f3
9 changed files with 151 additions and 136 deletions

View File

@ -3445,6 +3445,15 @@
"none"
]
},
"shape-image-threshold": {
"affects-layout": false,
"animation-type": "by-computed-value",
"inherited": false,
"initial": "0",
"valid-types": [
"opacity"
]
},
"shape-outside": {
"affects-layout": true,
"animation-type": "by-computed-value",

View File

@ -3254,6 +3254,7 @@ NonnullRefPtr<StyleValue const> StyleComputer::compute_value_of_property(Propert
case PropertyID::Opacity:
case PropertyID::StopOpacity:
case PropertyID::StrokeOpacity:
case PropertyID::ShapeImageThreshold:
return compute_opacity(absolutized_value);
case PropertyID::PositionArea:
return compute_position_area(absolutized_value);

View File

@ -260,6 +260,7 @@ All properties associated with getComputedStyle(document.body):
"scrollbar-color",
"scrollbar-gutter",
"scrollbar-width",
"shape-image-threshold",
"shape-outside",
"stop-color",
"stop-opacity",

View File

@ -697,6 +697,8 @@ All supported properties and their default values exposed from CSSStylePropertie
'scrollbar-gutter': 'auto'
'scrollbarWidth': 'auto'
'scrollbar-width': 'auto'
'shapeImageThreshold': '0'
'shape-image-threshold': '0'
'shapeOutside': 'none'
'shape-outside': 'none'
'shapeRendering': 'auto'

View File

@ -258,6 +258,7 @@ scale: none
scrollbar-color: auto
scrollbar-gutter: auto
scrollbar-width: auto
shape-image-threshold: 0
shape-outside: none
stop-color: rgb(0, 0, 0)
stop-opacity: 1

View File

@ -1,8 +1,8 @@
Harness status: OK
Found 267 tests
Found 268 tests
261 Pass
262 Pass
6 Fail
Pass accent-color
Pass border-collapse
@ -242,6 +242,7 @@ Pass scale
Pass scrollbar-color
Pass scrollbar-gutter
Pass scrollbar-width
Pass shape-image-threshold
Pass shape-outside
Pass stop-color
Pass stop-opacity

View File

@ -2,124 +2,124 @@ Harness status: OK
Found 120 tests
120 Fail
Fail CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Fail CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Fail CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Fail CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Fail CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Fail CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Fail CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Fail CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Fail CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Fail CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Fail CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Fail CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Fail Web Animations: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Fail Web Animations: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Fail Web Animations: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Fail Web Animations: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Fail Web Animations: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Fail Web Animations: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Fail CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Fail CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Fail CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Fail CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Fail CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Fail CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Fail Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Fail Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Fail Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Fail Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Fail Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Fail Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Fail CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Fail CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Fail CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Fail CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Fail CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Fail CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Fail CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Fail CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Fail CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Fail CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Fail Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Fail Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Fail Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Fail Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Fail Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Fail Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Fail CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Fail CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Fail CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Fail CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Fail CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Fail CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Fail Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Fail Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Fail Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Fail Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Fail Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Fail Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Fail CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Fail CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Fail CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Fail CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Fail CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Fail CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Fail CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
Fail CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Fail CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Fail CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Fail CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Fail CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Fail CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
Fail Web Animations: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Fail Web Animations: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Fail Web Animations: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Fail Web Animations: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Fail Web Animations: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Fail Web Animations: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
120 Pass
Pass CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Pass CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Pass CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Pass CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Pass CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Pass CSS Transitions: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Pass CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Pass CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Pass CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Pass CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Pass CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Pass CSS Animations: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Pass Web Animations: property <shape-image-threshold> from neutral to [0.8] at (-1.5) should be [0.3]
Pass Web Animations: property <shape-image-threshold> from neutral to [0.8] at (-0.5) should be [0.5]
Pass Web Animations: property <shape-image-threshold> from neutral to [0.8] at (0) should be [0.6]
Pass Web Animations: property <shape-image-threshold> from neutral to [0.8] at (0.5) should be [0.7]
Pass Web Animations: property <shape-image-threshold> from neutral to [0.8] at (1) should be [0.8]
Pass Web Animations: property <shape-image-threshold> from neutral to [0.8] at (1.5) should be [0.9]
Pass CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Pass CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Pass CSS Transitions: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Pass CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Pass CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Pass CSS Animations: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Pass Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (-1.5) should be [0]
Pass Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (-0.5) should be [0]
Pass Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (0) should be [0]
Pass Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (0.5) should be [0.4]
Pass Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (1) should be [0.8]
Pass Web Animations: property <shape-image-threshold> from [initial] to [0.8] at (1.5) should be [1]
Pass CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Pass CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Pass CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Pass CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Pass CSS Transitions: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Pass CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Pass CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Pass CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Pass CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Pass CSS Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Pass Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-1.5) should be [0]
Pass Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (-0.5) should be [0.2]
Pass Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0) should be [0.4]
Pass Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (0.5) should be [0.6]
Pass Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1) should be [0.8]
Pass Web Animations: property <shape-image-threshold> from [inherit] to [0.8] at (1.5) should be [1]
Pass CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Pass CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Pass CSS Transitions: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Pass CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Pass CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Pass CSS Animations: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Pass Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (-1.5) should be [0]
Pass Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (-0.5) should be [0]
Pass Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (0) should be [0]
Pass Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (0.5) should be [0.4]
Pass Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (1) should be [0.8]
Pass Web Animations: property <shape-image-threshold> from [unset] to [0.8] at (1.5) should be [1]
Pass CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Pass CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Pass CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Pass CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Pass CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Pass CSS Transitions: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Pass CSS Transitions with transition: all: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
Pass CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Pass CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Pass CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Pass CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Pass CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Pass CSS Animations: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]
Pass Web Animations: property <shape-image-threshold> from [0.5] to [1] at (-1.5) should be [0]
Pass Web Animations: property <shape-image-threshold> from [0.5] to [1] at (-0.5) should be [0.25]
Pass Web Animations: property <shape-image-threshold> from [0.5] to [1] at (0) should be [0.5]
Pass Web Animations: property <shape-image-threshold> from [0.5] to [1] at (0.5) should be [0.75]
Pass Web Animations: property <shape-image-threshold> from [0.5] to [1] at (1) should be [1]
Pass Web Animations: property <shape-image-threshold> from [0.5] to [1] at (1.5) should be [1]

View File

@ -2,10 +2,10 @@ Harness status: OK
Found 6 tests
6 Fail
Fail Property shape-image-threshold value '-7'
Fail Property shape-image-threshold value '0.5'
Fail Property shape-image-threshold value '12.5'
Fail Property shape-image-threshold value '-100%'
Fail Property shape-image-threshold value '50%'
Fail Property shape-image-threshold value '300%'
6 Pass
Pass Property shape-image-threshold value '-7'
Pass Property shape-image-threshold value '0.5'
Pass Property shape-image-threshold value '12.5'
Pass Property shape-image-threshold value '-100%'
Pass Property shape-image-threshold value '50%'
Pass Property shape-image-threshold value '300%'

View File

@ -2,9 +2,9 @@ Harness status: OK
Found 5 tests
5 Fail
Fail e.style['shape-image-threshold'] = "12.5" should set the property value
Fail e.style['shape-image-threshold'] = "-7" should set the property value
Fail e.style['shape-image-threshold'] = "-100%" should set the property value
Fail e.style['shape-image-threshold'] = "50%" should set the property value
Fail e.style['shape-image-threshold'] = "300%" should set the property value
5 Pass
Pass e.style['shape-image-threshold'] = "12.5" should set the property value
Pass e.style['shape-image-threshold'] = "-7" should set the property value
Pass e.style['shape-image-threshold'] = "-100%" should set the property value
Pass e.style['shape-image-threshold'] = "50%" should set the property value
Pass e.style['shape-image-threshold'] = "300%" should set the property value