diff --git a/tests/wpt/metadata-layout-2020/FileAPI/url/url-charset.window.js.ini b/tests/wpt/metadata-layout-2020/FileAPI/url/url-charset.window.js.ini new file mode 100644 index 00000000000..33fc78f48d9 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/FileAPI/url/url-charset.window.js.ini @@ -0,0 +1,7 @@ +[url-charset.window.html] + expected: TIMEOUT + [Blob charset should override any auto-detected charset.] + expected: TIMEOUT + + [Blob charset should override .] + expected: TIMEOUT diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-004.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-004.html.ini new file mode 100644 index 00000000000..13bd6abf376 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/CSS2/floats/hit-test-floats-004.html.ini @@ -0,0 +1,3 @@ +[hit-test-floats-004.html] + [Miss float below something else] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-001.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-001.html.ini deleted file mode 100644 index b4eea326212..00000000000 --- a/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[block-in-inline-hittest-001.html] - [block-in-inline-hittest-001] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini b/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini index cdd8b55f192..f9e216a8cfc 100644 --- a/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini +++ b/tests/wpt/metadata-layout-2020/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini @@ -1,3 +1,6 @@ [block-in-inline-hittest-relpos-zindex.html] [position: relative; z-index: -1;] expected: FAIL + + [block-in-inline-hittest-relpos-zindex] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-backgrounds/parsing/webkit-border-radius-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-backgrounds/parsing/webkit-border-radius-valid.html.ini new file mode 100644 index 00000000000..783244409df --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/css-backgrounds/parsing/webkit-border-radius-valid.html.ini @@ -0,0 +1,75 @@ +[webkit-border-radius-valid.html] + [e.style['-webkit-border-radius'\] = "initial" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "inherit" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "unset" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "revert" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 5%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% 3px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% 3px 4%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px / 2px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "5em / 1px 2% 3px 4%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% / 3px 4px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2px 3em / 1px 2px 3%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% / 2px 3em 4px 5em" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% 3px 4% / 5em" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 1px 1px 2% / 1px 2% 1px 2%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 1px 1px 1px / 1px 1px 2% 1px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 1px 2% 2%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% 1px 1px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-radius'\] = "1px 2% 2% 2% / 1px 2% 3px 2%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-top-left-radius'\] = "10px" should set the property value] + expected: FAIL + + [e.style['-webkit-border-top-right-radius'\] = "20%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-bottom-right-radius'\] = "30px 40%" should set the property value] + expected: FAIL + + [e.style['-webkit-border-bottom-left-radius'\] = "50% 60px" should set the property value] + expected: FAIL + + [Serialize border-radius from -webkit-border-radius: 1px 2px] + expected: FAIL + + [Serialize -webkit-border-radius from border-radius: 1px 2px] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-color/animation/color-interpolation.html.ini b/tests/wpt/metadata-layout-2020/css/css-color/animation/color-interpolation.html.ini index da34b2048c1..d59eaeea327 100644 --- a/tests/wpt/metadata-layout-2020/css/css-color/animation/color-interpolation.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-color/animation/color-interpolation.html.ini @@ -304,3 +304,147 @@ [Web Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]] expected: FAIL + + [CSS Transitions: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [Web Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [Web Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [Web Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [Web Animations: property from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Transitions: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Transitions with transition: all: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [CSS Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(30 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(60 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(100 0 0)\]] + expected: FAIL + + [Web Animations: property from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini index 8c8a5bad065..c9a742b2bbb 100644 --- a/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -155,9 +155,6 @@ [Matching font-style: 'oblique 21deg' should prefer 'oblique 10deg' over 'italic'] expected: FAIL - [Matching font-style: 'oblique 21deg' should prefer 'italic' over 'oblique 0deg'] - expected: FAIL - [Matching font-style: 'oblique 21deg' should prefer 'oblique -50deg -20deg' over 'oblique -40deg -30deg'] expected: FAIL @@ -272,9 +269,6 @@ [Matching font-weight: '501' should prefer '502 510' over '503 520'] expected: FAIL - [Matching font-stretch: '110%' should prefer '105%' over '100%'] - expected: FAIL - [Matching font-style: 'normal' should prefer 'normal' over 'oblique 0deg'] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-images/parsing/gradient-interpolation-method-valid.html.ini b/tests/wpt/metadata-layout-2020/css/css-images/parsing/gradient-interpolation-method-valid.html.ini index b44a302ce26..7a6a405df4f 100644 --- a/tests/wpt/metadata-layout-2020/css/css-images/parsing/gradient-interpolation-method-valid.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-images/parsing/gradient-interpolation-method-valid.html.ini @@ -2779,3 +2779,1386 @@ [e.style['background-image'\] = "conic-gradient(in oklch decreasing hue at left 10px top 50em, color(srgb 1 0 0), blue)" should set the property value] expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lab 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lab to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklab 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklab to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in srgb 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in srgb to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in srgb-linear 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in srgb-linear to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz-d50 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz-d50 to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz-d65 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in xyz-d65 to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl shorter hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl shorter hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl longer hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl longer hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl increasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl increasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl decreasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hsl decreasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb shorter hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb shorter hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb longer hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb longer hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb increasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb increasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb decreasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in hwb decreasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch shorter hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch shorter hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch longer hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch longer hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch increasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch increasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch decreasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in lch decreasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch shorter hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch shorter hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch longer hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch longer hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch increasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch increasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(30deg in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch decreasing hue 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(to right bottom in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "linear-gradient(in oklch decreasing hue to right bottom, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lab 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lab ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lab at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklab 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklab ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklab at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb-linear 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb-linear ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in srgb-linear at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d50 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d50 ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d50 at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d65 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d65 ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in xyz-d65 at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl shorter hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl shorter hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl shorter hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl longer hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl longer hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl longer hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl increasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl increasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl increasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl decreasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl decreasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hsl decreasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb shorter hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb shorter hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb shorter hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb longer hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb longer hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb longer hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb increasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb increasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb increasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb decreasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb decreasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in hwb decreasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch shorter hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch shorter hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch shorter hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch longer hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch longer hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch longer hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch increasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch increasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch increasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch decreasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch decreasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in lch decreasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch shorter hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch shorter hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch shorter hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch longer hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch longer hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch longer hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch increasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch increasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch increasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(50px in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch decreasing hue 50px, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(ellipse 50% 40em in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch decreasing hue ellipse 50% 40em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(at right center in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "radial-gradient(in oklch decreasing hue at right center, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lab from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in lab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lab at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklab from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in oklab, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklab at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in srgb from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in srgb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in srgb at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in srgb-linear from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in srgb-linear, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in srgb-linear at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in xyz, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz-d50 from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in xyz-d50, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz-d50 at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz-d65 from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in xyz-d65, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in xyz-d65 at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hsl, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl shorter hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hsl shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl shorter hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl longer hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hsl longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl longer hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl increasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hsl increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl increasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl decreasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hsl decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hsl decreasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hwb, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb shorter hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hwb shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb shorter hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb longer hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hwb longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb longer hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb increasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hwb increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb increasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb decreasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in hwb decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in hwb decreasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in lch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch shorter hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in lch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch shorter hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch longer hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in lch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch longer hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch increasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in lch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch increasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch decreasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in lch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in lch decreasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in oklch, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch shorter hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in oklch shorter hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch shorter hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch longer hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in oklch longer hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch longer hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch increasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in oklch increasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch increasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(from 30deg in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch decreasing hue from 30deg, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(at left 10px top 50em in oklch decreasing hue, red, 50%, blue)" should set the property value] + expected: FAIL + + [e.style['background-image'\] = "conic-gradient(in oklch decreasing hue at left 10px top 50em, red, 50%, blue)" should set the property value] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini index 233d4f39051..6eac2d016ea 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-001.html.ini @@ -475,303 +475,3 @@ [padding-bottom length(em) / values] expected: FAIL - - [margin-right length(cm) / values] - expected: FAIL - - [margin-right length(in) / values] - expected: FAIL - - [margin-top length(pt) / values] - expected: FAIL - - [margin-top length(pc) / values] - expected: FAIL - - [margin-top length(px) / values] - expected: FAIL - - [margin-top length(em) / values] - expected: FAIL - - [margin-top length(ex) / values] - expected: FAIL - - [margin-top length(mm) / values] - expected: FAIL - - [margin-top length(cm) / values] - expected: FAIL - - [margin-top length(in) / values] - expected: FAIL - - [height length(pt) / values] - expected: FAIL - - [height length(pc) / values] - expected: FAIL - - [height length(px) / values] - expected: FAIL - - [height length(em) / values] - expected: FAIL - - [height length(ex) / values] - expected: FAIL - - [height length(mm) / values] - expected: FAIL - - [height length(cm) / values] - expected: FAIL - - [height length(in) / values] - expected: FAIL - - [height percentage(%) / values] - expected: FAIL - - [width length(pt) / values] - expected: FAIL - - [width length(pc) / values] - expected: FAIL - - [width length(px) / values] - expected: FAIL - - [width length(em) / values] - expected: FAIL - - [width length(ex) / values] - expected: FAIL - - [width length(mm) / values] - expected: FAIL - - [width length(cm) / values] - expected: FAIL - - [width length(in) / values] - expected: FAIL - - [width percentage(%) / values] - expected: FAIL - - [min-height length(pt) / values] - expected: FAIL - - [min-height length(pc) / values] - expected: FAIL - - [min-height length(px) / values] - expected: FAIL - - [min-height length(em) / values] - expected: FAIL - - [min-height length(ex) / values] - expected: FAIL - - [min-height length(mm) / values] - expected: FAIL - - [min-height length(cm) / values] - expected: FAIL - - [min-height length(in) / values] - expected: FAIL - - [min-height percentage(%) / values] - expected: FAIL - - [min-width length(pt) / values] - expected: FAIL - - [min-width length(pc) / values] - expected: FAIL - - [min-width length(px) / values] - expected: FAIL - - [min-width length(em) / values] - expected: FAIL - - [min-width length(ex) / values] - expected: FAIL - - [min-width length(mm) / values] - expected: FAIL - - [min-width length(cm) / values] - expected: FAIL - - [min-width length(in) / values] - expected: FAIL - - [min-width percentage(%) / values] - expected: FAIL - - [max-height length(pt) / values] - expected: FAIL - - [max-height length(pc) / values] - expected: FAIL - - [max-height length(px) / values] - expected: FAIL - - [max-height length(em) / values] - expected: FAIL - - [max-height length(ex) / values] - expected: FAIL - - [max-height length(mm) / values] - expected: FAIL - - [max-height length(cm) / values] - expected: FAIL - - [max-height length(in) / values] - expected: FAIL - - [max-height percentage(%) / values] - expected: FAIL - - [max-width length(pt) / values] - expected: FAIL - - [max-width length(pc) / values] - expected: FAIL - - [max-width length(px) / values] - expected: FAIL - - [max-width length(em) / values] - expected: FAIL - - [max-width length(ex) / values] - expected: FAIL - - [max-width length(mm) / values] - expected: FAIL - - [max-width length(cm) / values] - expected: FAIL - - [max-width length(in) / values] - expected: FAIL - - [max-width percentage(%) / values] - expected: FAIL - - [top length(pt) / values] - expected: FAIL - - [top length(pc) / values] - expected: FAIL - - [top length(px) / values] - expected: FAIL - - [top length(em) / values] - expected: FAIL - - [top length(ex) / values] - expected: FAIL - - [top length(mm) / values] - expected: FAIL - - [top length(cm) / values] - expected: FAIL - - [top length(in) / values] - expected: FAIL - - [top percentage(%) / values] - expected: FAIL - - [right length(pt) / values] - expected: FAIL - - [right length(pc) / values] - expected: FAIL - - [right length(px) / values] - expected: FAIL - - [right length(em) / values] - expected: FAIL - - [right length(ex) / values] - expected: FAIL - - [right length(mm) / values] - expected: FAIL - - [right length(cm) / values] - expected: FAIL - - [right length(in) / values] - expected: FAIL - - [right percentage(%) / values] - expected: FAIL - - [bottom length(pt) / values] - expected: FAIL - - [bottom length(pc) / values] - expected: FAIL - - [bottom length(px) / values] - expected: FAIL - - [bottom length(em) / values] - expected: FAIL - - [bottom length(ex) / values] - expected: FAIL - - [bottom length(mm) / values] - expected: FAIL - - [bottom length(cm) / values] - expected: FAIL - - [bottom length(in) / values] - expected: FAIL - - [bottom percentage(%) / values] - expected: FAIL - - [left length(pt) / values] - expected: FAIL - - [left length(pc) / values] - expected: FAIL - - [left length(px) / values] - expected: FAIL - - [left length(em) / values] - expected: FAIL - - [left length(ex) / values] - expected: FAIL - - [left length(mm) / values] - expected: FAIL - - [left length(cm) / values] - expected: FAIL - - [left length(in) / values] - expected: FAIL - - [left percentage(%) / values] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini index 3b9c47983b6..6fbb05ea694 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-implicit-001.html.ini @@ -4,84 +4,3 @@ [background-position length-em(em) / values] expected: FAIL - - [border-top-width length-em(em) / values] - expected: FAIL - - [border-right-width length-em(em) / values] - expected: FAIL - - [border-bottom-width length-em(em) / values] - expected: FAIL - - [border-left-width length-em(em) / values] - expected: FAIL - - [padding-bottom length-em(em) / values] - expected: FAIL - - [padding-left length-em(em) / values] - expected: FAIL - - [padding-right length-em(em) / values] - expected: FAIL - - [padding-top length-em(em) / values] - expected: FAIL - - [margin-bottom length-em(em) / values] - expected: FAIL - - [margin-left length-em(em) / values] - expected: FAIL - - [margin-right length-em(em) / values] - expected: FAIL - - [margin-top length-em(em) / values] - expected: FAIL - - [height length-em(em) / values] - expected: FAIL - - [width length-em(em) / values] - expected: FAIL - - [min-height length-em(em) / values] - expected: FAIL - - [min-width length-em(em) / values] - expected: FAIL - - [max-height length-em(em) / values] - expected: FAIL - - [max-width length-em(em) / values] - expected: FAIL - - [right length-em(em) / values] - expected: FAIL - - [left length-em(em) / values] - expected: FAIL - - [line-height length-em(em) / values] - expected: FAIL - - [letter-spacing length-em(em) / values] - expected: FAIL - - [word-spacing length-em(em) / values] - expected: FAIL - - [text-indent length-em(em) / values] - expected: FAIL - - [outline-offset length-em(em) / values] - expected: FAIL - - [outline-width length-em(em) / values] - expected: FAIL - - [vertical-align length-em(em) / values] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini index b3362be9411..270150fa9f4 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-001.html.ini @@ -56,156 +56,6 @@ [background-position length(px) / events] expected: FAIL - [color color(rgba) / events] - expected: FAIL - - [font-size length(pt) / events] - expected: FAIL - - [font-size length(pc) / events] - expected: FAIL - - [font-size length(px) / events] - expected: FAIL - - [font-size length(em) / events] - expected: FAIL - - [font-size length(ex) / events] - expected: FAIL - - [font-size length(mm) / events] - expected: FAIL - - [font-size length(cm) / events] - expected: FAIL - - [font-size length(in) / events] - expected: FAIL - - [font-size percentage(%) / events] - expected: FAIL - - [font-weight font-weight(keyword) / events] - expected: FAIL - - [font-weight font-weight(numeric) / events] - expected: FAIL - - [line-height number(integer) / events] - expected: FAIL - - [line-height number(decimal) / events] - expected: FAIL - - [line-height length(pt) / events] - expected: FAIL - - [line-height length(pc) / events] - expected: FAIL - - [line-height length(px) / events] - expected: FAIL - - [line-height length(em) / events] - expected: FAIL - - [line-height length(ex) / events] - expected: FAIL - - [line-height length(mm) / events] - expected: FAIL - - [line-height length(cm) / events] - expected: FAIL - - [line-height length(in) / events] - expected: FAIL - - [line-height percentage(%) / events] - expected: FAIL - - [letter-spacing length(pt) / events] - expected: FAIL - - [letter-spacing length(pc) / events] - expected: FAIL - - [letter-spacing length(px) / events] - expected: FAIL - - [letter-spacing length(em) / events] - expected: FAIL - - [letter-spacing length(ex) / events] - expected: FAIL - - [letter-spacing length(mm) / events] - expected: FAIL - - [letter-spacing length(cm) / events] - expected: FAIL - - [letter-spacing length(in) / events] - expected: FAIL - - [word-spacing length(pt) / events] - expected: FAIL - - [word-spacing length(pc) / events] - expected: FAIL - - [word-spacing length(px) / events] - expected: FAIL - - [word-spacing length(em) / events] - expected: FAIL - - [word-spacing length(ex) / events] - expected: FAIL - - [word-spacing length(mm) / events] - expected: FAIL - - [word-spacing length(cm) / events] - expected: FAIL - - [word-spacing length(in) / events] - expected: FAIL - - [word-spacing percentage(%) / events] - expected: FAIL - - [text-indent length(pt) / events] - expected: FAIL - - [text-indent length(pc) / events] - expected: FAIL - - [text-indent length(px) / events] - expected: FAIL - - [text-indent length(em) / events] - expected: FAIL - - [text-indent length(ex) / events] - expected: FAIL - - [text-indent length(mm) / events] - expected: FAIL - - [text-indent length(cm) / events] - expected: FAIL - - [text-indent length(in) / events] - expected: FAIL - - [text-indent percentage(%) / events] - expected: FAIL - - [text-shadow shadow(shadow) / events] - expected: FAIL - [background-color color(rgba) / events] expected: FAIL @@ -478,153 +328,3 @@ [margin-right length(mm) / events] expected: FAIL - - [margin-right length(cm) / events] - expected: FAIL - - [margin-right length(in) / events] - expected: FAIL - - [margin-top length(pt) / events] - expected: FAIL - - [margin-top length(pc) / events] - expected: FAIL - - [margin-top length(px) / events] - expected: FAIL - - [margin-top length(em) / events] - expected: FAIL - - [margin-top length(ex) / events] - expected: FAIL - - [margin-top length(mm) / events] - expected: FAIL - - [margin-top length(cm) / events] - expected: FAIL - - [margin-top length(in) / events] - expected: FAIL - - [height length(pt) / events] - expected: FAIL - - [height length(pc) / events] - expected: FAIL - - [height length(px) / events] - expected: FAIL - - [height length(em) / events] - expected: FAIL - - [height length(ex) / events] - expected: FAIL - - [height length(mm) / events] - expected: FAIL - - [height length(cm) / events] - expected: FAIL - - [height length(in) / events] - expected: FAIL - - [height percentage(%) / events] - expected: FAIL - - [width length(pt) / events] - expected: FAIL - - [width length(pc) / events] - expected: FAIL - - [width length(px) / events] - expected: FAIL - - [width length(em) / events] - expected: FAIL - - [width length(ex) / events] - expected: FAIL - - [width length(mm) / events] - expected: FAIL - - [width length(cm) / events] - expected: FAIL - - [width length(in) / events] - expected: FAIL - - [width percentage(%) / events] - expected: FAIL - - [min-height length(pt) / events] - expected: FAIL - - [min-height length(pc) / events] - expected: FAIL - - [min-height length(px) / events] - expected: FAIL - - [min-height length(em) / events] - expected: FAIL - - [min-height length(ex) / events] - expected: FAIL - - [min-height length(mm) / events] - expected: FAIL - - [min-height length(cm) / events] - expected: FAIL - - [min-height length(in) / events] - expected: FAIL - - [min-height percentage(%) / events] - expected: FAIL - - [min-width length(pt) / events] - expected: FAIL - - [min-width length(pc) / events] - expected: FAIL - - [min-width length(px) / events] - expected: FAIL - - [min-width length(em) / events] - expected: FAIL - - [min-width length(ex) / events] - expected: FAIL - - [min-width length(mm) / events] - expected: FAIL - - [min-width length(cm) / events] - expected: FAIL - - [min-width length(in) / events] - expected: FAIL - - [min-width percentage(%) / events] - expected: FAIL - - [max-height length(pt) / events] - expected: FAIL - - [max-height length(pc) / events] - expected: FAIL - - [max-height length(px) / events] - expected: FAIL - - [max-height length(em) / events] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini index 793afafa0e8..a8b624d26cb 100644 --- a/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini +++ b/tests/wpt/metadata-layout-2020/css/css-transitions/properties-value-inherit-002.html.ini @@ -53,129 +53,6 @@ [background-position length(px) / events] expected: FAIL - [background-color color(rgba) / values] - expected: FAIL - - [border-top-width length(pt) / values] - expected: FAIL - - [border-top-width length(pc) / values] - expected: FAIL - - [border-top-width length(px) / values] - expected: FAIL - - [border-top-width length(em) / values] - expected: FAIL - - [border-top-width length(ex) / values] - expected: FAIL - - [border-top-width length(mm) / values] - expected: FAIL - - [border-top-width length(cm) / values] - expected: FAIL - - [border-top-width length(in) / values] - expected: FAIL - - [border-right-width length(pt) / values] - expected: FAIL - - [border-right-width length(pc) / values] - expected: FAIL - - [border-right-width length(px) / values] - expected: FAIL - - [border-right-width length(em) / values] - expected: FAIL - - [border-right-width length(ex) / values] - expected: FAIL - - [border-right-width length(mm) / values] - expected: FAIL - - [border-right-width length(cm) / values] - expected: FAIL - - [border-right-width length(in) / values] - expected: FAIL - - [border-bottom-width length(pt) / values] - expected: FAIL - - [border-bottom-width length(pc) / values] - expected: FAIL - - [border-bottom-width length(px) / values] - expected: FAIL - - [border-bottom-width length(em) / values] - expected: FAIL - - [border-bottom-width length(ex) / values] - expected: FAIL - - [border-bottom-width length(mm) / values] - expected: FAIL - - [border-bottom-width length(cm) / values] - expected: FAIL - - [border-bottom-width length(in) / values] - expected: FAIL - - [border-left-width length(pt) / values] - expected: FAIL - - [border-left-width length(pc) / values] - expected: FAIL - - [border-left-width length(px) / values] - expected: FAIL - - [border-left-width length(em) / values] - expected: FAIL - - [border-left-width length(ex) / values] - expected: FAIL - - [border-left-width length(mm) / values] - expected: FAIL - - [border-left-width length(cm) / values] - expected: FAIL - - [border-left-width length(in) / values] - expected: FAIL - - [border-top-color color(rgba) / values] - expected: FAIL - - [border-right-color color(rgba) / values] - expected: FAIL - - [border-bottom-color color(rgba) / values] - expected: FAIL - - [border-left-color color(rgba) / values] - expected: FAIL - - [padding-bottom length(pt) / values] - expected: FAIL - - [padding-bottom length(pc) / values] - expected: FAIL - - [padding-bottom length(px) / values] - expected: FAIL - - [padding-bottom length(em) / values] - expected: FAIL - [color color(rgba) / values] expected: FAIL @@ -325,3 +202,153 @@ [text-shadow shadow(shadow) / values] expected: FAIL + + [padding-bottom length(ex) / values] + expected: FAIL + + [padding-bottom length(mm) / values] + expected: FAIL + + [padding-bottom length(cm) / values] + expected: FAIL + + [padding-bottom length(in) / values] + expected: FAIL + + [padding-left length(pt) / values] + expected: FAIL + + [padding-left length(pc) / values] + expected: FAIL + + [padding-left length(px) / values] + expected: FAIL + + [padding-left length(em) / values] + expected: FAIL + + [padding-left length(ex) / values] + expected: FAIL + + [padding-left length(mm) / values] + expected: FAIL + + [padding-left length(cm) / values] + expected: FAIL + + [padding-left length(in) / values] + expected: FAIL + + [padding-right length(pt) / values] + expected: FAIL + + [padding-right length(pc) / values] + expected: FAIL + + [padding-right length(px) / values] + expected: FAIL + + [padding-right length(em) / values] + expected: FAIL + + [padding-right length(ex) / values] + expected: FAIL + + [padding-right length(mm) / values] + expected: FAIL + + [padding-right length(cm) / values] + expected: FAIL + + [padding-right length(in) / values] + expected: FAIL + + [padding-top length(pt) / values] + expected: FAIL + + [padding-top length(pc) / values] + expected: FAIL + + [padding-top length(px) / values] + expected: FAIL + + [padding-top length(em) / values] + expected: FAIL + + [padding-top length(ex) / values] + expected: FAIL + + [padding-top length(mm) / values] + expected: FAIL + + [padding-top length(cm) / values] + expected: FAIL + + [padding-top length(in) / values] + expected: FAIL + + [margin-bottom length(pt) / values] + expected: FAIL + + [margin-bottom length(pc) / values] + expected: FAIL + + [margin-bottom length(px) / values] + expected: FAIL + + [margin-bottom length(em) / values] + expected: FAIL + + [margin-bottom length(ex) / values] + expected: FAIL + + [margin-bottom length(mm) / values] + expected: FAIL + + [margin-bottom length(cm) / values] + expected: FAIL + + [margin-bottom length(in) / values] + expected: FAIL + + [margin-left length(pt) / values] + expected: FAIL + + [margin-left length(pc) / values] + expected: FAIL + + [margin-left length(px) / values] + expected: FAIL + + [margin-left length(em) / values] + expected: FAIL + + [margin-left length(ex) / values] + expected: FAIL + + [margin-left length(mm) / values] + expected: FAIL + + [margin-left length(cm) / values] + expected: FAIL + + [margin-left length(in) / values] + expected: FAIL + + [margin-right length(pt) / values] + expected: FAIL + + [margin-right length(pc) / values] + expected: FAIL + + [margin-right length(px) / values] + expected: FAIL + + [margin-right length(em) / values] + expected: FAIL + + [margin-right length(ex) / values] + expected: FAIL + + [margin-right length(mm) / values] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-subpixel.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-subpixel.html.ini new file mode 100644 index 00000000000..8f6f663ba61 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-subpixel.html.ini @@ -0,0 +1,3 @@ +[elementFromPoint-subpixel.html] + [Hit test top left corner of box] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-visibility-hidden-resizer.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-visibility-hidden-resizer.html.ini new file mode 100644 index 00000000000..a6bca7ac372 --- /dev/null +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPoint-visibility-hidden-resizer.html.ini @@ -0,0 +1,3 @@ +[elementFromPoint-visibility-hidden-resizer.html] + [elementFromPoint on resizer area of an element with visibility:hidden] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini index 1bf6ea475bf..3ddd598f5c4 100644 --- a/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini +++ b/tests/wpt/metadata-layout-2020/css/cssom-view/elementFromPosition.html.ini @@ -16,3 +16,6 @@ [test the top of layer] expected: FAIL + + [test some point of the element: top left corner] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/custom-elements/cross-realm-callback-report-exception.html.ini b/tests/wpt/metadata-layout-2020/custom-elements/cross-realm-callback-report-exception.html.ini new file mode 100644 index 00000000000..3c0f593d09c --- /dev/null +++ b/tests/wpt/metadata-layout-2020/custom-elements/cross-realm-callback-report-exception.html.ini @@ -0,0 +1,3 @@ +[cross-realm-callback-report-exception.html] + [constructor] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/dom/events/webkit-transition-end-event.html.ini b/tests/wpt/metadata-layout-2020/dom/events/webkit-transition-end-event.html.ini index c7813a85d31..b7fe8688a23 100644 --- a/tests/wpt/metadata-layout-2020/dom/events/webkit-transition-end-event.html.ini +++ b/tests/wpt/metadata-layout-2020/dom/events/webkit-transition-end-event.html.ini @@ -1,5 +1,4 @@ [webkit-transition-end-event.html] - expected: TIMEOUT [dispatchEvent of an transitionend event does not trigger a prefixed event handler or listener] expected: FAIL @@ -13,7 +12,7 @@ expected: FAIL [event types for prefixed and unprefixed transitionend event listeners should be named appropriately] - expected: NOTRUN + expected: FAIL [ontransitionend and onwebkittransitionend are not aliases] expected: FAIL @@ -26,12 +25,3 @@ [onwebkittransitionend event handler should not trigger if an unprefixed event handler also exists] expected: FAIL - - [webkitTransitionEnd event listener should not trigger if an unprefixed listener also exists] - expected: TIMEOUT - - [webkitTransitionEnd event listener should not trigger if an unprefixed event handler also exists] - expected: NOTRUN - - [webkitTransitionEnd event listener is case sensitive] - expected: NOTRUN diff --git a/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini index ac656410273..e8237fbb8f9 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-length/parsing.window.js.ini @@ -77,8 +77,5 @@ [Input: "Content-Length: ". Expected: 42.] expected: FAIL - [Input: "Content-Length: 42\\r\\nContent-Length: 42". Expected: 42.] - expected: FAIL - - [Input: "Content-Length: 30". Expected: 30.] + [Input: "Content-Length: 42,42". Expected: 42.] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini index d77a92f76a2..be7494e9c52 100644 --- a/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/content-type/script.window.js.ini @@ -52,3 +52,6 @@ [combined text/javascript ] expected: FAIL + + [separate text/javascript x/x] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/metadata/generated/css-images.sub.tentative.html.ini b/tests/wpt/metadata-layout-2020/fetch/metadata/generated/css-images.sub.tentative.html.ini index f9de5391ad6..36a410bfecb 100644 --- a/tests/wpt/metadata-layout-2020/fetch/metadata/generated/css-images.sub.tentative.html.ini +++ b/tests/wpt/metadata-layout-2020/fetch/metadata/generated/css-images.sub.tentative.html.ini @@ -146,3 +146,6 @@ [list-style-image sec-fetch-site - HTTPS downgrade-upgrade] expected: FAIL + + [border-image sec-fetch-site - HTTPS downgrade (header not sent)] + expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/fetch/nosniff/parsing-nosniff.window.js.ini b/tests/wpt/metadata-layout-2020/fetch/nosniff/parsing-nosniff.window.js.ini index ca1272c0009..12ead2b354f 100644 --- a/tests/wpt/metadata-layout-2020/fetch/nosniff/parsing-nosniff.window.js.ini +++ b/tests/wpt/metadata-layout-2020/fetch/nosniff/parsing-nosniff.window.js.ini @@ -10,6 +10,3 @@ [X-Content-Type-Options%3A%0D%0AX-Content-Type-Options%3A%20nosniff] expected: FAIL - - [X-Content-Type-Options%3A%20%22nosniFF%22] - expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini index 856bb1c9901..5f9a07f92f0 100644 --- a/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini +++ b/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini @@ -1,10 +1,6 @@ [iframe-src-aboutblank-navigate-immediately.html] - expected: TIMEOUT [Navigating to a different document with window.open] expected: FAIL [Navigating to a different document with form submission] - expected: TIMEOUT - - [Navigating to a different document with link click] expected: FAIL diff --git a/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-iframe-contentWindow.html.ini b/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-iframe-contentWindow.html.ini index c07cbe00d9b..574b2fd8927 100644 --- a/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-iframe-contentWindow.html.ini +++ b/tests/wpt/metadata-layout-2020/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/load-pageshow-events-iframe-contentWindow.html.ini @@ -2,11 +2,8 @@ [load & pageshow event do not fire on contentWindow of + + + diff --git a/tests/wpt/web-platform-tests/dom/events/event-global-is-still-set-when-reporting-exception-onerror.html b/tests/wpt/web-platform-tests/dom/events/event-global-is-still-set-when-reporting-exception-onerror.html new file mode 100644 index 00000000000..ceaac4fe2b2 --- /dev/null +++ b/tests/wpt/web-platform-tests/dom/events/event-global-is-still-set-when-reporting-exception-onerror.html @@ -0,0 +1,43 @@ + + +window.onerror handler restores window.event after it reports an exception + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html b/tests/wpt/web-platform-tests/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html index fd9418eb703..acad168e56c 100644 --- a/tests/wpt/web-platform-tests/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html +++ b/tests/wpt/web-platform-tests/dom/events/scrolling/scrollend-event-fired-to-element-with-overscroll-behavior.html @@ -81,12 +81,20 @@ function runTest() { 'on target.'); assert_equals(target_div.scrollLeft, 0); - // Scroll up on target div and wait for the element with overscroll-y to get - // scrollend event. + let touchEndPromise = new Promise((resolve) => { + target_div.addEventListener("touchend", resolve); + }); await touchScrollInTarget(300, target_div, 'up'); - await waitFor(() => { return vertical_scrollend_arrived; }, - 'Expected element did not receive scrollend event after scroll up on ' + - 'target.'); + + // The scrollend event should never be fired before the gesture has completed. + await touchEndPromise; + + // Ensure we wait at least a tick after the touch end. + await waitForCompositorCommit(); + + // We should not trigger a scrollend event for a scroll that did not change + // the scroll position. + assert_equals(vertical_scrollend_arrived, false); assert_equals(target_div.scrollTop, 0); }, 'Tests that the last element in the cut scroll chain gets scrollend ' + 'event when no element scrolls by touch.'); diff --git a/tests/wpt/web-platform-tests/dom/nodes/MutationObserver-cross-realm-callback-report-exception.html b/tests/wpt/web-platform-tests/dom/nodes/MutationObserver-cross-realm-callback-report-exception.html new file mode 100644 index 00000000000..7d05c045b3b --- /dev/null +++ b/tests/wpt/web-platform-tests/dom/nodes/MutationObserver-cross-realm-callback-report-exception.html @@ -0,0 +1,32 @@ + + +MutationObserver reports the exception from its callback in the callback's global object + + + + + + diff --git a/tests/wpt/web-platform-tests/domxpath/resolver-callback-interface-cross-realm.html b/tests/wpt/web-platform-tests/domxpath/resolver-callback-interface-cross-realm.html deleted file mode 100644 index 55fbb070a3b..00000000000 --- a/tests/wpt/web-platform-tests/domxpath/resolver-callback-interface-cross-realm.html +++ /dev/null @@ -1,67 +0,0 @@ - - -Cross-realm XPathNSResolver throws TypeError of its associated Realm - - - - - - - - diff --git a/tests/wpt/web-platform-tests/domxpath/resolver-callback-interface-cross-realm.tentative.html b/tests/wpt/web-platform-tests/domxpath/resolver-callback-interface-cross-realm.tentative.html new file mode 100644 index 00000000000..17f7ea78c3a --- /dev/null +++ b/tests/wpt/web-platform-tests/domxpath/resolver-callback-interface-cross-realm.tentative.html @@ -0,0 +1,94 @@ + + +Cross-realm XPathNSResolver throws TypeError of its associated Realm + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/fetch/api/response/response-static-error.any.js b/tests/wpt/web-platform-tests/fetch/api/response/response-static-error.any.js index 4097eab37b4..1f8c49ab006 100644 --- a/tests/wpt/web-platform-tests/fetch/api/response/response-static-error.any.js +++ b/tests/wpt/web-platform-tests/fetch/api/response/response-static-error.any.js @@ -11,6 +11,18 @@ test(function() { assert_true(responseError.headers.entries().next().done, "Headers should be empty"); }, "Check response returned by static method error()"); +promise_test (async function() { + let response = await fetch("../resources/data.json"); + + try { + response.headers.append('name', 'value'); + } catch (e) { + assert_equals(e.constructor.name, "TypeError"); + } + + assert_not_equals(response.headers.get("name"), "value", "response headers should be immutable"); +}, "Ensure response headers are immutable"); + test(function() { const headers = Response.error().headers; diff --git a/tests/wpt/web-platform-tests/geolocation-API/idlharness.https.window.js b/tests/wpt/web-platform-tests/geolocation-API/idlharness.https.window.js index 57cbf59d208..eadd6b7a4fb 100644 --- a/tests/wpt/web-platform-tests/geolocation-API/idlharness.https.window.js +++ b/tests/wpt/web-platform-tests/geolocation-API/idlharness.https.window.js @@ -6,23 +6,9 @@ // https://www.w3.org/TR/geolocation-API/ window.onload = async () => { - await test_driver.set_permission({ name: "geolocation" }, "denied"); - const positionError = await new Promise((resolve, reject) => { - navigator.geolocation.getCurrentPosition(reject, resolve); - }); - - await test_driver.set_permission({ name: "geolocation" }, "granted"); - const position = await new Promise((resolve, reject) => { - navigator.geolocation.getCurrentPosition(resolve, reject); - }); - idl_test(["geolocation"], ["hr-time", "html"], (idl_array) => { idl_array.add_objects({ - Navigator: ["navigator"], Geolocation: ["navigator.geolocation"], - GeolocationPositionError: [positionError], - GeolocationPosition: [position], - GeolocationCoordinates: [position.coords], }); }); }; diff --git a/tests/wpt/web-platform-tests/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js b/tests/wpt/web-platform-tests/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js index fc58aaed908..37678ff12b7 100644 --- a/tests/wpt/web-platform-tests/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js +++ b/tests/wpt/web-platform-tests/html/anonymous-iframe/local-storage-initial-empty-document.tentative.https.window.js @@ -60,11 +60,15 @@ promise_test(async test => { send("${queue_C}", value_E); `); - // Verify the credentialless iframe and the normal one do not have access to each - // other. - assert_equals(await receive(queue_B), value_D); // key_D - assert_equals(await receive(queue_B), ""); // key_E - assert_equals(await receive(queue_C), ""); // key_D - assert_equals(await receive(queue_C), value_E); // key_E -}, "Local storage is correctly partitioned with regards to credentialless iframe " + - "in initial empty documents."); + // Verify the credentialless iframe and the normal one do not have access to + // each other. + assert_equals(await receive(queue_B), value_D, // key_D + "Credentialless iframe can access credentialless context"); + assert_equals(await receive(queue_B), "", // key_E + "Credentialless iframe can't access credentialled context"); + assert_equals(await receive(queue_C), "", // key_D + "Credentialled iframe can't access credentialless context"); + assert_equals(await receive(queue_C), value_E, // key_E + "Credentialled iframe can access credentialled context"); +}, "Local storage is correctly partitioned with regards to credentialless " + + "iframe in initial empty documents."); diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob-cross-realm-callback-report-exception.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob-cross-realm-callback-report-exception.html new file mode 100644 index 00000000000..393170baad8 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob-cross-realm-callback-report-exception.html @@ -0,0 +1,29 @@ + + +toBlob() reports the exception from its callback in the callback's global object + + + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size.html new file mode 100644 index 00000000000..237c9c3646b --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size.html @@ -0,0 +1,31 @@ + + +Intrinsic sizing of SVG embedded via <embed> should disappear on navigation + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-move-into-script-disabled-iframe.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-move-into-script-disabled-iframe.html index 10b644e22fd..79bfa243782 100644 --- a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-move-into-script-disabled-iframe.html +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/image-loading-lazy-move-into-script-disabled-iframe.html @@ -14,10 +14,7 @@ + +
Popover Dialog Open Non-modal Popover Dialog - Defaultopen Popover Dialog - Defaultopen and Open Popover Dialog
Fullscreen Popover
Fullscreen Popover Dialog Fullscreen Open Non-modal Popover Dialog
- + + + + + diff --git a/tests/wpt/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-cross-realm-callback-report-exception.html b/tests/wpt/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-cross-realm-callback-report-exception.html new file mode 100644 index 00000000000..fa153f8f965 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/microtask-queuing/queue-microtask-cross-realm-callback-report-exception.html @@ -0,0 +1,28 @@ + + +queueMicrotask() reports the exception from its callback in the callback's global object + + + + + + diff --git a/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-5.html b/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-5.html new file mode 100644 index 00000000000..da93e782ca9 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-5.html @@ -0,0 +1,25 @@ + + +window.onerror listener reports the exception in global object of its callback + + + + + + + diff --git a/tests/wpt/web-platform-tests/html/webappapis/timers/setinterval-cross-realm-callback-report-exception.html b/tests/wpt/web-platform-tests/html/webappapis/timers/setinterval-cross-realm-callback-report-exception.html new file mode 100644 index 00000000000..4a780fc9329 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/timers/setinterval-cross-realm-callback-report-exception.html @@ -0,0 +1,32 @@ + + +window.setInterval() reports the exception from its callback in the callback's global object + + + + + + diff --git a/tests/wpt/web-platform-tests/html/webappapis/timers/settimeout-cross-realm-callback-report-exception.html b/tests/wpt/web-platform-tests/html/webappapis/timers/settimeout-cross-realm-callback-report-exception.html new file mode 100644 index 00000000000..b4860151a6c --- /dev/null +++ b/tests/wpt/web-platform-tests/html/webappapis/timers/settimeout-cross-realm-callback-report-exception.html @@ -0,0 +1,28 @@ + + +window.setTimeout() reports the exception from its callback in the callback's global object + + + + + + diff --git a/tests/wpt/web-platform-tests/intersection-observer/callback-cross-realm-report-exception.html b/tests/wpt/web-platform-tests/intersection-observer/callback-cross-realm-report-exception.html new file mode 100644 index 00000000000..0bec720485d --- /dev/null +++ b/tests/wpt/web-platform-tests/intersection-observer/callback-cross-realm-report-exception.html @@ -0,0 +1,30 @@ + + +IntersectionObserver reports the exception from its callback in the callback's global object + + + + + + diff --git a/tests/wpt/web-platform-tests/loading/early-hints/preload-with-invalid-as.h2.window.js b/tests/wpt/web-platform-tests/loading/early-hints/preload-with-invalid-as.h2.window.js new file mode 100644 index 00000000000..bebd97887cf --- /dev/null +++ b/tests/wpt/web-platform-tests/loading/early-hints/preload-with-invalid-as.h2.window.js @@ -0,0 +1,14 @@ +// META: script=/common/utils.js +// META: script=resources/early-hints-helpers.sub.js + +test(() => { + const params = new URLSearchParams(); + params.set("description", + "An early hints preload with an invalid `as` attribute should be ignored."); + params.set("resource-url", + SAME_ORIGIN_RESOURCES_URL + "/empty.js?" + token()); + params.set("as", "invalid"); + params.set("should-preload", false); + const test_url = "resources/preload-as-test.h2.py?" + params.toString(); + window.location.replace(new URL(test_url, window.location)); +}); diff --git a/tests/wpt/web-platform-tests/loading/early-hints/preload-without-as.h2.window.js b/tests/wpt/web-platform-tests/loading/early-hints/preload-without-as.h2.window.js index bf77210e5f6..9ac16210504 100644 --- a/tests/wpt/web-platform-tests/loading/early-hints/preload-without-as.h2.window.js +++ b/tests/wpt/web-platform-tests/loading/early-hints/preload-without-as.h2.window.js @@ -3,8 +3,11 @@ test(() => { const params = new URLSearchParams(); + params.set("description", + "An early hints preload without `as` attribute should be ignored."); params.set("resource-url", SAME_ORIGIN_RESOURCES_URL + "/empty.js?" + token()); - const test_url = "resources/preload-without-as.h2.py?" + params.toString(); + params.set("should-preload", false); + const test_url = "resources/preload-as-test.h2.py?" + params.toString(); window.location.replace(new URL(test_url, window.location)); }); diff --git a/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-without-as.h2.py b/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-as-test.h2.py similarity index 68% rename from tests/wpt/web-platform-tests/loading/early-hints/resources/preload-without-as.h2.py rename to tests/wpt/web-platform-tests/loading/early-hints/resources/preload-as-test.h2.py index d37a0a690a8..682edb56dff 100644 --- a/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-without-as.h2.py +++ b/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-as-test.h2.py @@ -3,7 +3,12 @@ import os def handle_headers(frame, request, response): resource_url = request.GET.first(b"resource-url").decode() - link_header_value = "<{}>; rel=preload".format(resource_url) + as_value = request.GET.first(b"as", None) + if as_value: + link_header_value = "<{}>; rel=preload; as={}".format( + resource_url, as_value.decode()) + else: + link_header_value = "<{}>; rel=preload".format(resource_url) early_hints = [ (b":status", b"103"), (b"link", link_header_value), @@ -18,7 +23,7 @@ def handle_headers(frame, request, response): def main(request, response): current_dir = os.path.dirname(os.path.realpath(__file__)) - file_path = os.path.join(current_dir, "preload-without-as.html") + file_path = os.path.join(current_dir, "preload-as-test.html") with open(file_path, "r") as f: test_content = f.read() response.writer.write_data(item=test_content, last=True) diff --git a/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-without-as.html b/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-as-test.html similarity index 56% rename from tests/wpt/web-platform-tests/loading/early-hints/resources/preload-without-as.html rename to tests/wpt/web-platform-tests/loading/early-hints/resources/preload-as-test.html index f0473bd5053..daea33160ae 100644 --- a/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-without-as.html +++ b/tests/wpt/web-platform-tests/loading/early-hints/resources/preload-as-test.html @@ -5,11 +5,14 @@ diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-baseline.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-baseline.html index cc007cf81ff..0086646859a 100644 --- a/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-baseline.html +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-baseline.html @@ -20,13 +20,13 @@ window.addEventListener("load", runTests); function runTests() { - ["Mrow", "Sqrt", "Style", "Error", "Phantom", "Math", "Menclose", "Mpadded", "Unknown", "Mtd"].forEach((tag) => { - var x = document.getElementById("above" + tag).getBoundingClientRect(); - var y = document.getElementById("below" + tag).getBoundingClientRect(); + ["Mrow", "Sqrt", "Style", "Error", "Phantom", "Math", "Menclose", "Mpadded", "Unknown", "Mtd", "None", "Mprescripts"].forEach((tag) => { + var x = document.getElementById(`above${tag}`).getBoundingClientRect(); + var y = document.getElementById(`below${tag}`).getBoundingClientRect(); test(function() { assert_true(MathMLFeatureDetection.has_mspace()); assert_equals(x.bottom, y.top); - }, "baseline alignment inside " + tag); + }, `baseline alignment inside ${tag}`); }); done(); } @@ -50,6 +50,8 @@ > + +

diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-stretchy.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-stretchy.html index a1e409a248e..614438deb30 100644 --- a/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-stretchy.html +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-stretchy.html @@ -32,12 +32,12 @@ window.addEventListener("load", () => { loadAllFonts().then(runTests); }); function runTests() { - ["Mrow", "Sqrt", "Style", "Error", "Phantom", "Math", "Menclose", "Mpadded", "Unknown", "Mtd"].forEach((tag) => { - var mo = document.getElementById("mo" + tag); + ["Mrow", "Sqrt", "Style", "Error", "Phantom", "Math", "Menclose", "Mpadded", "Unknown", "Mtd", "None", "Mprescripts"].forEach((tag) => { + var mo = document.getElementById(`mo${tag}`); test(function() { assert_true(MathMLFeatureDetection.has_mspace()); assert_greater_than_equal(mo.getBoundingClientRect().height, 100); - }, "operator stretching inside " + tag); + }, `operator stretching inside ${tag}`); }); done(); } @@ -57,6 +57,8 @@ + +

diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/mprescripts-001-ref.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/mprescripts-001-ref.html new file mode 100644 index 00000000000..f8631539c02 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/mprescripts-001-ref.html @@ -0,0 +1,19 @@ + + + + + mprescripts should render as an mrow (reference) + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/mprescripts-001.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/mprescripts-001.html new file mode 100644 index 00000000000..2435b6291d5 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/mprescripts-001.html @@ -0,0 +1,26 @@ + + + + + mprescripts should render as an mrow + + + + + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-001-ref.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-001-ref.html new file mode 100644 index 00000000000..55add014151 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-001-ref.html @@ -0,0 +1,19 @@ + + + + + none should render as an mrow (reference) + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-001.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-001.html new file mode 100644 index 00000000000..f1bfb442f79 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-001.html @@ -0,0 +1,26 @@ + + + + + none should render as an mrow + + + + + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-002-ref.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-002-ref.html new file mode 100644 index 00000000000..dac4dab553d --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-002-ref.html @@ -0,0 +1,73 @@ + + + + + none used at other places than mmultiscripts' script (reference) + + + + +

+ + + + 2 + + + + + 1 + + + +

+

+ + + + 2 + + + + + 1 + + + +

+

+ + + + 2 + 3 + + + + + 1 + + 3 + + + + + 1 + 2 + + + +

+

+ + + + 2 + 3 + + +

+ + diff --git a/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-002.html b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-002.html new file mode 100644 index 00000000000..d1f3a3a0e12 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/presentation-markup/scripts/none-002.html @@ -0,0 +1,76 @@ + + + + + none used at other places than mmultiscripts' script + + + + + + + +

+ + + + 2 + + + + + 1 + + + +

+

+ + + + 2 + + + + + 1 + + + +

+

+ + + + 2 + 3 + + + + + 1 + + 3 + + + + + 1 + 2 + + + +

+

+ + + + 2 + 3 + + +

+ + diff --git a/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/absolutely-positioned-001-ref.html b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/absolutely-positioned-001-ref.html new file mode 100644 index 00000000000..447c5b722a5 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/absolutely-positioned-001-ref.html @@ -0,0 +1,18 @@ + + + + +Absolutely positioned (reference) + +

Test passes if you see a green square and no red.

+
+ + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/absolutely-positioned-001.html b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/absolutely-positioned-001.html new file mode 100644 index 00000000000..9a7851ba239 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/absolutely-positioned-001.html @@ -0,0 +1,25 @@ + + + + +Absolutely positioned + + + + + +

Test passes if you see a green square and no red.

+
+ + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/all-mathml-containers.html b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/all-mathml-containers.html new file mode 100644 index 00000000000..9069b926373 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/all-mathml-containers.html @@ -0,0 +1,103 @@ + + + + +absolutely positioned in all MathML elements + + + + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/fixed-positioned-001-ref.html b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/fixed-positioned-001-ref.html new file mode 100644 index 00000000000..03b9f566984 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/fixed-positioned-001-ref.html @@ -0,0 +1,28 @@ + + + + +Fixed positioned (reference) + + +
+ + + + + + + +

Test passes if you see a green square and no red.

+
+ + + diff --git a/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/fixed-positioned-001.html b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/fixed-positioned-001.html new file mode 100644 index 00000000000..994174162c5 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/relations/css-styling/out-of-flow/fixed-positioned-001.html @@ -0,0 +1,35 @@ + + + + +Fixed positioned + + + + + + +
+ + + + + + + + + + +

Test passes if you see a green square and no red.

+
+ + + diff --git a/tests/wpt/web-platform-tests/mathml/relations/css-styling/overflow/computed-value-001.html b/tests/wpt/web-platform-tests/mathml/relations/css-styling/overflow/computed-value-001.html new file mode 100644 index 00000000000..0510f1da6d3 --- /dev/null +++ b/tests/wpt/web-platform-tests/mathml/relations/css-styling/overflow/computed-value-001.html @@ -0,0 +1,45 @@ + + + + +overflow on MathML elements + + + + + + + + +
+
+ +
+ + + diff --git a/tests/wpt/web-platform-tests/pointerevents/pointerevent_attributes_hoverable_pointers.html b/tests/wpt/web-platform-tests/pointerevents/pointerevent_attributes_hoverable_pointers.html index 6051991375e..a6158d59d6e 100644 --- a/tests/wpt/web-platform-tests/pointerevents/pointerevent_attributes_hoverable_pointers.html +++ b/tests/wpt/web-platform-tests/pointerevents/pointerevent_attributes_hoverable_pointers.html @@ -14,7 +14,7 @@ + + + + + diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/animation-timeline-computed.html b/tests/wpt/web-platform-tests/scroll-animations/css/animation-timeline-computed.html index 68ba1f22aac..29486a02c19 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/css/animation-timeline-computed.html +++ b/tests/wpt/web-platform-tests/scroll-animations/css/animation-timeline-computed.html @@ -22,16 +22,17 @@ test_computed_value('animation-timeline', 'auto, auto'); test_computed_value('animation-timeline', 'none, none'); test_computed_value('animation-timeline', 'auto, none'); test_computed_value('animation-timeline', 'none, auto'); -test_computed_value('animation-timeline', '"test"', ["test", '"test"']); +test_computed_value('animation-timeline', '"test"', 'test'); test_computed_value('animation-timeline', '"none"'); test_computed_value('animation-timeline', '"auto"'); test_computed_value('animation-timeline', '"initial"'); test_computed_value('animation-timeline', '"inherit"'); test_computed_value('animation-timeline', '"unset"'); test_computed_value('animation-timeline', '"revert"'); +test_computed_value('animation-timeline', '"revert-layer"'); test_computed_value('animation-timeline', 'test'); test_computed_value('animation-timeline', 'test1, test2'); -test_computed_value('animation-timeline', 'test1, "test2", none, test3, auto', ["test1, test2, none, test3, auto", 'test1, "test2", none, test3, auto']); +test_computed_value('animation-timeline', 'test1, "test2", none, test3, auto', 'test1, test2, none, test3, auto'); test(() => { let style = getComputedStyle(document.getElementById('target')); diff --git a/tests/wpt/web-platform-tests/scroll-animations/view-timelines/view-timeline-inset.html b/tests/wpt/web-platform-tests/scroll-animations/view-timelines/view-timeline-inset.html index 4864d63b386..0dcce6d48dc 100644 --- a/tests/wpt/web-platform-tests/scroll-animations/view-timelines/view-timeline-inset.html +++ b/tests/wpt/web-platform-tests/scroll-animations/view-timelines/view-timeline-inset.html @@ -157,4 +157,14 @@ promise_test(async t => { rangeEnd: 900 - 0.1 * vmin }); }, 'view timeline with viewport relative insets.'); + + +promise_test(async t => { + assert_throws_dom('NOT_SUPPORTED_ERR', () => { + new ViewTimeline({ + subject: target, + inset: [ CSS.rad(1) ] + }); + }); +}, 'view timeline with invalid inset'); diff --git a/tests/wpt/web-platform-tests/speculation-rules/prefetch/document-rules.https.html b/tests/wpt/web-platform-tests/speculation-rules/prefetch/document-rules.https.html new file mode 100644 index 00000000000..a5030f6938b --- /dev/null +++ b/tests/wpt/web-platform-tests/speculation-rules/prefetch/document-rules.https.html @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/speculation-rules/prefetch/prefetch-traverse-reload.sub.html b/tests/wpt/web-platform-tests/speculation-rules/prefetch/prefetch-traverse-reload.sub.html new file mode 100644 index 00000000000..86e03ed7b79 --- /dev/null +++ b/tests/wpt/web-platform-tests/speculation-rules/prefetch/prefetch-traverse-reload.sub.html @@ -0,0 +1,43 @@ + + + + + + + + diff --git a/tests/wpt/web-platform-tests/speculation-rules/prefetch/redirect-url.https.html b/tests/wpt/web-platform-tests/speculation-rules/prefetch/redirect-url.https.html index 8515c610269..07db405dc3f 100644 --- a/tests/wpt/web-platform-tests/speculation-rules/prefetch/redirect-url.https.html +++ b/tests/wpt/web-platform-tests/speculation-rules/prefetch/redirect-url.https.html @@ -13,7 +13,6 @@ insertSpeculationRules({ prefetch: [{ source: 'list', urls: [url] }] }); await new Promise(resolve => t.step_timeout(resolve, 2000)); - let was_prefetched = await isUrlPrefetched(url); - assert_true(was_prefetched, "redirected url should be prefetched"); + assert_equals(await isUrlPrefetched(url), 1, "redirected url should be prefetched"); }, "browser should be able to prefetch redirected urls"); diff --git a/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy-from-rules.https.html b/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy-from-rules.https.html index 01e32ba1400..ce3db0f999a 100644 --- a/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy-from-rules.https.html +++ b/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy-from-rules.https.html @@ -6,7 +6,8 @@ - + + @@ -34,6 +35,25 @@ subsetTest(promise_test, async t => { assert_equals(headers.referer, expectedReferrer, "must send the origin as the referrer"); }, 'with "strict-origin" referrer policy in rule set overriding "strict-origin-when-cross-origin" of referring page'); +subsetTest(promise_test, async t => { + assert_implements(HTMLScriptElement.supports('speculationrules'), "Speculation Rules not supported"); + + const agent = await spawnWindow(t); + const next_url = agent.getExecutorURL({ page: 2 }); + await agent.execute_script((url) => { + const a = addLink(url); + a.referrerPolicy = 'no-referrer'; + insertDocumentRule(undefined, { referrer_policy: 'strict-origin' }); + }, [next_url]); + await new Promise(resolve => t.step_timeout(resolve, 2000)); + await agent.navigate(next_url); + + const headers = await agent.getRequestHeaders(); + assert_prefetched(headers, 'must be prefetched'); + const expected_referrer = next_url.origin + '/'; + assert_equals(headers.referer, expected_referrer, 'must send the origin as the referrer'); +}, 'with "strict-origin" referrer policy in rule set override "no-referrer" of link'); + subsetTest(promise_test, async t => { assert_implements(HTMLScriptElement.supports('speculationrules'), "Speculation Rules not supported"); diff --git a/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy.https.html b/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy.https.html index aaeae161e3c..1987d2e2ff4 100644 --- a/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy.https.html +++ b/tests/wpt/web-platform-tests/speculation-rules/prefetch/referrer-policy.https.html @@ -4,7 +4,8 @@ - + + @@ -63,4 +64,25 @@ subsetTest(promise_test, async t => { assert_equals(headers.referer, '', "must send no referrer"); }, 'with "no-referrer" referrer policy'); +subsetTest(promise_test, async t => { + assert_implements(HTMLScriptElement.supports('speculationrules'), "Speculation Rules not supported"); + + const agent = await spawnWindow(t); + await agent.setReferrerPolicy("no-referrer"); + + const next_url = agent.getExecutorURL({ page: 2 }); + await agent.execute_script((url) => { + const a = addLink(url); + a.referrerPolicy = 'strict-origin'; + insertDocumentRule(); + }, [next_url]); + await new Promise(resolve => t.step_timeout(resolve, 2000)); + await agent.navigate(next_url); + + const headers = await agent.getRequestHeaders(); + const expected_referrer = next_url.origin + '/'; + assert_prefetched(headers, 'must be prefetched'); + assert_equals(headers.referer, expected_referrer); +}, 'with "strict-origin" link referrer policy overriding "no-referrer" of referring page'); + diff --git a/tests/wpt/web-platform-tests/speculation-rules/prefetch/resources/utils.sub.js b/tests/wpt/web-platform-tests/speculation-rules/prefetch/resources/utils.sub.js index f532f35450e..b29dd6bba13 100644 --- a/tests/wpt/web-platform-tests/speculation-rules/prefetch/resources/utils.sub.js +++ b/tests/wpt/web-platform-tests/speculation-rules/prefetch/resources/utils.sub.js @@ -96,14 +96,17 @@ class PrefetchAgent extends RemoteContext { } } +// Produces a URL with a UUID which will record when it's prefetched. +// |extra_params| can be specified to add extra search params to the generated +// URL. +function getPrefetchUrl(extra_params={}) { + let params = new URLSearchParams({ uuid: token(), ...extra_params }); + return new URL(`prefetch.py?${params}`, SR_PREFETCH_UTILS_URL); +} + // Produces n URLs with unique UUIDs which will record when they are prefetched. function getPrefetchUrlList(n) { - let urls = []; - for (let i=0; i getPrefetchUrl()); } function getRedirectUrl() { @@ -132,6 +135,28 @@ function insertSpeculationRules(body) { document.head.appendChild(script); } +// Creates and appends to |insertion point|. If +// |insertion_point| is not specified, document.body is used. +function addLink(href, insertion_point=document.body) { + const a = document.createElement('a'); + a.href = href; + insertion_point.appendChild(a); + return a; +} + +// Inserts a prefetch document rule with |predicate|. |predicate| can be +// undefined, in which case the default predicate will be used (i.e. all links +// in document will match). +function insertDocumentRule(predicate, extra_options={}) { + insertSpeculationRules({ + prefetch: [{ + source: 'document', + where: predicate, + ...extra_options + }] + }); +} + function assert_prefetched (requestHeaders, description) { assert_in_array(requestHeaders.purpose, ["", "prefetch"], "The vendor-specific header Purpose, if present, must be 'prefetch'."); assert_equals(requestHeaders.sec_purpose, "prefetch", description); diff --git a/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-non-successful.html b/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-non-successful.html index 00701f1471e..149971719cc 100644 --- a/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-non-successful.html +++ b/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-non-successful.html @@ -1,5 +1,11 @@ Check that non-successful responses result in discarding the prerender + + + + + + @@ -11,17 +17,14 @@ setup(() => assertSpeculationRulesIsSupported()); -function test_prerender_response_code(code) { - promise_test(async t => { - const {exec, tryToActivate} = await create_prerendered_page(t, {code}); - const result = await tryToActivate(); - assert_equals(result, 'discarded'); - },`Responses with code ${code} should be discarded`); -} +const params = new URLSearchParams(window.location.search); +const code = params.get('code'); -for (const code of [204, 205, 402, 404, 500, 503]) { - test_prerender_response_code(code); -} +promise_test(async t => { + const {exec, tryToActivate} = await create_prerendered_page(t, {code}); + const result = await tryToActivate(); + assert_equals(result, 'discarded'); +},`Responses with code ${code} should be discarded`); diff --git a/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-successful.html b/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-successful.html index cc70b8c641d..adf8a8932f7 100644 --- a/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-successful.html +++ b/tests/wpt/web-platform-tests/speculation-rules/prerender/response-code-successful.html @@ -1,5 +1,9 @@ Check that successful responses result in activating the prerender + + + + @@ -11,17 +15,14 @@ setup(() => assertSpeculationRulesIsSupported()); -function test_prerender_response_code(code) { - promise_test(async t => { - const {exec, tryToActivate} = await create_prerendered_page(t, {code}); - const result = await tryToActivate(); - assert_equals(result, 'activated'); - },`Responses with code ${code} should be activated`); -} +const params = new URLSearchParams(window.location.search); +const code = params.get('code'); -for (const code of [200, 201, 202, 203]) { - test_prerender_response_code(code); -} +promise_test(async t => { + const {exec, tryToActivate} = await create_prerendered_page(t, {code}); + const result = await tryToActivate(); + assert_equals(result, 'activated'); +},`Responses with code ${code} should be activated`); diff --git a/tests/wpt/web-platform-tests/svg/struct/reftests/nested-svg-through-display-contents.svg b/tests/wpt/web-platform-tests/svg/struct/reftests/nested-svg-through-display-contents.svg index f5440303502..1be64d5242f 100644 --- a/tests/wpt/web-platform-tests/svg/struct/reftests/nested-svg-through-display-contents.svg +++ b/tests/wpt/web-platform-tests/svg/struct/reftests/nested-svg-through-display-contents.svg @@ -2,26 +2,12 @@ - + - - + + + + + + diff --git a/tests/wpt/web-platform-tests/svg/struct/reftests/reference/nested-svg-through-display-contents-ref.svg b/tests/wpt/web-platform-tests/svg/struct/reftests/reference/nested-svg-through-display-contents-ref.svg deleted file mode 100644 index 622978f3788..00000000000 --- a/tests/wpt/web-platform-tests/svg/struct/reftests/reference/nested-svg-through-display-contents-ref.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tests/wpt/web-platform-tests/uievents/mouse/attributes.html b/tests/wpt/web-platform-tests/uievents/mouse/attributes.html new file mode 100644 index 00000000000..bbc388445c0 --- /dev/null +++ b/tests/wpt/web-platform-tests/uievents/mouse/attributes.html @@ -0,0 +1,61 @@ + +MouseEvent attributes + + + + + + + +Left Right + + diff --git a/tests/wpt/web-platform-tests/web-bundle/README.md b/tests/wpt/web-platform-tests/web-bundle/README.md index 90c13069bac..3e300818e24 100644 --- a/tests/wpt/web-platform-tests/web-bundle/README.md +++ b/tests/wpt/web-platform-tests/web-bundle/README.md @@ -5,6 +5,6 @@ This directory contains tests for the [webpackage repository](https://github.com/WICG/webpackage). To install them, run: ``` -go get -u github.com/WICG/webpackage/go/bundle/cmd/... +go install github.com/WICG/webpackage/go/bundle/cmd/...@latest export PATH=$PATH:$(go env GOPATH)/bin ``` diff --git a/tests/wpt/web-platform-tests/web-bundle/resources/generate-test-wbns.sh b/tests/wpt/web-platform-tests/web-bundle/resources/generate-test-wbns.sh index be854344156..418a56e0e7c 100755 --- a/tests/wpt/web-platform-tests/web-bundle/resources/generate-test-wbns.sh +++ b/tests/wpt/web-platform-tests/web-bundle/resources/generate-test-wbns.sh @@ -4,7 +4,7 @@ set -e if ! command -v gen-bundle > /dev/null 2>&1; then echo "gen-bundle is not installed. Please run:" - echo " go get -u github.com/WICG/webpackage/go/bundle/cmd/..." + echo " go install github.com/WICG/webpackage/go/bundle/cmd/...@latest" echo ' export PATH=$PATH:$(go env GOPATH)/bin' exit 1 fi diff --git a/tests/wpt/web-platform-tests/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html b/tests/wpt/web-platform-tests/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html index 78562419841..773da84c0c5 100644 --- a/tests/wpt/web-platform-tests/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html +++ b/tests/wpt/web-platform-tests/web-share/disabled-by-permissions-policy-cross-origin.https.sub.html @@ -33,7 +33,7 @@ async function loadIframe(t, src, allowList) { const iframe = document.createElement("iframe"); - if (allowList !== null) iframe.allow = allowList; + if (allowList !== undefined) iframe.allow = allowList; t.add_cleanup(() => { iframe.remove(); }); @@ -58,7 +58,7 @@ promise_test(async (t) => { assert_true("share" in navigator, "navigator.share is exposed"); - const iframe = await loadIframe(t, crossOriginSrc, "web-share=()"); + const iframe = await loadIframe(t, crossOriginSrc, "web-share 'none'"); const iframeWindow = iframe.contentWindow; iframeWindow.postMessage({ action: "share", data: shareData }, "*"); const data = await waitForMessage("share"); @@ -68,7 +68,7 @@ promise_test(async (t) => { assert_true("share" in navigator, "navigator.share is exposed"); - const iframe = await loadIframe(t, crossOriginSrc, "web-share=(self)"); + const iframe = await loadIframe(t, crossOriginSrc, "web-share 'self'"); const iframeWindow = iframe.contentWindow; iframeWindow.postMessage({ action: "share", data: shareData }, "*"); const data = await waitForMessage("share"); @@ -106,7 +106,7 @@ promise_test(async (t) => { assert_true("canShare" in navigator, "navigator.canShare is exposed"); - const iframe = await loadIframe(t, sameOriginPath, "web-share=(self)"); + const iframe = await loadIframe(t, sameOriginPath, "web-share 'self'"); iframe.contentWindow.postMessage( { action: "canShare", data: shareData }, "*" diff --git a/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_tab.py b/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_tab.py index 270e4b51b88..f6cacf3c358 100644 --- a/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_tab.py +++ b/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_tab.py @@ -61,3 +61,29 @@ def test_sets_no_opener(session): session.window_handle = value["handle"] assert opener(session) is None + + +def test_focus_content(session, inline): + response = new_window(session, type_hint="tab") + value = assert_success(response) + assert value["type"] == "tab" + + session.window_handle = value["handle"] + + session.url = inline(""" + abc + + """) + + elem = session.find.css("span", all=False) + assert elem.attribute("_focused") == "true" diff --git a/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_window.py b/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_window.py index d3c22450270..a3fce364ccc 100644 --- a/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_window.py +++ b/tests/wpt/web-platform-tests/webdriver/tests/new_window/new_window.py @@ -61,3 +61,29 @@ def test_sets_no_opener(session): session.window_handle = value["handle"] assert opener(session) is None + + +def test_focus_content(session, inline): + response = new_window(session, type_hint="window") + value = assert_success(response) + assert value["type"] == "window" + + session.window_handle = value["handle"] + + session.url = inline(""" + abc + + """) + + elem = session.find.css("span", all=False) + assert elem.attribute("_focused") == "true" diff --git a/tests/wpt/web-platform-tests/webidl/ecmascript-binding/observable-array-no-leak-of-internals.window.js b/tests/wpt/web-platform-tests/webidl/ecmascript-binding/observable-array-no-leak-of-internals.window.js new file mode 100644 index 00000000000..f93464005d0 --- /dev/null +++ b/tests/wpt/web-platform-tests/webidl/ecmascript-binding/observable-array-no-leak-of-internals.window.js @@ -0,0 +1,18 @@ +"use strict"; + +test(() => { + const observableArray = document.adoptedStyleSheets; + + let leaked_target = null; + let leaked_handler = null; + + let target_leaker = (target) => { leaked_target = target; return null; }; + Object.defineProperty(Object.prototype, "getPrototypeOf", {get: function() { + leaked_handler = this; + return target_leaker; + }}) + Object.getPrototypeOf(observableArray); + + assert_equals(leaked_target, null, "The proxy target leaked."); + assert_equals(leaked_handler, null, "The proxy handler leaked."); +}, "ObservableArray's internals won't leak"); diff --git a/tests/wpt/web-platform-tests/webrtc-encoded-transform/RTCEncodedVideoFrame-clone.https.html b/tests/wpt/web-platform-tests/webrtc-encoded-transform/RTCEncodedVideoFrame-clone.https.html new file mode 100644 index 00000000000..29330729dcc --- /dev/null +++ b/tests/wpt/web-platform-tests/webrtc-encoded-transform/RTCEncodedVideoFrame-clone.https.html @@ -0,0 +1,61 @@ + + +RTCEncodedVideoFrame can be cloned and distributed + + + + + + + + +