Truly independent web browser
Tests/LibWeb: Import and update CSS Color WPT tests
Andreas Kling1ea796d6e992
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/light-dark-image.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/light-dark-image.txtnew file mode 100644index 00000000000..c5f616f116b--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/light-dark-image.txt@@ -0,0 +1,41 @@+Harness status: OK++Found 35 tests++8 Pass+27 Fail+Fail background-image: light-dark(url('light.png'), url('dark.png'))+Fail background-image: light-dark(none, url('dark.png'))+Fail background-image: light-dark(url('light.png'), none)+Fail background-image: light-dark(none, none)+Fail background-image: light-dark(linear-gradient(red, blue), linear-gradient(green, yellow))+Fail background-image: light-dark(radial-gradient(red, blue), radial-gradient(green, yellow))+Fail background-image: light-dark(conic-gradient(red, blue), conic-gradient(green, yellow))+Fail background-image: light-dark(repeating-linear-gradient(red, blue 50px), repeating-linear-gradient(green, yellow 50px))+Fail background-image: light-dark(url('light.png'), linear-gradient(red, blue))+Fail background-image: light-dark(linear-gradient(red, blue), url('dark.png'))+Fail background-image: light-dark(none, linear-gradient(red, blue))+Fail background-image: light-dark(linear-gradient(red, blue), none)+Fail list-style-image: light-dark(url('light.png'), url('dark.png'))+Fail list-style-image: light-dark(none, url('dark.png'))+Fail list-style-image: light-dark(url('light.png'), none)+Fail border-image-source: light-dark(url('light.png'), url('dark.png'))+Fail border-image-source: light-dark(linear-gradient(red, blue), linear-gradient(green, yellow))+Fail content: light-dark(url('light.png'), url('dark.png'))+Fail background-image: light-dark(light-dark(url('a.png'), url('b.png')), url('c.png'))+Fail background-image: light-dark(url('a.png'), light-dark(url('b.png'), url('c.png')))+Fail background-image: light-dark() inside image-set()+Fail background-image: image-set() inside light-dark()+Fail background-image: light-dark() inside -webkit-cross-fade()+Fail background-image: light-dark() inside -webkit-cross-fade() inside image-set()+Fail Serialization round-trip for light-dark() image+Fail Inherited light-dark() image resolves with parent's color-scheme+Fail light-dark() image responds to dynamic color-scheme changes+Pass background-image: light-dark() (invalid)+Pass background-image: light-dark(url(a.png)) (invalid)+Pass background-image: light-dark(url(a.png) url(b.png)) (invalid)+Pass background-image: light-dark(url(a.png),,url(b.png)) (invalid)+Pass background-image: light-dark(red, green) (invalid)+Pass background-image: light-dark(red, url(a.png)) (invalid)+Pass background-image: light-dark(url(a.png), red) (invalid)+Pass background-image: light-dark(url(a.png), url(b.png), url(c.png)) (invalid)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/alpha-color-computed.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/alpha-color-computed.txtnew file mode 100644index 00000000000..d787cce16e8--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/alpha-color-computed.txt@@ -0,0 +1,38 @@+Harness status: OK++Found 33 tests++33 Fail+Fail Property color value 'alpha(from red / 0.5)'+Fail Property color value 'alpha(from blue / 0)'+Fail Property color value 'alpha(from rebeccapurple / 1)'+Fail Property color value 'alpha(from red / 50%)'+Fail Property color value 'alpha(from red / 0%)'+Fail Property color value 'alpha(from red / none)'+Fail Property color value 'color-mix(in srgb, rgb(255 0 0 / 0.5), alpha(from red / none))'+Fail Property color value 'alpha(from red / 2)'+Fail Property color value 'alpha(from red / -1)'+Fail Property color value 'alpha(from rgba(255, 0, 0, 0.3) / 0.8)'+Fail Property color value 'alpha(from color(display-p3 1 0 0) / 0.5)'+Fail Property color value 'alpha(from color(srgb 1 0 0) / 0.5)'+Fail Property color value 'alpha(from color(srgb 1 0 0) / 50%)'+Fail Property color value 'alpha(from rgba(255, 0, 0, 0.8) / calc(alpha + 0.1))'+Fail Property color value 'alpha(from rebeccapurple / calc(alpha / 1))'+Fail Property color value 'alpha(from alpha(from red / 0.5) / calc(alpha + 0.25))'+Fail Property color value 'alpha(from alpha(from rebeccapurple / 0%) / 100%)'+Fail Property color value 'alpha(from color-mix(in srgb, red, blue) / 0.5)'+Fail Property color value 'alpha(from rgb(from red r g b) / 0.8)'+Fail Property color value 'alpha(from rgb(none none none / none) / alpha)'+Fail Property color value 'alpha(from rgb(none none none) / alpha)'+Fail Property color value 'alpha(from rgb(0 255 0 / none) / alpha)'+Fail Property color value 'alpha(from rgb(0 none 0) / alpha)'+Fail Property color value 'rgb(from alpha(from red / 0.5) r g b / alpha)'+Fail Property color value 'hsl(from alpha(from red / 0.5) h s l / alpha)'+Fail Property color value 'lab(from alpha(from lab(50% 20 -30) / 0.5) l a b / alpha)'+Fail Property color value 'oklch(from alpha(from oklch(50% 0.2 120) / 0.5) l c h / alpha)'+Fail Property color value 'color(from alpha(from red / 1.5) srgb r g b / calc(alpha - 0.2))'+Fail Property background-color value 'alpha(from currentcolor / 0.5)'+Fail Property background-color value 'alpha(from currentcolor / alpha)'+Fail Property background-color value 'alpha(from currentcolor / none)'+Fail Property background-color value 'alpha(from currentcolor / 50%)'+Fail Property background-color value 'alpha(from currentcolor / calc(alpha * 0.5))'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/alpha-color-parsing-valid.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/alpha-color-parsing-valid.txtnew file mode 100644index 00000000000..7557c042e7b--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/alpha-color-parsing-valid.txt@@ -0,0 +1,51 @@+Harness status: OK++Found 45 tests++1 Pass+44 Fail+Fail e.style['color'] = "alpha(from red / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from blue / 1)" should set the property value+Fail e.style['color'] = "alpha(from green / 0)" should set the property value+Fail e.style['color'] = "alpha(from rgba(0, 0, 0, 0.5) / 1)" should set the property value+Fail e.style['color'] = "alpha(from currentcolor / 1)" should set the property value+Fail e.style['color'] = "alpha(from currentcolor / 100%)" should set the property value+Fail e.style['color'] = "alpha(from alpha(from currentcolor / 0.5) / 1)" should set the property value+Fail e.style['color'] = "alpha(from red / 50%)" should set the property value+Fail e.style['color'] = "alpha(from red / 0%)" should set the property value+Fail e.style['color'] = "alpha(from red / 100%)" should set the property value+Fail e.style['color'] = "alpha(from red / none)" should set the property value+Fail e.style['color'] = "alpha(from currentcolor / alpha)" should set the property value+Fail e.style['color'] = "alpha(from currentcolor / calc(alpha * 0.5))" should set the property value+Fail e.style['color'] = "alpha(from currentcolor / calc(alpha + 0.1))" should set the property value+Fail e.style['color'] = "color-mix(in srgb, alpha(from red / 0.5), blue)" should set the property value+Fail e.style['color'] = "rgb(from alpha(from currentcolor / 0.5) r g b)" should set the property value+Fail e.style['color'] = "alpha(from color-mix(in srgb, red, blue) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from rgb(from red r g b) / 0.8)" should set the property value+Fail e.style['color'] = "alpha(from color(display-p3 1 0 0) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from lab(50 20 -30) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from oklch(0.5 0.2 120) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from currentcolor / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from red / 2)" should set the property value+Fail e.style['color'] = "alpha(from red / -1)" should set the property value+Fail e.style['color'] = "alpha(from rgba(255, 0, 0, 0.8) / alpha)" should set the property value+Fail e.style['color'] = "alpha(from color(srgb 1 0 0) / 50%)" should set the property value+Fail e.style['color'] = "alpha(from oklab(0.5 0.2 -0.3) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from lch(50% 20 30) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from hsl(120 50% 50%) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from hwb(120 0% 0%) / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from ActiveText / 0.5)" should set the property value+Fail e.style['color'] = "alpha(from green / sibling-index())" should set the property value+Fail e.style['color'] = "alpha(from green / sibling-count())" should set the property value+Fail e.style['color'] = "alpha(from green / calc(sibling-index() * 0.2))" should set the property value+Pass e.style['color'] = "alpha(from red / var(--alpha))" should set the property value+Fail e.style['color'] = "alpha(from alpha(from currentcolor / 0.5) / alpha)" should set the property value+Fail e.style['color'] = "alpha(from alpha(from currentcolor / 0.5) / calc(alpha + 0.25))" should set the property value+Fail e.style['color'] = "rgb(from alpha(from red / 0.5) r g b / alpha)" should set the property value+Fail e.style['color'] = "hsl(from alpha(from currentcolor / 0.5) h s l / alpha)" should set the property value+Fail e.style['color'] = "hwb(from alpha(from currentcolor / 0.5) h w b / alpha)" should set the property value+Fail e.style['color'] = "lab(from alpha(from currentcolor / 0.5) l a b / alpha)" should set the property value+Fail e.style['color'] = "lch(from alpha(from currentcolor / 0.5) l c h / alpha)" should set the property value+Fail e.style['color'] = "oklab(from alpha(from currentcolor / 0.5) l a b / alpha)" should set the property value+Fail e.style['color'] = "oklch(from alpha(from currentcolor / 0.5) l c h / alpha)" should set the property value+Fail e.style['color'] = "color(from alpha(from currentcolor / 0.5) display-p3 r g b / alpha)" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-color-mix-function.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-color-mix-function.txtindex ee4b1470fce..03aa8b3cee8 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-color-mix-function.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-color-mix-function.txt@@ -1,9 +1,9 @@Harness status: OK-Found 894 tests+Found 974 tests-888 Pass-6 Fail+904 Pass+70 FailPass Property color value 'color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%))'Pass Property color value 'color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%))'Pass Property color value 'color-mix(in hsl, 25% hsl(120deg 10% 20%), hsl(30deg 30% 40%))'@@ -74,7 +74,7 @@ Pass Property color value 'color-mix(in hsl decreasing hue, hsl(60deg 50% 50%),Pass Property color value 'color-mix(in hsl decreasing hue, red, white)'Pass Property color value 'color-mix(in hsl decreasing hue, red, black)'Pass Property color value 'color-mix(in hsl decreasing hue, red, transparent)'-Pass Property color value 'color-mix(in hsl, hsl(none none none), hsl(none none none))'+Fail Property color value 'color-mix(in hsl, hsl(none none none), hsl(none none none))'Pass Property color value 'color-mix(in hsl, hsl(none none none), hsl(30deg 40% 80%))'Pass Property color value 'color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))'Pass Property color value 'color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))'@@ -82,13 +82,16 @@ Pass Property color value 'color-mix(in hsl, hsl(120deg 20% 40%), hsl(30deg 20%Pass Property color value 'color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))'Pass Property color value 'color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))'Pass Property color value 'color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))'-Pass Property color value 'color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))'+Fail Property color value 'color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))'Pass Property color value 'color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg none none / none))'Pass Property color value 'color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(none 50% none / none))'Pass Property color value 'color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(none none 50% / none))'Pass Property color value 'color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg 50% none / none))'Pass Property color value 'color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(none none none / 0.5))'Pass Property color value 'color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg none none / 0.5))'+Fail Property color value 'color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%) 0%)'+Fail Property color value 'color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8) 0%)'+Pass Property color value 'color-mix(in hsl, lch(0.1 0 0), hsl(11 33 44))'Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%))'Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%))'Pass Property color value 'color-mix(in hwb, 25% hwb(120deg 10% 20%), hwb(30deg 30% 40%))'@@ -155,7 +158,7 @@ Pass Property color value 'color-mix(in hwb decreasing hue, hwb(320deg 30% 40%),Pass Property color value 'color-mix(in hwb decreasing hue, red, white)'Pass Property color value 'color-mix(in hwb decreasing hue, red, black)'Pass Property color value 'color-mix(in hwb decreasing hue, red, transparent)'-Pass Property color value 'color-mix(in hwb, hwb(none none none), hwb(none none none))'+Fail Property color value 'color-mix(in hwb, hwb(none none none), hwb(none none none))'Pass Property color value 'color-mix(in hwb, hwb(none none none), hwb(30deg 30% 40%))'Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20%), hwb(none none none))'Pass Property color value 'color-mix(in hwb, hwb(120deg 10% none), hwb(30deg 30% 40%))'@@ -163,13 +166,15 @@ Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30%Pass Property color value 'color-mix(in hwb, hwb(none 10% 20%), hwb(30deg none 40%))'Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40%))'Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / 0.5))'-Pass Property color value 'color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))'+Fail Property color value 'color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))'Pass Property color value 'color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(90deg none none / none))'Pass Property color value 'color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(none 50% none / none))'Pass Property color value 'color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(none none 50% / none))'Pass Property color value 'color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(90deg 50% none / none))'Pass Property color value 'color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(none none none / 0.5))'Pass Property color value 'color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(90deg none none / 0.5))'+Fail Property color value 'color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%) 0%)'+Fail Property color value 'color-mix(in hwb, hwb(120deg 10% 20% / .4) 0%, hwb(30deg 30% 40% / .8) 0%)'Pass Property color value 'color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg))'Pass Property color value 'color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg))'Pass Property color value 'color-mix(in lch, 25% lch(10 20 30deg), lch(50 60 70deg))'@@ -252,6 +257,9 @@ Pass Property color value 'color-mix(in lch, lch(0.1 0.2 30deg / 25%) 0%, lch(0.Pass Property color value 'color-mix(in lch, lch(0.1 0.2 30deg / 25%) 0%, lch(none none none / 0.5))'Pass Property color value 'color-mix(in lch, lch(0.1 0.2 30deg / 25%) 0%, lch(0.5 none none / 0.5))'Pass Property color value 'color-mix(in lch, lab(50 0 0), black)'+Fail Property color value 'color-mix(in lch, lch(10% 20 30deg) 0%, lch(50% 60 70deg) 0%)'+Fail Property color value 'color-mix(in lch, lch(10% 20 30deg / .4) 0%, lch(50% 60 70deg / .8) 0%)'+Fail Property color value 'color-mix(in lch, lch(none 20 30deg) 0%, lch(none 60 70deg) 0%)'Pass Property color value 'color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))'Pass Property color value 'color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg))'Pass Property color value 'color-mix(in oklch, 25% oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))'@@ -334,6 +342,10 @@ Pass Property color value 'color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, okPass Property color value 'color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(none none none / 0.5))'Pass Property color value 'color-mix(in oklch, oklch(0.1 0.2 30deg / 25%) 0%, oklch(0.5 none none / 0.5))'Pass Property color value 'color-mix(in oklch, oklab(0.5 0 0), black)'+Fail Property color value 'color-mix(in oklch, oklch(10% 20 30deg) 0%, oklch(50% 60 70deg) 0%)'+Fail Property color value 'color-mix(in oklch, oklch(10% 20 30deg / .4) 0%, oklch(50% 60 70deg / .8) 0%)'+Fail Property color value 'color-mix(in oklch, oklch(none 20 30deg) 0%, oklch(none 60 70deg) 0%)'+Fail Property color value 'color-mix(in oklch, teal 0%, olive 0%)'Pass Property color value 'color-mix(in lab, lab(10 20 30), lab(50 60 70))'Pass Property color value 'color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))'Pass Property color value 'color-mix(in lab, 25% lab(10 20 30), lab(50 60 70))'@@ -373,6 +385,9 @@ Pass Property color value 'color-mix(in lab, lab(10 20 30 / 25%) 0%, lab(none noPass Property color value 'color-mix(in lab, lab(10 20 30 / 25%) 0%, lab(50 50 none / none))'Pass Property color value 'color-mix(in lab, lab(10 20 30 / 25%) 0%, lab(none none none / 0.5))'Pass Property color value 'color-mix(in lab, lab(10 20 30 / 25%) 0%, lab(50 none none / 0.5))'+Fail Property color value 'color-mix(in lab, lab(10% 20 30) 0%, lab(50% 60 70) 0%)'+Fail Property color value 'color-mix(in lab, lab(10% 20 30 / .4) 0%, lab(50% 60 70 / .8) 0%)'+Fail Property color value 'color-mix(in lab, lab(none 20 30) 0%, lab(none 60 70) 0%)'Pass Property color value 'color-mix(oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))'Pass Property color value 'color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))'Pass Property color value 'color-mix(25% oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))'@@ -412,6 +427,9 @@ Pass Property color value 'color-mix(oklab(0.1 0.2 0.3 / 25%) 0%, oklab(none nonPass Property color value 'color-mix(oklab(0.1 0.2 0.3 / 25%) 0%, oklab(0.5 0.5 none / none))'Pass Property color value 'color-mix(oklab(0.1 0.2 0.3 / 25%) 0%, oklab(none none none / 0.5))'Pass Property color value 'color-mix(oklab(0.1 0.2 0.3 / 25%) 0%, oklab(0.5 none none / 0.5))'+Fail Property color value 'color-mix(oklab(10% 20 30) 0%, oklab(50% 60 70) 0%)'+Fail Property color value 'color-mix(oklab(10% 20 30 / .4) 0%, oklab(50% 60 70 / .8) 0%)'+Fail Property color value 'color-mix(oklab(none 20 30) 0%, oklab(none 60 70) 0%)'Pass Property color value 'color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))'Pass Property color value 'color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))'Pass Property color value 'color-mix(in oklab, 25% oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))'@@ -451,6 +469,9 @@ Pass Property color value 'color-mix(in oklab, oklab(0.1 0.2 0.3 / 25%) 0%, oklaPass Property color value 'color-mix(in oklab, oklab(0.1 0.2 0.3 / 25%) 0%, oklab(0.5 0.5 none / none))'Pass Property color value 'color-mix(in oklab, oklab(0.1 0.2 0.3 / 25%) 0%, oklab(none none none / 0.5))'Pass Property color value 'color-mix(in oklab, oklab(0.1 0.2 0.3 / 25%) 0%, oklab(0.5 none none / 0.5))'+Fail Property color value 'color-mix(in oklab, oklab(10% 20 30) 0%, oklab(50% 60 70) 0%)'+Fail Property color value 'color-mix(in oklab, oklab(10% 20 30 / .4) 0%, oklab(50% 60 70 / .8) 0%)'+Fail Property color value 'color-mix(in oklab, oklab(none 20 30) 0%, oklab(none 60 70) 0%)'Pass Property color value 'color-mix(in srgb, color(srgb .1 .2 .3), color(srgb .5 .6 .7))'Pass Property color value 'color-mix(in srgb, color(srgb .1 .2 .3) 25%, color(srgb .5 .6 .7))'Pass Property color value 'color-mix(in srgb, 25% color(srgb .1 .2 .3), color(srgb .5 .6 .7))'@@ -493,6 +514,9 @@ Pass Property color value 'color-mix(in srgb, color(srgb .1 .2 .3 / 25%) 0%, colPass Property color value 'color-mix(in srgb, color(srgb .1 .2 .3 / 25%) 0%, color(srgb 0.5 0.5 none / none))'Pass Property color value 'color-mix(in srgb, color(srgb .1 .2 .3 / 25%) 0%, color(srgb none none none / 50%))'Pass Property color value 'color-mix(in srgb, color(srgb .1 .2 .3 / 25%) 0%, color(srgb 0.5 none none / 50%))'+Fail Property color value 'color-mix(in srgb, color(srgb .1 .2 .3) 0%, color(srgb .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in srgb, color(srgb .1 .2 .3 / .4) 0%, color(srgb .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in srgb, color(srgb none .2 .3) 0%, color(srgb none .6 .7) 0%)'Pass Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))'Pass Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 25%, color(srgb-linear .5 .6 .7))'Pass Property color value 'color-mix(in srgb-linear, 25% color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))'@@ -535,6 +559,9 @@ Pass Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3Pass Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / 25%) 0%, color(srgb-linear 0.5 0.5 none / none))'Pass Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / 25%) 0%, color(srgb-linear none none none / 50%))'Pass Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / 25%) 0%, color(srgb-linear 0.5 none none / 50%))'+Fail Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 0%, color(srgb-linear .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 0%, color(srgb-linear .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in srgb-linear, color(srgb-linear none .2 .3) 0%, color(srgb-linear none .6 .7) 0%)'Pass Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))'Pass Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3) 25%, color(display-p3 .5 .6 .7))'Pass Property color value 'color-mix(in display-p3, 25% color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))'@@ -577,6 +604,9 @@ Pass Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3 /Pass Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3 / 25%) 0%, color(display-p3 0.5 0.5 none / none))'Pass Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3 / 25%) 0%, color(display-p3 none none none / 50%))'Pass Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3 / 25%) 0%, color(display-p3 0.5 none none / 50%))'+Fail Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3) 0%, color(display-p3 .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 0%, color(display-p3 .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in display-p3, color(display-p3 none .2 .3) 0%, color(display-p3 none .6 .7) 0%)'Pass Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))'Pass Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 25%, color(display-p3-linear .5 .6 .7))'Pass Property color value 'color-mix(in display-p3-linear, 25% color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))'@@ -619,6 +649,9 @@ Pass Property color value 'color-mix(in display-p3-linear, color(display-p3-linePass Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / 25%) 0%, color(display-p3-linear 0.5 0.5 none / none))'Pass Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / 25%) 0%, color(display-p3-linear none none none / 50%))'Pass Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / 25%) 0%, color(display-p3-linear 0.5 none none / 50%))'+Fail Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 0%, color(display-p3-linear .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 0%, color(display-p3-linear .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in display-p3-linear, color(display-p3-linear none .2 .3) 0%, color(display-p3-linear none .6 .7) 0%)'Pass Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))'Pass Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 25%, color(a98-rgb .5 .6 .7))'Pass Property color value 'color-mix(in a98-rgb, 25% color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))'@@ -661,6 +694,9 @@ Pass Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / 25%) 0Pass Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / 25%) 0%, color(a98-rgb 0.5 0.5 none / none))'Pass Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / 25%) 0%, color(a98-rgb none none none / 50%))'Pass Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / 25%) 0%, color(a98-rgb 0.5 none none / 50%))'+Fail Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 0%, color(a98-rgb .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 0%, color(a98-rgb .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in a98-rgb, color(a98-rgb none .2 .3) 0%, color(a98-rgb none .6 .7) 0%)'Pass Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))'Pass Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 25%, color(prophoto-rgb .5 .6 .7))'Pass Property color value 'color-mix(in prophoto-rgb, 25% color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))'@@ -703,6 +739,9 @@ Pass Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .Pass Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / 25%) 0%, color(prophoto-rgb 0.5 0.5 none / none))'Pass Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / 25%) 0%, color(prophoto-rgb none none none / 50%))'Pass Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / 25%) 0%, color(prophoto-rgb 0.5 none none / 50%))'+Fail Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 0%, color(prophoto-rgb .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 0%, color(prophoto-rgb .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in prophoto-rgb, color(prophoto-rgb none .2 .3) 0%, color(prophoto-rgb none .6 .7) 0%)'Pass Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))'Pass Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3) 25%, color(rec2020 .5 .6 .7))'Pass Property color value 'color-mix(in rec2020, 25% color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))'@@ -745,6 +784,9 @@ Pass Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3 / 25%) 0Pass Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3 / 25%) 0%, color(rec2020 0.5 0.5 none / none))'Pass Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3 / 25%) 0%, color(rec2020 none none none / 50%))'Pass Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3 / 25%) 0%, color(rec2020 0.5 none none / 50%))'+Fail Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3) 0%, color(rec2020 .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 0%, color(rec2020 .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in rec2020, color(rec2020 none .2 .3) 0%, color(rec2020 none .6 .7) 0%)'Pass Property color value 'color-mix(in xyz, color(xyz .1 .2 .3), color(xyz .5 .6 .7))'Pass Property color value 'color-mix(in xyz, color(xyz .1 .2 .3) 25%, color(xyz .5 .6 .7))'Pass Property color value 'color-mix(in xyz, 25% color(xyz .1 .2 .3), color(xyz .5 .6 .7))'@@ -787,6 +829,9 @@ Pass Property color value 'color-mix(in xyz, color(xyz .1 .2 .3 / 25%) 0%, colorPass Property color value 'color-mix(in xyz, color(xyz .1 .2 .3 / 25%) 0%, color(xyz 0.5 0.5 none / none))'Pass Property color value 'color-mix(in xyz, color(xyz .1 .2 .3 / 25%) 0%, color(xyz none none none / 50%))'Pass Property color value 'color-mix(in xyz, color(xyz .1 .2 .3 / 25%) 0%, color(xyz 0.5 none none / 50%))'+Fail Property color value 'color-mix(in xyz, color(xyz .1 .2 .3) 0%, color(xyz .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in xyz, color(xyz .1 .2 .3 / .4) 0%, color(xyz .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in xyz, color(xyz none .2 .3) 0%, color(xyz none .6 .7) 0%)'Pass Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))'Pass Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 25%, color(xyz-d50 .5 .6 .7))'Pass Property color value 'color-mix(in xyz-d50, 25% color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))'@@ -829,6 +874,9 @@ Pass Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / 25%) 0Pass Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / 25%) 0%, color(xyz-d50 0.5 0.5 none / none))'Pass Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / 25%) 0%, color(xyz-d50 none none none / 50%))'Pass Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / 25%) 0%, color(xyz-d50 0.5 none none / 50%))'+Fail Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 0%, color(xyz-d50 .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 0%, color(xyz-d50 .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in xyz-d50, color(xyz-d50 none .2 .3) 0%, color(xyz-d50 none .6 .7) 0%)'Pass Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))'Pass Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 25%, color(xyz-d65 .5 .6 .7))'Pass Property color value 'color-mix(in xyz-d65, 25% color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))'@@ -871,12 +919,17 @@ Pass Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / 25%) 0Pass Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / 25%) 0%, color(xyz-d65 0.5 0.5 none / none))'Pass Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / 25%) 0%, color(xyz-d65 none none none / 50%))'Pass Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / 25%) 0%, color(xyz-d65 0.5 none none / 50%))'+Fail Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 0%, color(xyz-d65 .5 .6 .7) 0%)'+Fail Property color value 'color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 0%, color(xyz-d65 .5 .6 .7 / .8) 0%)'+Fail Property color value 'color-mix(in xyz-d65, color(xyz-d65 none .2 .3) 0%, color(xyz-d65 none .6 .7) 0%)'Pass Property color value 'color-mix(in srgb, red 50%, blue 50%)'Pass Property color value 'color-mix(in srgb, red 10%, blue 90%)'Pass Property color value 'color-mix(in srgb, red 50%, blue 40%)'Pass Property color value 'color-mix(in srgb, red 40%, blue 50%)'Pass Property color value 'color-mix(in srgb, red 30%, blue 40%)'Pass Property color value 'color-mix(in srgb, red 75%, blue 75%)'+Fail Property color value 'color-mix(in srgb, red 0%, blue 0%)'+Fail Property color value 'color-mix(in srgb, red calc(0%), blue calc(0%))'Pass Property color value 'color-mix(in srgb, red calc(10%), blue 50%)'Pass Property color value 'color-mix(in srgb, red 50%, blue calc(10%))'Pass Property color value 'color-mix(in srgb, red calc(10%), blue calc(90%))'@@ -891,10 +944,37 @@ Pass Property color value 'color-mix(in srgb, red, blue calc(50%))'Pass Property color value 'color-mix(in srgb, red, blue calc(90%))'Pass Property color value 'color-mix(in srgb, red, blue)'Pass Property color value 'color-mix(in srgb, red calc(50% + (sign(100em - 1px) * 10%)), blue)'+Pass Property color value 'color-mix(in hsl, hsl(0 100% 100%), blue)'+Pass Property color value 'color-mix(in hsl, hwb(0 50.0 50.0), blue)'+Pass Property color value 'color-mix(in hsl, lch(100% 0 0), blue)'+Pass Property color value 'color-mix(in hsl, oklch(100% 0 0), blue)'+Pass Property color value 'color-mix(in hwb, hsl(0 100% 100%), blue)'+Pass Property color value 'color-mix(in hwb, hwb(0 50.0 50.0), blue)'+Pass Property color value 'color-mix(in hwb, lch(100% 0 0), blue)'+Pass Property color value 'color-mix(in hwb, oklch(100% 0 0), blue)'+Pass Property color value 'color-mix(in lch, hsl(0 100% 100%), blue)'+Pass Property color value 'color-mix(in lch, hwb(0 50.0 50.0), blue)'+Pass Property color value 'color-mix(in lch, lch(100% 0 0), blue)'+Pass Property color value 'color-mix(in lch, oklch(100% 0 0), blue)'Pass Property color value 'color-mix(in oklch, hsl(0 100% 100%), blue)'+Pass Property color value 'color-mix(in oklch, hwb(0 50.0 50.0), blue)'+Pass Property color value 'color-mix(in oklch, lch(100% 0 0), blue)'+Pass Property color value 'color-mix(in oklch, oklch(100% 0 0), blue)'+Pass Property color value 'color-mix(in oklch, oklab(0.1 none none), oklch(0.3 0.2 90deg))'+Pass Property color value 'color-mix(in oklab, oklch(0.1 none none), oklab(0.3 0.2 0.4))'+Fail Property color value 'color-mix(in hsl, hwb(none none none), hsl(none 0.2 0.4))'+Fail Property color value 'color-mix(in hwb, hsl(none none none), hwb(none 0.2 0.4))'+Pass Property color value 'color-mix(in oklch, oklab(0.1 none 0.3), oklch(0.3 0.2 0deg))'+Pass Property color value 'color-mix(in oklab, oklch(0.1 0.3 none), oklab(0.3 0.2 0.4))'+Fail Property color value 'color-mix(in hsl, hwb(none 40% none), hsl(none 0.2 0.4))'+Fail Property color value 'color-mix(in hwb, hsl(none none 20%), hwb(none 0.2 0.4))'Fail Property color value 'color-mix(in srgb, red)'Fail Property color value 'color-mix(in srgb, red 50%)'Fail Property color value 'color-mix(in srgb, red, green, blue)'Fail Property color value 'color-mix(in srgb, red 50%, green 30%, blue 20%)'Fail Property color value 'color-mix(in srgb, red 30%, green 60%, blue 90%)'-Fail Property color value 'color-mix(in srgb, red, green, blue, white)'\ No newline at end of file+Fail Property color value 'color-mix(in srgb, red, green, blue, white)'+Fail Property color value 'color-mix(in srgb, red 0%)'+Fail Property color value 'color-mix(in srgb, red 0%, green 0%, blue 0%)'+Fail Property color value 'color-mix(in srgb, red 0%, green 0%, blue 100%)'+Fail Property color value 'color-mix(in srgb, red 0%, green 0%, blue 50%)'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hsl.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hsl.txtindex e94d12b9a77..983c29a0971 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hsl.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hsl.txt@@ -2,29 +2,29 @@ Harness status: OKFound 3753 tests-3752 Pass-1 Fail+3744 Pass+9 FailPass Property color value 'hsl(120 30% 50%)'Pass Property color value 'hsl(120 30% 50% / 0.5)'Pass Property color value 'hsl(120 30% 50% / 50%)'-Pass Property color value 'hsl(none none none)'+Fail Property color value 'hsl(none none none)'Pass Property color value 'hsl(0 0% 0%)'-Pass Property color value 'hsl(none none none / none)'+Fail Property color value 'hsl(none none none / none)'Pass Property color value 'hsl(0 0% 0% / 0)'-Pass Property color value 'hsla(none none none)'+Fail Property color value 'hsla(none none none)'Pass Property color value 'hsla(0 0% 0%)'-Pass Property color value 'hsla(none none none / none)'+Fail Property color value 'hsla(none none none / none)'Pass Property color value 'hsla(0 0% 0% / 0)'-Pass Property color value 'hsl(120 none none)'+Fail Property color value 'hsl(120 none none)'Pass Property color value 'hsl(120 0% 0%)'-Pass Property color value 'hsl(120 80% none)'+Fail Property color value 'hsl(120 80% none)'Pass Property color value 'hsl(120 80% 0%)'-Pass Property color value 'hsl(120 none 50%)'+Fail Property color value 'hsl(120 none 50%)'Pass Property color value 'hsl(120 0% 50%)'-Pass Property color value 'hsl(120 100% 50% / none)'+Fail Property color value 'hsl(120 100% 50% / none)'Pass Property color value 'hsl(120 100% 50% / 0)'Pass Property color value 'hsl(120 100% 50% / 0%)'-Pass Property color value 'hsl(none 100% 50%)'+Fail Property color value 'hsl(none 100% 50%)'Pass Property color value 'hsl(0 100% 50%)'Pass Property color value 'HSL(0, 0%, 0%)' [Capitalization should not affect parsing]Pass Property color value 'hsL(0, 100%, 50%)' [Capitalization should not affect parsing]@@ -3756,4 +3756,4 @@ Pass Property color value 'hsla(60deg 100% 37.5% / calc(50% + (sign(1em - 10px)Pass Property color value 'hsl(60 100 37.5 / calc(0.75 + (sign(1em - 10px) * 0.1)))'Pass Property color value 'hsla(60 100 37.5 / calc(0.75 + (sign(1em - 10px) * 0.1)))'Pass Property color value 'hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 51%)'-Fail Property color value 'hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 52%)'\ No newline at end of file+Pass Property color value 'hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 52%)'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hwb.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hwb.txtindex 3f9f139a237..a17cd795df0 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hwb.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-hwb.txt@@ -1,26 +1,41 @@Harness status: OK-Found 56 tests+Found 70 tests-56 Pass+58 Pass+12 FailPass Property color value 'hwb(120 30% 50%)'+Pass Property color value 'hwb(120 60% 60%)'+Pass Property color value 'hwb(0 60% 60%)'+Pass Property color value 'hwb(0 100% 0%)'+Pass Property color value 'hwb(0 0% 100%)'Pass Property color value 'hwb(120 30% 50% / 0.5)'Pass Property color value 'hwb(120 30% 50% / 50%)'-Pass Property color value 'hwb(none none none)'+Fail Property color value 'hwb(none none none)'Pass Property color value 'hwb(0 0% 0%)'-Pass Property color value 'hwb(none none none / none)'+Fail Property color value 'hwb(none none none / none)'Pass Property color value 'hwb(0 0% 0% / 0)'-Pass Property color value 'hwb(120 none none)'+Fail Property color value 'hwb(120 none none)'Pass Property color value 'hwb(120 0% 0%)'-Pass Property color value 'hwb(120 80% none)'+Fail Property color value 'hwb(120 80% none)'Pass Property color value 'hwb(120 80% 0%)'-Pass Property color value 'hwb(120 none 50%)'+Fail Property color value 'hwb(120 none 50%)'Pass Property color value 'hwb(120 0% 50%)'-Pass Property color value 'hwb(120 30% 50% / none)'+Pass Property color value 'hwb(150 20% 10%)'+Pass Property color value 'hwb(45 40% 80%)'+Fail Property color value 'hwb(120 30% 50% / none)'Pass Property color value 'hwb(120 30% 50% / 0)'Pass Property color value 'hwb(120 30% 50% / 0%)'-Pass Property color value 'hwb(none 100% 50% / none)'+Fail Property color value 'hwb(none 100% 50% / none)'Pass Property color value 'hwb(0 100% 50% / 0)'+Pass Property color value 'hwb(0 100% 100%)'+Pass Property color value 'hwb(0 70% 60%)'+Pass Property color value 'hwb(0 260% 260%)'+Fail Property color value 'hwb(0 200% 100%)'+Fail Property color value 'hwb(0 100% 200%)'+Fail Property color value 'hwb(0 150% 50%)'+Fail Property color value 'hwb(0 50% 150%)'+Fail Property color value 'hwb(0 180% 120%)'Pass Property color value 'hwb(0 50% 50%)' [HWB value should parse and round correctly]Pass Property color value 'hwb(30 50% 50%)' [HWB value should parse and round correctly]Pass Property color value 'hwb(60 50% 50%)' [HWB value should parse and round correctly]diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-lab.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-lab.txtindex 815b1597cf2..3be157f45a4 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-lab.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-lab.txt@@ -1,8 +1,9 @@Harness status: OK-Found 120 tests+Found 136 tests-120 Pass+132 Pass+4 FailPass Property color value 'lab(0 0 0)'Pass Property color value 'lab(0 0 0 / 1)'Pass Property color value 'lab(0 0 0 / 0.5)'@@ -76,8 +77,16 @@ Pass Property color value 'lch(none none none)'Pass Property color value 'lch(20 none none / none)'Pass Property color value 'lch(none none none / 0.5)'Pass Property color value 'lch(0 0 0 / none)'+Pass Property color value 'lch(calc(infinity) 0 0)'+Pass Property color value 'lch(calc(-infinity) 0 0)'+Fail Property color value 'lch(50 calc(infinity) 0)'+Pass Property color value 'lch(50 calc(-infinity) 0)'+Pass Property color value 'lch(50 10 calc(infinity))'+Fail Property color value 'lch(50 10 calc(-infinity))'Pass Property color value 'lch(calc(NaN) 0 0)'Pass Property color value 'lch(calc(0 / 0) 0 0)'+Pass Property color value 'lch(50 10 calc(0 / 0))'+Pass Property color value 'lch(50 10 calc(NaN))'Pass Property color value 'oklch(0 0 0deg)'Pass Property color value 'oklch(0 0 0deg / 1)'Pass Property color value 'oklch(0 0 0deg / 0.5)'@@ -105,8 +114,16 @@ Pass Property color value 'oklch(none none none / 0.5)'Pass Property color value 'oklch(0 0 0 / none)'Pass Property color value 'lch(20% 80% 10/0.5)'Pass Property color value 'oklch(20% 60% 10/0.5)'+Pass Property color value 'oklch(calc(infinity) 0 0)'+Pass Property color value 'oklch(calc(-infinity) 0 0)'+Fail Property color value 'oklch(0.5 calc(infinity) 0)'+Pass Property color value 'oklch(0.5 calc(-infinity) 0)'+Pass Property color value 'oklch(0.5 0.1 calc(infinity))'+Fail Property color value 'oklch(0.5 0.1 calc(-infinity))'Pass Property color value 'oklch(calc(NaN) 0 0)'Pass Property color value 'oklch(calc(0 / 0) 0 0)'+Pass Property color value 'oklch(0.5 0.1 calc(0 / 0))'+Pass Property color value 'oklch(0.5 0.1 calc(NaN))'Pass Property color value 'lab(calc(50 + (sign(1em - 10px) * 10)) 30 50 / 50%)'Pass Property color value 'oklab(calc(0.5 + (sign(1em - 10px) * 0.1)) 0.3 0.5 / 50%)'Pass Property color value 'lab(60 30 50 / calc(50% + (sign(1em - 10px) * 10%)))'diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-none.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-none.txtnew file mode 100644index 00000000000..79c06c931e3--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-none.txt@@ -0,0 +1,684 @@+Harness status: OK++Found 678 tests++253 Pass+425 Fail+Fail Property color value 'hsl(from hsl(none 50% 50%) h s l)'+Fail Property color value 'hsl(from hsl(180 none 50%) h s l)'+Fail Property color value 'hsl(from hsl(180 50% none) h s l)'+Fail Property color value 'hsl(from hsl(none none 50%) h s l)'+Fail Property color value 'hsl(from hsl(180 none none) h s l)'+Fail Property color value 'hsl(from hsl(none 50% none) h s l)'+Fail Property color value 'hsl(from hsl(none none none) h s l)'+Fail Property color value 'hsl(from hwb(none 25% 25%) h s l)'+Pass Property color value 'hsl(from hwb(180 none 25%) h s l)'+Pass Property color value 'hsl(from hwb(180 25% none) h s l)'+Fail Property color value 'hsl(from hwb(none none 25%) h s l)'+Fail Property color value 'hsl(from hwb(180 none none) h s l)'+Fail Property color value 'hsl(from hwb(none 25% none) h s l)'+Fail Property color value 'hsl(from hwb(none none none) h s l)'+Fail Property color value 'hsl(from lch(none 20 180) h s l)'+Fail Property color value 'hsl(from lch(20 none 180) h s l)'+Fail Property color value 'hsl(from lch(20 20 none) h s l)'+Fail Property color value 'hsl(from lch(none none 180) h s l)'+Fail Property color value 'hsl(from lch(20 none none) h s l)'+Fail Property color value 'hsl(from lch(none 20 none) h s l)'+Fail Property color value 'hsl(from lch(none none none) h s l)'+Fail Property color value 'hsl(from oklch(none 0.2 180) h s l)'+Fail Property color value 'hsl(from oklch(0.2 none 180) h s l)'+Fail Property color value 'hsl(from oklch(0.2 0.2 none) h s l)'+Fail Property color value 'hsl(from oklch(none none 180) h s l)'+Fail Property color value 'hsl(from oklch(0.2 none none) h s l)'+Fail Property color value 'hsl(from oklch(none 0.2 none) h s l)'+Fail Property color value 'hsl(from oklch(none none none) h s l)'+Fail Property color value 'hsl(from lab(none 10 10) h s l)'+Pass Property color value 'hsl(from lab(50 none 10) h s l)'+Pass Property color value 'hsl(from lab(50 10 none) h s l)'+Fail Property color value 'hsl(from lab(none none 10) h s l)'+Fail Property color value 'hsl(from lab(50 none none) h s l)'+Fail Property color value 'hsl(from lab(none 10 none) h s l)'+Fail Property color value 'hsl(from lab(none none none) h s l)'+Fail Property color value 'hsl(from oklab(none 0.1 0.1) h s l)'+Pass Property color value 'hsl(from oklab(0.5 none 0.1) h s l)'+Pass Property color value 'hsl(from oklab(0.5 0.1 none) h s l)'+Fail Property color value 'hsl(from oklab(none none 0.1) h s l)'+Fail Property color value 'hsl(from oklab(0.5 none none) h s l)'+Fail Property color value 'hsl(from oklab(none 0.1 none) h s l)'+Fail Property color value 'hsl(from oklab(none none none) h s l)'+Fail Property color value 'hsl(from rgb(none none none) h s l)'+Fail Property color value 'hsl(from color(display-p3 none none none) h s l)'+Pass Property color value 'color-mix(in hsl, hsl(none 50% 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 none 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 50% none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(none none 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(none 50% none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(none 25% 25%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 none 25%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 25% none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(none none 25%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(none 25% none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(none 20 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 none 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 20 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(none none 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(none 20 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(none 0.2 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 none 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 0.2 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(none none 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(none 0.2 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(none 10 10), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(50 none 10), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(50 10 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(none none 10), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(50 none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(none 10 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(none 0.1 0.1), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(0.5 none 0.1), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(0.5 0.1 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(none none 0.1), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(0.5 none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(none 0.1 none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, rgb(none none none), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, color(display-p3 none none none), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, hsl(none 50% 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 none 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 50% none))'+Fail Property color value 'color-mix(in hsl, hsl(none none 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 none none))'+Fail Property color value 'color-mix(in hsl, hsl(none 50% none))'+Fail Property color value 'color-mix(in hsl, hsl(none none none))'+Fail Property color value 'color-mix(in hsl, hwb(none 25% 25%))'+Fail Property color value 'color-mix(in hsl, hwb(180 none 25%))'+Fail Property color value 'color-mix(in hsl, hwb(180 25% none))'+Fail Property color value 'color-mix(in hsl, hwb(none none 25%))'+Fail Property color value 'color-mix(in hsl, hwb(180 none none))'+Fail Property color value 'color-mix(in hsl, hwb(none 25% none))'+Fail Property color value 'color-mix(in hsl, hwb(none none none))'+Fail Property color value 'color-mix(in hsl, lch(none 20 180))'+Fail Property color value 'color-mix(in hsl, lch(20 none 180))'+Fail Property color value 'color-mix(in hsl, lch(20 20 none))'+Fail Property color value 'color-mix(in hsl, lch(none none 180))'+Fail Property color value 'color-mix(in hsl, lch(20 none none))'+Fail Property color value 'color-mix(in hsl, lch(none 20 none))'+Fail Property color value 'color-mix(in hsl, lch(none none none))'+Fail Property color value 'color-mix(in hsl, oklch(none 0.2 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 none 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0.2 none))'+Fail Property color value 'color-mix(in hsl, oklch(none none 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 none none))'+Fail Property color value 'color-mix(in hsl, oklch(none 0.2 none))'+Fail Property color value 'color-mix(in hsl, oklch(none none none))'+Fail Property color value 'color-mix(in hsl, lab(none 10 10))'+Fail Property color value 'color-mix(in hsl, lab(50 none 10))'+Fail Property color value 'color-mix(in hsl, lab(50 10 none))'+Fail Property color value 'color-mix(in hsl, lab(none none 10))'+Fail Property color value 'color-mix(in hsl, lab(50 none none))'+Fail Property color value 'color-mix(in hsl, lab(none 10 none))'+Fail Property color value 'color-mix(in hsl, lab(none none none))'+Fail Property color value 'color-mix(in hsl, oklab(none 0.1 0.1))'+Fail Property color value 'color-mix(in hsl, oklab(0.5 none 0.1))'+Fail Property color value 'color-mix(in hsl, oklab(0.5 0.1 none))'+Fail Property color value 'color-mix(in hsl, oklab(none none 0.1))'+Fail Property color value 'color-mix(in hsl, oklab(0.5 none none))'+Fail Property color value 'color-mix(in hsl, oklab(none 0.1 none))'+Fail Property color value 'color-mix(in hsl, oklab(none none none))'+Fail Property color value 'color-mix(in hsl, rgb(none none none))'+Fail Property color value 'color-mix(in hsl, color(display-p3 none none none))'+Fail Property color value 'hwb(from hsl(none 50% 50%) h w b)'+Fail Property color value 'hwb(from hsl(180 none 50%) h w b)'+Fail Property color value 'hwb(from hsl(180 50% none) h w b)'+Fail Property color value 'hwb(from hsl(none none 50%) h w b)'+Fail Property color value 'hwb(from hsl(180 none none) h w b)'+Fail Property color value 'hwb(from hsl(none 50% none) h w b)'+Fail Property color value 'hwb(from hsl(none none none) h w b)'+Fail Property color value 'hwb(from hwb(none 25% 25%) h w b)'+Fail Property color value 'hwb(from hwb(180 none 25%) h w b)'+Fail Property color value 'hwb(from hwb(180 25% none) h w b)'+Fail Property color value 'hwb(from hwb(none none 25%) h w b)'+Fail Property color value 'hwb(from hwb(180 none none) h w b)'+Fail Property color value 'hwb(from hwb(none 25% none) h w b)'+Fail Property color value 'hwb(from hwb(none none none) h w b)'+Pass Property color value 'hwb(from lch(none 20 180) h w b)'+Fail Property color value 'hwb(from lch(20 none 180) h w b)'+Fail Property color value 'hwb(from lch(20 20 none) h w b)'+Fail Property color value 'hwb(from lch(none none 180) h w b)'+Fail Property color value 'hwb(from lch(20 none none) h w b)'+Fail Property color value 'hwb(from lch(none 20 none) h w b)'+Fail Property color value 'hwb(from lch(none none none) h w b)'+Pass Property color value 'hwb(from oklch(none 0.2 180) h w b)'+Fail Property color value 'hwb(from oklch(0.2 none 180) h w b)'+Fail Property color value 'hwb(from oklch(0.2 0.2 none) h w b)'+Fail Property color value 'hwb(from oklch(none none 180) h w b)'+Fail Property color value 'hwb(from oklch(0.2 none none) h w b)'+Fail Property color value 'hwb(from oklch(none 0.2 none) h w b)'+Fail Property color value 'hwb(from oklch(none none none) h w b)'+Pass Property color value 'hwb(from lab(none 10 10) h w b)'+Pass Property color value 'hwb(from lab(50 none 10) h w b)'+Pass Property color value 'hwb(from lab(50 10 none) h w b)'+Pass Property color value 'hwb(from lab(none none 10) h w b)'+Fail Property color value 'hwb(from lab(50 none none) h w b)'+Pass Property color value 'hwb(from lab(none 10 none) h w b)'+Fail Property color value 'hwb(from lab(none none none) h w b)'+Pass Property color value 'hwb(from oklab(none 0.1 0.1) h w b)'+Pass Property color value 'hwb(from oklab(0.5 none 0.1) h w b)'+Pass Property color value 'hwb(from oklab(0.5 0.1 none) h w b)'+Pass Property color value 'hwb(from oklab(none none 0.1) h w b)'+Fail Property color value 'hwb(from oklab(0.5 none none) h w b)'+Pass Property color value 'hwb(from oklab(none 0.1 none) h w b)'+Fail Property color value 'hwb(from oklab(none none none) h w b)'+Fail Property color value 'hwb(from rgb(none none none) h w b)'+Fail Property color value 'hwb(from color(display-p3 none none none) h w b)'+Pass Property color value 'color-mix(in hwb, hsl(none 50% 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 none 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 50% none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(none none 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(none 50% none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(none 25% 25%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 none 25%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 25% none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(none none 25%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(none 25% none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(none 20 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 none 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 20 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(none none 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(none 20 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(none 0.2 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.2 none 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.2 0.2 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(none none 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.2 none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(none 0.2 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(none 10 10), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(50 none 10), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(50 10 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(none none 10), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(50 none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(none 10 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(none 0.1 0.1), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(0.5 none 0.1), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(0.5 0.1 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(none none 0.1), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(0.5 none none), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, oklab(none 0.1 none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, rgb(none none none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, color(display-p3 none none none), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, hsl(none 50% 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 none 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 50% none))'+Fail Property color value 'color-mix(in hwb, hsl(none none 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 none none))'+Fail Property color value 'color-mix(in hwb, hsl(none 50% none))'+Fail Property color value 'color-mix(in hwb, hsl(none none none))'+Fail Property color value 'color-mix(in hwb, hwb(none 25% 25%))'+Fail Property color value 'color-mix(in hwb, hwb(180 none 25%))'+Fail Property color value 'color-mix(in hwb, hwb(180 25% none))'+Fail Property color value 'color-mix(in hwb, hwb(none none 25%))'+Fail Property color value 'color-mix(in hwb, hwb(180 none none))'+Fail Property color value 'color-mix(in hwb, hwb(none 25% none))'+Fail Property color value 'color-mix(in hwb, hwb(none none none))'+Fail Property color value 'color-mix(in hwb, lch(none 20 180))'+Fail Property color value 'color-mix(in hwb, lch(20 none 180))'+Fail Property color value 'color-mix(in hwb, lch(20 20 none))'+Fail Property color value 'color-mix(in hwb, lch(none none 180))'+Fail Property color value 'color-mix(in hwb, lch(20 none none))'+Fail Property color value 'color-mix(in hwb, lch(none 20 none))'+Fail Property color value 'color-mix(in hwb, lch(none none none))'+Fail Property color value 'color-mix(in hwb, oklch(none 0.2 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.2 none 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.2 0.2 none))'+Fail Property color value 'color-mix(in hwb, oklch(none none 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.2 none none))'+Fail Property color value 'color-mix(in hwb, oklch(none 0.2 none))'+Fail Property color value 'color-mix(in hwb, oklch(none none none))'+Fail Property color value 'color-mix(in hwb, lab(none 10 10))'+Fail Property color value 'color-mix(in hwb, lab(50 none 10))'+Fail Property color value 'color-mix(in hwb, lab(50 10 none))'+Fail Property color value 'color-mix(in hwb, lab(none none 10))'+Fail Property color value 'color-mix(in hwb, lab(50 none none))'+Fail Property color value 'color-mix(in hwb, lab(none 10 none))'+Fail Property color value 'color-mix(in hwb, lab(none none none))'+Fail Property color value 'color-mix(in hwb, oklab(none 0.1 0.1))'+Fail Property color value 'color-mix(in hwb, oklab(0.5 none 0.1))'+Fail Property color value 'color-mix(in hwb, oklab(0.5 0.1 none))'+Fail Property color value 'color-mix(in hwb, oklab(none none 0.1))'+Fail Property color value 'color-mix(in hwb, oklab(0.5 none none))'+Fail Property color value 'color-mix(in hwb, oklab(none 0.1 none))'+Fail Property color value 'color-mix(in hwb, oklab(none none none))'+Fail Property color value 'color-mix(in hwb, rgb(none none none))'+Fail Property color value 'color-mix(in hwb, color(display-p3 none none none))'+Fail Property color value 'lch(from hsl(none 50% 50%) l c h)'+Fail Property color value 'lch(from hsl(180 none 50%) l c h)'+Fail Property color value 'lch(from hsl(180 50% none) l c h)'+Fail Property color value 'lch(from hsl(none none 50%) l c h)'+Fail Property color value 'lch(from hsl(180 none none) l c h)'+Fail Property color value 'lch(from hsl(none 50% none) l c h)'+Fail Property color value 'lch(from hsl(none none none) l c h)'+Fail Property color value 'lch(from hwb(none 25% 25%) l c h)'+Fail Property color value 'lch(from hwb(180 none 25%) l c h)'+Fail Property color value 'lch(from hwb(180 25% none) l c h)'+Fail Property color value 'lch(from hwb(none none 25%) l c h)'+Fail Property color value 'lch(from hwb(180 none none) l c h)'+Fail Property color value 'lch(from hwb(none 25% none) l c h)'+Fail Property color value 'lch(from hwb(none none none) l c h)'+Fail Property color value 'lch(from lch(none 20 180) l c h)'+Fail Property color value 'lch(from lch(20 none 180) l c h)'+Fail Property color value 'lch(from lch(20 20 none) l c h)'+Fail Property color value 'lch(from lch(none none 180) l c h)'+Fail Property color value 'lch(from lch(20 none none) l c h)'+Fail Property color value 'lch(from lch(none 20 none) l c h)'+Fail Property color value 'lch(from lch(none none none) l c h)'+Fail Property color value 'lch(from oklch(none 0.2 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 none 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 0.2 none) l c h)'+Fail Property color value 'lch(from oklch(none none 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 none none) l c h)'+Fail Property color value 'lch(from oklch(none 0.2 none) l c h)'+Fail Property color value 'lch(from oklch(none none none) l c h)'+Fail Property color value 'lch(from lab(none 10 10) l c h)'+Pass Property color value 'lch(from lab(50 none 10) l c h)'+Pass Property color value 'lch(from lab(50 10 none) l c h)'+Fail Property color value 'lch(from lab(none none 10) l c h)'+Fail Property color value 'lch(from lab(50 none none) l c h)'+Fail Property color value 'lch(from lab(none 10 none) l c h)'+Fail Property color value 'lch(from lab(none none none) l c h)'+Fail Property color value 'lch(from oklab(none 0.1 0.1) l c h)'+Pass Property color value 'lch(from oklab(0.5 none 0.1) l c h)'+Pass Property color value 'lch(from oklab(0.5 0.1 none) l c h)'+Fail Property color value 'lch(from oklab(none none 0.1) l c h)'+Fail Property color value 'lch(from oklab(0.5 none none) l c h)'+Fail Property color value 'lch(from oklab(none 0.1 none) l c h)'+Fail Property color value 'lch(from oklab(none none none) l c h)'+Fail Property color value 'lch(from rgb(none none none) l c h)'+Fail Property color value 'lch(from color(display-p3 none none none) l c h)'+Pass Property color value 'color-mix(in lch, hsl(none 50% 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 none 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 50% none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(none none 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(none 50% none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(none 25% 25%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 none 25%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 25% none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(none none 25%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(none 25% none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(none 20 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 none 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 20 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(none none 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(none 20 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(none 0.2 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 none 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 0.2 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(none none 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(none 0.2 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(none 10 10), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(50 none 10), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(50 10 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(none none 10), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(50 none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(none 10 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(none 0.1 0.1), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(0.5 none 0.1), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(0.5 0.1 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(none none 0.1), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(0.5 none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(none 0.1 none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, rgb(none none none), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, color(display-p3 none none none), lch(11 33 44))'+Fail Property color value 'color-mix(in lch, hsl(none 50% 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 none 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 50% none))'+Fail Property color value 'color-mix(in lch, hsl(none none 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 none none))'+Fail Property color value 'color-mix(in lch, hsl(none 50% none))'+Fail Property color value 'color-mix(in lch, hsl(none none none))'+Fail Property color value 'color-mix(in lch, hwb(none 25% 25%))'+Fail Property color value 'color-mix(in lch, hwb(180 none 25%))'+Fail Property color value 'color-mix(in lch, hwb(180 25% none))'+Fail Property color value 'color-mix(in lch, hwb(none none 25%))'+Fail Property color value 'color-mix(in lch, hwb(180 none none))'+Fail Property color value 'color-mix(in lch, hwb(none 25% none))'+Fail Property color value 'color-mix(in lch, hwb(none none none))'+Fail Property color value 'color-mix(in lch, lch(none 20 180))'+Fail Property color value 'color-mix(in lch, lch(20 none 180))'+Fail Property color value 'color-mix(in lch, lch(20 20 none))'+Fail Property color value 'color-mix(in lch, lch(none none 180))'+Fail Property color value 'color-mix(in lch, lch(20 none none))'+Fail Property color value 'color-mix(in lch, lch(none 20 none))'+Fail Property color value 'color-mix(in lch, lch(none none none))'+Fail Property color value 'color-mix(in lch, oklch(none 0.2 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 none 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 0.2 none))'+Fail Property color value 'color-mix(in lch, oklch(none none 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 none none))'+Fail Property color value 'color-mix(in lch, oklch(none 0.2 none))'+Fail Property color value 'color-mix(in lch, oklch(none none none))'+Fail Property color value 'color-mix(in lch, lab(none 10 10))'+Fail Property color value 'color-mix(in lch, lab(50 none 10))'+Fail Property color value 'color-mix(in lch, lab(50 10 none))'+Fail Property color value 'color-mix(in lch, lab(none none 10))'+Fail Property color value 'color-mix(in lch, lab(50 none none))'+Fail Property color value 'color-mix(in lch, lab(none 10 none))'+Fail Property color value 'color-mix(in lch, lab(none none none))'+Fail Property color value 'color-mix(in lch, oklab(none 0.1 0.1))'+Fail Property color value 'color-mix(in lch, oklab(0.5 none 0.1))'+Fail Property color value 'color-mix(in lch, oklab(0.5 0.1 none))'+Fail Property color value 'color-mix(in lch, oklab(none none 0.1))'+Fail Property color value 'color-mix(in lch, oklab(0.5 none none))'+Fail Property color value 'color-mix(in lch, oklab(none 0.1 none))'+Fail Property color value 'color-mix(in lch, oklab(none none none))'+Fail Property color value 'color-mix(in lch, rgb(none none none))'+Fail Property color value 'color-mix(in lch, color(display-p3 none none none))'+Fail Property color value 'oklch(from hsl(none 50% 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 none 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 50% none) l c h)'+Fail Property color value 'oklch(from hsl(none none 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 none none) l c h)'+Fail Property color value 'oklch(from hsl(none 50% none) l c h)'+Fail Property color value 'oklch(from hsl(none none none) l c h)'+Fail Property color value 'oklch(from hwb(none 25% 25%) l c h)'+Pass Property color value 'oklch(from hwb(180 none 25%) l c h)'+Pass Property color value 'oklch(from hwb(180 25% none) l c h)'+Fail Property color value 'oklch(from hwb(none none 25%) l c h)'+Fail Property color value 'oklch(from hwb(180 none none) l c h)'+Fail Property color value 'oklch(from hwb(none 25% none) l c h)'+Fail Property color value 'oklch(from hwb(none none none) l c h)'+Fail Property color value 'oklch(from lch(none 20 180) l c h)'+Fail Property color value 'oklch(from lch(20 none 180) l c h)'+Fail Property color value 'oklch(from lch(20 20 none) l c h)'+Fail Property color value 'oklch(from lch(none none 180) l c h)'+Fail Property color value 'oklch(from lch(20 none none) l c h)'+Fail Property color value 'oklch(from lch(none 20 none) l c h)'+Fail Property color value 'oklch(from lch(none none none) l c h)'+Fail Property color value 'oklch(from oklch(none 0.2 180) l c h)'+Fail Property color value 'oklch(from oklch(0.2 none 180) l c h)'+Fail Property color value 'oklch(from oklch(0.2 0.2 none) l c h)'+Fail Property color value 'oklch(from oklch(none none 180) l c h)'+Fail Property color value 'oklch(from oklch(0.2 none none) l c h)'+Fail Property color value 'oklch(from oklch(none 0.2 none) l c h)'+Fail Property color value 'oklch(from oklch(none none none) l c h)'+Fail Property color value 'oklch(from lab(none 10 10) l c h)'+Pass Property color value 'oklch(from lab(50 none 10) l c h)'+Pass Property color value 'oklch(from lab(50 10 none) l c h)'+Fail Property color value 'oklch(from lab(none none 10) l c h)'+Fail Property color value 'oklch(from lab(50 none none) l c h)'+Fail Property color value 'oklch(from lab(none 10 none) l c h)'+Fail Property color value 'oklch(from lab(none none none) l c h)'+Fail Property color value 'oklch(from oklab(none 0.1 0.1) l c h)'+Pass Property color value 'oklch(from oklab(0.5 none 0.1) l c h)'+Pass Property color value 'oklch(from oklab(0.5 0.1 none) l c h)'+Fail Property color value 'oklch(from oklab(none none 0.1) l c h)'+Fail Property color value 'oklch(from oklab(0.5 none none) l c h)'+Fail Property color value 'oklch(from oklab(none 0.1 none) l c h)'+Fail Property color value 'oklch(from oklab(none none none) l c h)'+Fail Property color value 'oklch(from rgb(none none none) l c h)'+Fail Property color value 'oklch(from color(display-p3 none none none) l c h)'+Pass Property color value 'color-mix(in oklch, hsl(none 50% 50%), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hsl(180 none 50%), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hsl(180 50% none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hsl(none none 50%), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hsl(180 none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hsl(none 50% none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hsl(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(none 25% 25%), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(180 none 25%), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(180 25% none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(none none 25%), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(180 none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(none 25% none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, hwb(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(none 20 180), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(20 none 180), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(20 20 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(none none 180), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(20 none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(none 20 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lch(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(none 0.2 180), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 none 180), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 0.2 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(none none 180), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(none 0.2 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklch(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(none 10 10), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(50 none 10), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(50 10 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(none none 10), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(50 none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(none 10 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, lab(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(none 0.1 0.1), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(0.5 none 0.1), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(0.5 0.1 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(none none 0.1), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(0.5 none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(none 0.1 none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, oklab(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, rgb(none none none), oklch(0.11 0.33 44))'+Pass Property color value 'color-mix(in oklch, color(display-p3 none none none), oklch(0.11 0.33 44))'+Fail Property color value 'color-mix(in oklch, hsl(none 50% 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 none 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 50% none))'+Fail Property color value 'color-mix(in oklch, hsl(none none 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 none none))'+Fail Property color value 'color-mix(in oklch, hsl(none 50% none))'+Fail Property color value 'color-mix(in oklch, hsl(none none none))'+Fail Property color value 'color-mix(in oklch, hwb(none 25% 25%))'+Fail Property color value 'color-mix(in oklch, hwb(180 none 25%))'+Fail Property color value 'color-mix(in oklch, hwb(180 25% none))'+Fail Property color value 'color-mix(in oklch, hwb(none none 25%))'+Fail Property color value 'color-mix(in oklch, hwb(180 none none))'+Fail Property color value 'color-mix(in oklch, hwb(none 25% none))'+Fail Property color value 'color-mix(in oklch, hwb(none none none))'+Fail Property color value 'color-mix(in oklch, lch(none 20 180))'+Fail Property color value 'color-mix(in oklch, lch(20 none 180))'+Fail Property color value 'color-mix(in oklch, lch(20 20 none))'+Fail Property color value 'color-mix(in oklch, lch(none none 180))'+Fail Property color value 'color-mix(in oklch, lch(20 none none))'+Fail Property color value 'color-mix(in oklch, lch(none 20 none))'+Fail Property color value 'color-mix(in oklch, lch(none none none))'+Fail Property color value 'color-mix(in oklch, oklch(none 0.2 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 none 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 0.2 none))'+Fail Property color value 'color-mix(in oklch, oklch(none none 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 none none))'+Fail Property color value 'color-mix(in oklch, oklch(none 0.2 none))'+Fail Property color value 'color-mix(in oklch, oklch(none none none))'+Fail Property color value 'color-mix(in oklch, lab(none 10 10))'+Fail Property color value 'color-mix(in oklch, lab(50 none 10))'+Fail Property color value 'color-mix(in oklch, lab(50 10 none))'+Fail Property color value 'color-mix(in oklch, lab(none none 10))'+Fail Property color value 'color-mix(in oklch, lab(50 none none))'+Fail Property color value 'color-mix(in oklch, lab(none 10 none))'+Fail Property color value 'color-mix(in oklch, lab(none none none))'+Fail Property color value 'color-mix(in oklch, oklab(none 0.1 0.1))'+Fail Property color value 'color-mix(in oklch, oklab(0.5 none 0.1))'+Fail Property color value 'color-mix(in oklch, oklab(0.5 0.1 none))'+Fail Property color value 'color-mix(in oklch, oklab(none none 0.1))'+Fail Property color value 'color-mix(in oklch, oklab(0.5 none none))'+Fail Property color value 'color-mix(in oklch, oklab(none 0.1 none))'+Fail Property color value 'color-mix(in oklch, oklab(none none none))'+Fail Property color value 'color-mix(in oklch, rgb(none none none))'+Fail Property color value 'color-mix(in oklch, color(display-p3 none none none))'+Fail Property color value 'rgb(from rgb(none 50 100) r g b)'+Fail Property color value 'rgb(from rgb(25 none 100) r g b)'+Fail Property color value 'rgb(from rgb(25 50 none) r g b)'+Fail Property color value 'rgb(from rgb(none none 100) r g b)'+Fail Property color value 'rgb(from rgb(25 none none) r g b)'+Fail Property color value 'rgb(from rgb(none 50 none) r g b)'+Fail Property color value 'rgb(from rgb(none none none) r g b)'+Fail Property color value 'rgb(from color(display-p3 none 0.5 1) r g b)'+Fail Property color value 'rgb(from color(display-p3 0.25 none 1) r g b)'+Fail Property color value 'rgb(from color(display-p3 0.25 0.5 none) r g b)'+Fail Property color value 'rgb(from color(display-p3 none none 1) r g b)'+Fail Property color value 'rgb(from color(display-p3 0.25 none none) r g b)'+Fail Property color value 'rgb(from color(display-p3 none 0.5 none) r g b)'+Fail Property color value 'rgb(from color(display-p3 none none none) r g b)'+Fail Property color value 'rgb(from color(xyz none 0.5 1) r g b)'+Fail Property color value 'rgb(from color(xyz 0.25 none 1) r g b)'+Fail Property color value 'rgb(from color(xyz 0.25 0.5 none) r g b)'+Fail Property color value 'rgb(from color(xyz none none 1) r g b)'+Fail Property color value 'rgb(from color(xyz 0.25 none none) r g b)'+Fail Property color value 'rgb(from color(xyz none 0.5 none) r g b)'+Fail Property color value 'rgb(from color(xyz none none none) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 none 0.5 1) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 0.25 none 1) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 0.25 0.5 none) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 none none 1) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 0.25 none none) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 none 0.5 none) r g b)'+Fail Property color value 'rgb(from color(xyz-d50 none none none) r g b)'+Fail Property color value 'rgb(from hwb(none none none) r g b)'+Fail Property color value 'rgb(from hsl(none none none) r g b)'+Fail Property color value 'rgb(from lab(none none none) r g b)'+Fail Property color value 'rgb(from oklab(none none none) r g b)'+Pass Property color value 'color-mix(in srgb, rgb(none 50 100), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, rgb(25 none 100), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, rgb(25 50 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, rgb(none none 100), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, rgb(25 none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, rgb(none 50 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, rgb(none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 none 0.5 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 0.25 none 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 0.25 0.5 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 none none 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 0.25 none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 none 0.5 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(display-p3 none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz none 0.5 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz 0.25 none 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz 0.25 0.5 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz none none 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz 0.25 none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz none 0.5 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 none 0.5 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 0.25 none 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 0.25 0.5 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 none none 1), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 0.25 none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 none 0.5 none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, color(xyz-d50 none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, hwb(none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, hsl(none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, lab(none none none), color(srgb 0.11 0.33 0.44))'+Pass Property color value 'color-mix(in srgb, oklab(none none none), color(srgb 0.11 0.33 0.44))'+Fail Property color value 'color-mix(in srgb, rgb(none 50 100))'+Fail Property color value 'color-mix(in srgb, rgb(25 none 100))'+Fail Property color value 'color-mix(in srgb, rgb(25 50 none))'+Fail Property color value 'color-mix(in srgb, rgb(none none 100))'+Fail Property color value 'color-mix(in srgb, rgb(25 none none))'+Fail Property color value 'color-mix(in srgb, rgb(none 50 none))'+Fail Property color value 'color-mix(in srgb, rgb(none none none))'+Fail Property color value 'color-mix(in srgb, color(display-p3 none 0.5 1))'+Fail Property color value 'color-mix(in srgb, color(display-p3 0.25 none 1))'+Fail Property color value 'color-mix(in srgb, color(display-p3 0.25 0.5 none))'+Fail Property color value 'color-mix(in srgb, color(display-p3 none none 1))'+Fail Property color value 'color-mix(in srgb, color(display-p3 0.25 none none))'+Fail Property color value 'color-mix(in srgb, color(display-p3 none 0.5 none))'+Fail Property color value 'color-mix(in srgb, color(display-p3 none none none))'+Fail Property color value 'color-mix(in srgb, color(xyz none 0.5 1))'+Fail Property color value 'color-mix(in srgb, color(xyz 0.25 none 1))'+Fail Property color value 'color-mix(in srgb, color(xyz 0.25 0.5 none))'+Fail Property color value 'color-mix(in srgb, color(xyz none none 1))'+Fail Property color value 'color-mix(in srgb, color(xyz 0.25 none none))'+Fail Property color value 'color-mix(in srgb, color(xyz none 0.5 none))'+Fail Property color value 'color-mix(in srgb, color(xyz none none none))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 none 0.5 1))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 0.25 none 1))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 0.25 0.5 none))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 none none 1))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 0.25 none none))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 none 0.5 none))'+Fail Property color value 'color-mix(in srgb, color(xyz-d50 none none none))'+Fail Property color value 'color-mix(in srgb, hwb(none none none))'+Fail Property color value 'color-mix(in srgb, hsl(none none none))'+Fail Property color value 'color-mix(in srgb, lab(none none none))'+Fail Property color value 'color-mix(in srgb, oklab(none none none))'+Fail Property color value 'lab(from lab(none 10 10) l a b)'+Fail Property color value 'lab(from lab(50 none 10) l a b)'+Fail Property color value 'lab(from lab(50 10 none) l a b)'+Fail Property color value 'lab(from lab(none none 10) l a b)'+Fail Property color value 'lab(from lab(50 none none) l a b)'+Fail Property color value 'lab(from lab(none 10 none) l a b)'+Fail Property color value 'lab(from lab(none none none) l a b)'+Fail Property color value 'lab(from oklab(none 0.1 0.1) l a b)'+Fail Property color value 'lab(from oklab(0.5 none 0.1) l a b)'+Fail Property color value 'lab(from oklab(0.5 0.1 none) l a b)'+Fail Property color value 'lab(from oklab(none none 0.1) l a b)'+Fail Property color value 'lab(from oklab(0.5 none none) l a b)'+Fail Property color value 'lab(from oklab(none 0.1 none) l a b)'+Fail Property color value 'lab(from oklab(none none none) l a b)'+Fail Property color value 'lab(from hwb(none none none) l a b)'+Fail Property color value 'lab(from hsl(none none none) l a b)'+Fail Property color value 'lab(from rgb(none none none) l a b)'+Fail Property color value 'lab(from color(display-p3 none none none) l a b)'+Pass Property color value 'color-mix(in lab, lab(none 10 10), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, lab(50 none 10), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, lab(50 10 none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, lab(none none 10), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, lab(50 none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, lab(none 10 none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, lab(none none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(none 0.1 0.1), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(0.5 none 0.1), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(0.5 0.1 none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(none none 0.1), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(0.5 none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(none 0.1 none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, oklab(none none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, hwb(none none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, hsl(none none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, rgb(none none none), lab(11 33 44))'+Pass Property color value 'color-mix(in lab, color(display-p3 none none none), lab(11 33 44))'+Fail Property color value 'color-mix(in lab, lab(none 10 10))'+Fail Property color value 'color-mix(in lab, lab(50 none 10))'+Fail Property color value 'color-mix(in lab, lab(50 10 none))'+Fail Property color value 'color-mix(in lab, lab(none none 10))'+Fail Property color value 'color-mix(in lab, lab(50 none none))'+Fail Property color value 'color-mix(in lab, lab(none 10 none))'+Fail Property color value 'color-mix(in lab, lab(none none none))'+Fail Property color value 'color-mix(in lab, oklab(none 0.1 0.1))'+Fail Property color value 'color-mix(in lab, oklab(0.5 none 0.1))'+Fail Property color value 'color-mix(in lab, oklab(0.5 0.1 none))'+Fail Property color value 'color-mix(in lab, oklab(none none 0.1))'+Fail Property color value 'color-mix(in lab, oklab(0.5 none none))'+Fail Property color value 'color-mix(in lab, oklab(none 0.1 none))'+Fail Property color value 'color-mix(in lab, oklab(none none none))'+Fail Property color value 'color-mix(in lab, hwb(none none none))'+Fail Property color value 'color-mix(in lab, hsl(none none none))'+Fail Property color value 'color-mix(in lab, rgb(none none none))'+Fail Property color value 'color-mix(in lab, color(display-p3 none none none))'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-powerless.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-powerless.txtnew file mode 100644index 00000000000..298008ac0cb--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-powerless.txt@@ -0,0 +1,576 @@+Harness status: OK++Found 570 tests++253 Pass+317 Fail+Pass Property color value 'hsl(from hsl(0 50% 50%) h s l)'+Pass Property color value 'hsl(from hsl(180 0 50%) h s l)'+Pass Property color value 'hsl(from hsl(180 50% 0) h s l)'+Pass Property color value 'hsl(from hsl(0 0 50%) h s l)'+Pass Property color value 'hsl(from hsl(180 0 0) h s l)'+Pass Property color value 'hsl(from hsl(0 50% 0) h s l)'+Pass Property color value 'hsl(from hsl(0 0 0) h s l)'+Pass Property color value 'hsl(from hsl(180 0.001% 50%) h s l)'+Pass Property color value 'hsl(from hsl(180 0.0011% 50%) h s l)'+Fail Property color value 'hsl(from hsl(180 0.001% 50%) h calc(s * 1000) l)'+Fail Property color value 'hsl(from hsl(180 0.0011% 50%) h calc(s * 1000) l)'+Pass Property color value 'hsl(from hwb(0 25% 25%) h s l)'+Fail Property color value 'hsl(from hwb(180 100% 25%) h s l)'+Fail Property color value 'hsl(from hwb(180 25% 100%) h s l)'+Fail Property color value 'hsl(from hwb(0 100% 25%) h s l)'+Fail Property color value 'hsl(from hwb(180 100% 100%) h s l)'+Fail Property color value 'hsl(from hwb(0 25% 100%) h s l)'+Fail Property color value 'hsl(from hwb(0 100% 100%) h s l)'+Fail Property color value 'hsl(from hwb(180 49.999% 50%) h s l)'+Pass Property color value 'hsl(from hwb(180 49.998% 50%) h s l)'+Fail Property color value 'hsl(from hwb(180 49.999% 50%) h calc(s * 1000) l)'+Fail Property color value 'hsl(from hwb(180 49.998% 50%) h calc(s * 1000) l)'+Pass Property color value 'hsl(from lch(0 20 180) h s l)'+Fail Property color value 'hsl(from lch(20 0 180) h s l)'+Pass Property color value 'hsl(from lch(20 20 0) h s l)'+Fail Property color value 'hsl(from lch(0 0 180) h s l)'+Fail Property color value 'hsl(from lch(20 0 0) h s l)'+Pass Property color value 'hsl(from lch(0 20 0) h s l)'+Fail Property color value 'hsl(from lch(0 0 0) h s l)'+Fail Property color value 'hsl(from lch(20 0.0015 180) h s l)'+Pass Property color value 'hsl(from lch(20 0.00151 180) h s l)'+Fail Property color value 'hsl(from lch(20 0.0015 180) h calc(s * 1000) l)'+Pass Property color value 'hsl(from lch(20 0.00151 180) h calc(s * 1000) l)'+Pass Property color value 'hsl(from oklch(0 0.2 180) h s l)'+Fail Property color value 'hsl(from oklch(0.2 0 180) h s l)'+Pass Property color value 'hsl(from oklch(0.2 0.2 0) h s l)'+Fail Property color value 'hsl(from oklch(0 0 180) h s l)'+Fail Property color value 'hsl(from oklch(0.2 0 0) h s l)'+Pass Property color value 'hsl(from oklch(0 0.2 0) h s l)'+Fail Property color value 'hsl(from oklch(0 0 0) h s l)'+Fail Property color value 'hsl(from oklch(0.2 0.000004 180) h s l)'+Pass Property color value 'hsl(from oklch(0.2 0.0000041 180) h s l)'+Fail Property color value 'hsl(from oklch(0.2 0.000004 180) h calc(s * 1000) l)'+Pass Property color value 'hsl(from oklch(0.2 0.0000041 180) h calc(s * 1000) l)'+Fail Property color value 'hsl(from rgb(0 0 0) h s l)'+Fail Property color value 'hsl(from color(display-p3 0 0 0) h s l)'+Fail Property color value 'hsl(from lab(0 0 0) h s l)'+Fail Property color value 'hsl(from oklab(0 0 0) h s l)'+Pass Property color value 'hsl(from color(display-p3 0.50000333 0.49999445 0.49999517) h s l)'+Pass Property color value 'hsl(from color(display-p3 0.49999645 0.50000513 0.50000531) h s l)'+Pass Property color value 'hsl(from color(display-p3 0.50000333 0.49999445 0.49999517) h calc(s * 1000) l)'+Pass Property color value 'hsl(from color(display-p3 0.49999645 0.50000513 0.50000531) h calc(s * 1000) l)'+Pass Property color value 'color(from hsl(180 0% 50%) display-p3 r g b)'+Pass Property color value 'color(from hsl(180 0.001% 50%) display-p3 r g b)'+Pass Property color value 'color(from hsl(180 0.0011% 50%) display-p3 r g b)'+Pass Property color value 'color-mix(in hsl, hsl(0 50% 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 0 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 50% 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(0 0 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(0 50% 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(0 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 0.001% 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hsl(180 0.0011% 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(0 25% 25%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 100% 25%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 25% 100%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(0 100% 25%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 100% 100%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(0 25% 100%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(0 100% 100%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, hwb(180 49.999% 50%), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, hwb(180 49.998% 50%), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(0 20 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 0 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 20 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(0 0 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(0 20 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(0 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lch(20 0.0015 180), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, lch(20 0.00151 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0 0.2 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 0 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 0.2 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0 0 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0 0.2 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 0.000004 180), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0.0000041 180), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, rgb(0 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, color(display-p3 0 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, lab(0 0 0), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, oklab(0 0 0), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, color(display-p3 0.50000333 0.49999445 0.49999517), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, color(display-p3 0.49999645 0.50000513 0.50000531), hsl(11 33 44))'+Fail Property color value 'color-mix(in hsl, hsl(0 50% 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 0 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 50% 0))'+Fail Property color value 'color-mix(in hsl, hsl(0 0 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 0 0))'+Fail Property color value 'color-mix(in hsl, hsl(0 50% 0))'+Fail Property color value 'color-mix(in hsl, hsl(0 0 0))'+Fail Property color value 'color-mix(in hsl, hsl(180 0.001% 50%))'+Fail Property color value 'color-mix(in hsl, hsl(180 0.0011% 50%))'+Fail Property color value 'color-mix(in hsl, hwb(0 25% 25%))'+Fail Property color value 'color-mix(in hsl, hwb(180 100% 25%))'+Fail Property color value 'color-mix(in hsl, hwb(180 25% 100%))'+Fail Property color value 'color-mix(in hsl, hwb(0 100% 25%))'+Fail Property color value 'color-mix(in hsl, hwb(180 100% 100%))'+Fail Property color value 'color-mix(in hsl, hwb(0 25% 100%))'+Fail Property color value 'color-mix(in hsl, hwb(0 100% 100%))'+Fail Property color value 'color-mix(in hsl, hwb(180 49.999% 50%))'+Fail Property color value 'color-mix(in hsl, hwb(180 49.998% 50%))'+Fail Property color value 'color-mix(in hsl, lch(0 20 180))'+Fail Property color value 'color-mix(in hsl, lch(20 0 180))'+Fail Property color value 'color-mix(in hsl, lch(20 20 0))'+Fail Property color value 'color-mix(in hsl, lch(0 0 180))'+Fail Property color value 'color-mix(in hsl, lch(20 0 0))'+Fail Property color value 'color-mix(in hsl, lch(0 20 0))'+Fail Property color value 'color-mix(in hsl, lch(0 0 0))'+Fail Property color value 'color-mix(in hsl, lch(20 0.0015 180))'+Fail Property color value 'color-mix(in hsl, lch(20 0.00151 180))'+Fail Property color value 'color-mix(in hsl, oklch(0 0.2 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0.2 0))'+Fail Property color value 'color-mix(in hsl, oklch(0 0 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0 0))'+Fail Property color value 'color-mix(in hsl, oklch(0 0.2 0))'+Fail Property color value 'color-mix(in hsl, oklch(0 0 0))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0.000004 180))'+Fail Property color value 'color-mix(in hsl, oklch(0.2 0.0000041 180))'+Fail Property color value 'color-mix(in hsl, rgb(0 0 0))'+Fail Property color value 'color-mix(in hsl, color(display-p3 0 0 0))'+Fail Property color value 'color-mix(in hsl, lab(0 0 0))'+Fail Property color value 'color-mix(in hsl, oklab(0 0 0))'+Fail Property color value 'color-mix(in hsl, color(display-p3 0.50000333 0.49999445 0.49999517))'+Fail Property color value 'color-mix(in hsl, color(display-p3 0.49999645 0.50000513 0.50000531))'+Pass Property color value 'hwb(from hsl(0 50% 50%) h w b)'+Fail Property color value 'hwb(from hsl(180 0 50%) h w b)'+Fail Property color value 'hwb(from hsl(180 50% 0) h w b)'+Fail Property color value 'hwb(from hsl(0 0 50%) h w b)'+Fail Property color value 'hwb(from hsl(180 0 0) h w b)'+Fail Property color value 'hwb(from hsl(0 50% 0) h w b)'+Fail Property color value 'hwb(from hsl(0 0 0) h w b)'+Fail Property color value 'hwb(from hsl(180 0.001% 50%) h w b)'+Pass Property color value 'hwb(from hsl(180 0.0011% 50%) h w b)'+Pass Property color value 'hwb(from hwb(0 25% 25%) h w b)'+Pass Property color value 'hwb(from hwb(180 100% 25%) h w b)'+Pass Property color value 'hwb(from hwb(180 25% 100%) h w b)'+Pass Property color value 'hwb(from hwb(0 100% 25%) h w b)'+Pass Property color value 'hwb(from hwb(180 100% 100%) h w b)'+Pass Property color value 'hwb(from hwb(0 25% 100%) h w b)'+Pass Property color value 'hwb(from hwb(0 100% 100%) h w b)'+Pass Property color value 'hwb(from hwb(180 99.999% 0%) h w b)'+Fail Property color value 'hwb(from hwb(180 99.999% none) h w b)'+Fail Property color value 'hwb(from hsl(from hwb(180 99.999% none) h s l) h w b)'+Pass Property color value 'hwb(from hwb(180 99.998% 0%) h w b)'+Pass Property color value 'hwb(from hwb(180 0% 99.999%) h w b)'+Fail Property color value 'hwb(from hwb(180 none 99.999%) h w b)'+Fail Property color value 'hwb(from hsl(from hwb(180 none 99.999%) h s l) h w b)'+Pass Property color value 'hwb(from hwb(180 0% 99.998%) h w b)'+Pass Property color value 'hwb(from hwb(180 49.999% 50%) h w b)'+Pass Property color value 'hwb(from hwb(180 49.998% 50%) h w b)'+Pass Property color value 'hwb(from lch(0 20 180) h w b)'+Fail Property color value 'hwb(from lch(20 0 180) h w b)'+Pass Property color value 'hwb(from lch(20 20 0) h w b)'+Fail Property color value 'hwb(from lch(0 0 180) h w b)'+Fail Property color value 'hwb(from lch(20 0 0) h w b)'+Pass Property color value 'hwb(from lch(0 20 0) h w b)'+Fail Property color value 'hwb(from lch(0 0 0) h w b)'+Fail Property color value 'hwb(from lch(20 0.0015 180) h w b)'+Pass Property color value 'hwb(from lch(20 0.00151 180) h w b)'+Pass Property color value 'hwb(from oklch(0 0.2 180) h w b)'+Fail Property color value 'hwb(from oklch(0.2 0 180) h w b)'+Pass Property color value 'hwb(from oklch(0.2 0.2 0) h w b)'+Fail Property color value 'hwb(from oklch(0 0 180) h w b)'+Fail Property color value 'hwb(from oklch(0.2 0 0) h w b)'+Pass Property color value 'hwb(from oklch(0 0.2 0) h w b)'+Fail Property color value 'hwb(from oklch(0 0 0) h w b)'+Fail Property color value 'hwb(from oklch(0.8 0.000004 180) h w b)'+Pass Property color value 'hwb(from oklch(0.8 0.0000041 180) h w b)'+Fail Property color value 'hwb(from rgb(0 0 0) h w b)'+Fail Property color value 'hwb(from color(display-p3 0 0 0) h w b)'+Fail Property color value 'hwb(from lab(0 0 0) h w b)'+Fail Property color value 'hwb(from oklab(0 0 0) h w b)'+Pass Property color value 'hwb(from color(display-p3 0.50000333 0.49999445 0.49999517) h w b)'+Pass Property color value 'hwb(from color(display-p3 0.49999645 0.50000513 0.50000531) h w b)'+Pass Property color value 'color(from hwb(180 50% 50%) display-p3 r g b)'+Pass Property color value 'color(from hwb(180 49.999% 50%) display-p3 r g b)'+Pass Property color value 'color(from hwb(180 49.998% 50%) display-p3 r g b)'+Pass Property color value 'color-mix(in hwb, hsl(0 50% 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 0 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 50% 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(0 0 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(0 50% 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(0 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(180 0.001% 50%), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, hsl(180 0.0011% 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(0 25% 25%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 100% 25%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 25% 100%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(0 100% 25%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 100% 100%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(0 25% 100%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(0 100% 100%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 99.999% 0%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 99.999% none), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(from hwb(180 99.999% none) h s l), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 99.998% 0%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 0% 99.999%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 none 99.999%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hsl(from hwb(180 none 99.999%) h s l), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 0% 99.998%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 49.999% 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, hwb(180 49.998% 50%), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(0 20 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 0 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 20 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(0 0 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(0 20 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(0 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lch(20 0.0015 180), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, lch(20 0.00151 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0 0.2 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.2 0 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.2 0.2 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0 0 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.2 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0 0.2 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklch(0.8 0.000004 180), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, oklch(0.8 0.0000041 180), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, rgb(0 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, color(display-p3 0 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, lab(0 0 0), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, oklab(0 0 0), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, color(display-p3 0.50000333 0.49999445 0.49999517), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, color(display-p3 0.49999645 0.50000513 0.50000531), hwb(11 33 44))'+Fail Property color value 'color-mix(in hwb, hsl(0 50% 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 0 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 50% 0))'+Fail Property color value 'color-mix(in hwb, hsl(0 0 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 0 0))'+Fail Property color value 'color-mix(in hwb, hsl(0 50% 0))'+Fail Property color value 'color-mix(in hwb, hsl(0 0 0))'+Fail Property color value 'color-mix(in hwb, hsl(180 0.001% 50%))'+Fail Property color value 'color-mix(in hwb, hsl(180 0.0011% 50%))'+Fail Property color value 'color-mix(in hwb, hwb(0 25% 25%))'+Fail Property color value 'color-mix(in hwb, hwb(180 100% 25%))'+Fail Property color value 'color-mix(in hwb, hwb(180 25% 100%))'+Fail Property color value 'color-mix(in hwb, hwb(0 100% 25%))'+Fail Property color value 'color-mix(in hwb, hwb(180 100% 100%))'+Fail Property color value 'color-mix(in hwb, hwb(0 25% 100%))'+Fail Property color value 'color-mix(in hwb, hwb(0 100% 100%))'+Fail Property color value 'color-mix(in hwb, hwb(180 99.999% 0%))'+Fail Property color value 'color-mix(in hwb, hwb(180 99.999% none))'+Fail Property color value 'color-mix(in hwb, hsl(from hwb(180 99.999% none) h s l))'+Fail Property color value 'color-mix(in hwb, hwb(180 99.998% 0%))'+Fail Property color value 'color-mix(in hwb, hwb(180 0% 99.999%))'+Fail Property color value 'color-mix(in hwb, hwb(180 none 99.999%))'+Fail Property color value 'color-mix(in hwb, hsl(from hwb(180 none 99.999%) h s l))'+Fail Property color value 'color-mix(in hwb, hwb(180 0% 99.998%))'+Fail Property color value 'color-mix(in hwb, hwb(180 49.999% 50%))'+Fail Property color value 'color-mix(in hwb, hwb(180 49.998% 50%))'+Fail Property color value 'color-mix(in hwb, lch(0 20 180))'+Fail Property color value 'color-mix(in hwb, lch(20 0 180))'+Fail Property color value 'color-mix(in hwb, lch(20 20 0))'+Fail Property color value 'color-mix(in hwb, lch(0 0 180))'+Fail Property color value 'color-mix(in hwb, lch(20 0 0))'+Fail Property color value 'color-mix(in hwb, lch(0 20 0))'+Fail Property color value 'color-mix(in hwb, lch(0 0 0))'+Fail Property color value 'color-mix(in hwb, lch(20 0.0015 180))'+Fail Property color value 'color-mix(in hwb, lch(20 0.00151 180))'+Fail Property color value 'color-mix(in hwb, oklch(0 0.2 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.2 0 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.2 0.2 0))'+Fail Property color value 'color-mix(in hwb, oklch(0 0 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.2 0 0))'+Fail Property color value 'color-mix(in hwb, oklch(0 0.2 0))'+Fail Property color value 'color-mix(in hwb, oklch(0 0 0))'+Fail Property color value 'color-mix(in hwb, oklch(0.8 0.000004 180))'+Fail Property color value 'color-mix(in hwb, oklch(0.8 0.0000041 180))'+Fail Property color value 'color-mix(in hwb, rgb(0 0 0))'+Fail Property color value 'color-mix(in hwb, color(display-p3 0 0 0))'+Fail Property color value 'color-mix(in hwb, lab(0 0 0))'+Fail Property color value 'color-mix(in hwb, oklab(0 0 0))'+Fail Property color value 'color-mix(in hwb, color(display-p3 0.50000333 0.49999445 0.49999517))'+Fail Property color value 'color-mix(in hwb, color(display-p3 0.49999645 0.50000513 0.50000531))'+Fail Property color value 'lch(from hsl(0 50% 50%) l c h)'+Fail Property color value 'lch(from hsl(180 0 50%) l c h)'+Fail Property color value 'lch(from hsl(180 50% 0) l c h)'+Fail Property color value 'lch(from hsl(0 0 50%) l c h)'+Fail Property color value 'lch(from hsl(180 0 0) l c h)'+Fail Property color value 'lch(from hsl(0 50% 0) l c h)'+Fail Property color value 'lch(from hsl(0 0 0) l c h)'+Fail Property color value 'lch(from hsl(180 0.001% 50%) l c h)'+Fail Property color value 'lch(from hsl(180 0.0011% 50%) l c h)'+Fail Property color value 'lch(from hsl(180 0.001% 50%) l calc(c * 1000) h)'+Fail Property color value 'lch(from hsl(180 0.0011% 50%) l calc(c * 1000) h)'+Fail Property color value 'lch(from hwb(0 25% 25%) l c h)'+Fail Property color value 'lch(from hwb(180 100% 25%) l c h)'+Fail Property color value 'lch(from hwb(180 25% 100%) l c h)'+Fail Property color value 'lch(from hwb(0 100% 25%) l c h)'+Fail Property color value 'lch(from hwb(180 100% 100%) l c h)'+Fail Property color value 'lch(from hwb(0 25% 100%) l c h)'+Fail Property color value 'lch(from hwb(0 100% 100%) l c h)'+Fail Property color value 'lch(from hwb(180 99.999% 0%) l c h)'+Fail Property color value 'lch(from hwb(180 99.96% 0%) l c h)'+Fail Property color value 'lch(from hwb(180 49.999% 50%) l c h)'+Fail Property color value 'lch(from hwb(180 49.9% 50%) l c h)'+Fail Property color value 'lch(from hwb(180 99.999% 0%) l calc(c * 1000) h)'+Fail Property color value 'lch(from hwb(180 99.96% 0%) l calc(c * 1000) h)'+Fail Property color value 'lch(from hwb(180 49.999% 50%) l calc(c * 1000) h)'+Fail Property color value 'lch(from hwb(180 49.9% 50%) l calc(c * 1000) h)'+Pass Property color value 'lch(from lch(0 20 180) l c h)'+Pass Property color value 'lch(from lch(20 0 180) l c h)'+Pass Property color value 'lch(from lch(20 20 0) l c h)'+Pass Property color value 'lch(from lch(0 0 180) l c h)'+Pass Property color value 'lch(from lch(20 0 0) l c h)'+Pass Property color value 'lch(from lch(0 20 0) l c h)'+Pass Property color value 'lch(from lch(0 0 0) l c h)'+Pass Property color value 'lch(from lch(20 0.0015 180) l c h)'+Pass Property color value 'lch(from lch(20 0.00151 180) l c h)'+Pass Property color value 'lch(from lch(20 0.0015 180) l calc(c * 1000) h)'+Pass Property color value 'lch(from lch(20 0.00151 180) l calc(c * 1000) h)'+Pass Property color value 'lch(from oklch(0 0.2 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 0 180) l c h)'+Pass Property color value 'lch(from oklch(0.2 0.2 0) l c h)'+Fail Property color value 'lch(from oklch(0 0 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 0 0) l c h)'+Pass Property color value 'lch(from oklch(0 0.2 0) l c h)'+Fail Property color value 'lch(from oklch(0 0 0) l c h)'+Fail Property color value 'lch(from oklch(0.2 0.000004 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 0.0000041 180) l c h)'+Fail Property color value 'lch(from oklch(0.2 0.000004 180) l calc(c * 1000) h)'+Fail Property color value 'lch(from oklch(0.2 0.0000041 180) l calc(c * 1000) h)'+Fail Property color value 'lch(from rgb(0 0 0) l c h)'+Fail Property color value 'lch(from color(display-p3 0 0 0) l c h)'+Fail Property color value 'lch(from lab(0 0 0) l c h)'+Fail Property color value 'lch(from oklab(0 0 0) l c h)'+Fail Property color value 'lch(from color(display-p3 0.18937027 0.189377662 0.189375638) l c h)'+Pass Property color value 'lch(from color(display-p3 0.18932064 0.18941374 0.18938824) l c h)'+Pass Property color value 'color(from lch(20 0 180) display-p3 r g b)'+Pass Property color value 'color(from lch(20 0.0015 180) display-p3 r g b)'+Pass Property color value 'color(from lch(20 0.00151 180) display-p3 r g b)'+Pass Property color value 'color-mix(in lch, hsl(0 50% 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 0 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 50% 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(0 0 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(0 50% 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 0.001% 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hsl(180 0.0011% 50%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(0 25% 25%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 100% 25%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 25% 100%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(0 100% 25%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 100% 100%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(0 25% 100%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(0 100% 100%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 99.999% 0%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, hwb(180 99.96% 0%), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(0 20 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 0 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 20 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(0 0 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(0 20 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 0.0015 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lch(20 0.00151 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0 0.2 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 0 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 0.2 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0 0 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0 0.2 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 0.000004 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklch(0.2 0.0000041 180), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, rgb(0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, color(display-p3 0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, lab(0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, oklab(0 0 0), lch(11 33 44))'+Pass Property color value 'color-mix(in lch, color(display-p3 0.18937027 0.189377662 0.189375638), lch(11 33 44))'+Fail Property color value 'color-mix(in lch, color(display-p3 0.18932064 0.18941374 0.18938824), lch(11 33 44))'+Fail Property color value 'color-mix(in lch, hsl(0 50% 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 0 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 50% 0))'+Fail Property color value 'color-mix(in lch, hsl(0 0 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 0 0))'+Fail Property color value 'color-mix(in lch, hsl(0 50% 0))'+Fail Property color value 'color-mix(in lch, hsl(0 0 0))'+Fail Property color value 'color-mix(in lch, hsl(180 0.001% 50%))'+Fail Property color value 'color-mix(in lch, hsl(180 0.0011% 50%))'+Fail Property color value 'color-mix(in lch, hwb(0 25% 25%))'+Fail Property color value 'color-mix(in lch, hwb(180 100% 25%))'+Fail Property color value 'color-mix(in lch, hwb(180 25% 100%))'+Fail Property color value 'color-mix(in lch, hwb(0 100% 25%))'+Fail Property color value 'color-mix(in lch, hwb(180 100% 100%))'+Fail Property color value 'color-mix(in lch, hwb(0 25% 100%))'+Fail Property color value 'color-mix(in lch, hwb(0 100% 100%))'+Fail Property color value 'color-mix(in lch, hwb(180 99.999% 0%))'+Fail Property color value 'color-mix(in lch, hwb(180 99.96% 0%))'+Fail Property color value 'color-mix(in lch, lch(0 20 180))'+Fail Property color value 'color-mix(in lch, lch(20 0 180))'+Fail Property color value 'color-mix(in lch, lch(20 20 0))'+Fail Property color value 'color-mix(in lch, lch(0 0 180))'+Fail Property color value 'color-mix(in lch, lch(20 0 0))'+Fail Property color value 'color-mix(in lch, lch(0 20 0))'+Fail Property color value 'color-mix(in lch, lch(0 0 0))'+Fail Property color value 'color-mix(in lch, lch(20 0.0015 180))'+Fail Property color value 'color-mix(in lch, lch(20 0.00151 180))'+Fail Property color value 'color-mix(in lch, oklch(0 0.2 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 0 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 0.2 0))'+Fail Property color value 'color-mix(in lch, oklch(0 0 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 0 0))'+Fail Property color value 'color-mix(in lch, oklch(0 0.2 0))'+Fail Property color value 'color-mix(in lch, oklch(0 0 0))'+Fail Property color value 'color-mix(in lch, oklch(0.2 0.000004 180))'+Fail Property color value 'color-mix(in lch, oklch(0.2 0.0000041 180))'+Fail Property color value 'color-mix(in lch, rgb(0 0 0))'+Fail Property color value 'color-mix(in lch, color(display-p3 0 0 0))'+Fail Property color value 'color-mix(in lch, lab(0 0 0))'+Fail Property color value 'color-mix(in lch, oklab(0 0 0))'+Fail Property color value 'color-mix(in lch, color(display-p3 0.18937027 0.189377662 0.189375638))'+Fail Property color value 'color-mix(in lch, color(display-p3 0.18932064 0.18941374 0.18938824))'+Fail Property color value 'oklch(from hsl(0 50% 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 0 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 50% 0) l c h)'+Fail Property color value 'oklch(from hsl(0 0 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 0 0) l c h)'+Fail Property color value 'oklch(from hsl(0 50% 0) l c h)'+Fail Property color value 'oklch(from hsl(0 0 0) l c h)'+Fail Property color value 'oklch(from hsl(180 0.001% 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 0.0011% 50%) l c h)'+Fail Property color value 'oklch(from hsl(180 0.001% 50%) l calc(c * 1000) h)'+Fail Property color value 'oklch(from hsl(180 0.0011% 50%) l calc(c * 1000) h)'+Fail Property color value 'oklch(from hwb(0 25% 25%) l c h)'+Fail Property color value 'oklch(from hwb(180 100% 25%) l c h)'+Fail Property color value 'oklch(from hwb(180 25% 100%) l c h)'+Fail Property color value 'oklch(from hwb(0 100% 25%) l c h)'+Fail Property color value 'oklch(from hwb(180 100% 100%) l c h)'+Fail Property color value 'oklch(from hwb(0 25% 100%) l c h)'+Fail Property color value 'oklch(from hwb(0 100% 100%) l c h)'+Fail Property color value 'oklch(from hwb(180 99.999% 0%) l c h)'+Fail Property color value 'oklch(from hwb(180 99.96% 0%) l c h)'+Fail Property color value 'oklch(from hwb(180 99.999% 0%) l calc(c * 1000) h)'+Fail Property color value 'oklch(from hwb(180 99.96% 0%) l calc(c * 1000) h)'+Pass Property color value 'oklch(from lch(0 20 180) l c h)'+Fail Property color value 'oklch(from lch(20 0 180) l c h)'+Pass Property color value 'oklch(from lch(20 20 0) l c h)'+Fail Property color value 'oklch(from lch(0 0 180) l c h)'+Fail Property color value 'oklch(from lch(20 0 0) l c h)'+Pass Property color value 'oklch(from lch(0 20 0) l c h)'+Fail Property color value 'oklch(from lch(0 0 0) l c h)'+Fail Property color value 'oklch(from lch(20 0.0015 180) l c h)'+Fail Property color value 'oklch(from lch(20 0.01 180) l c h)'+Fail Property color value 'oklch(from lch(20 0.0015 180) l calc(c * 1000) h)'+Fail Property color value 'oklch(from lch(20 0.01 180) l calc(c * 1000) h)'+Pass Property color value 'oklch(from oklch(0 0.2 180) l c h)'+Pass Property color value 'oklch(from oklch(0.2 0 180) l c h)'+Pass Property color value 'oklch(from oklch(0.2 0.2 0) l c h)'+Pass Property color value 'oklch(from oklch(0 0 180) l c h)'+Pass Property color value 'oklch(from oklch(0.2 0 0) l c h)'+Pass Property color value 'oklch(from oklch(0 0.2 0) l c h)'+Pass Property color value 'oklch(from oklch(0 0 0) l c h)'+Pass Property color value 'oklch(from oklch(0.2 0.000004 180) l c h)'+Pass Property color value 'oklch(from oklch(0.2 0.0000041 180) l c h)'+Pass Property color value 'oklch(from oklch(0.2 0.000004 180) l calc(c * 1000) h)'+Pass Property color value 'oklch(from oklch(0.2 0.0000041 180) l calc(c * 1000) h)'+Fail Property color value 'oklch(from rgb(0 0 0) l c h)'+Fail Property color value 'oklch(from color(display-p3 0 0 0) l c h)'+Fail Property color value 'oklch(from lab(0 0 0) l c h)'+Fail Property color value 'oklch(from oklab(0 0 0) l c h)'+Fail Property color value 'oklch(from color(display-p3 0.08626827 0.08598627 0.08606127) l c h)'+Pass Property color value 'oklch(from color(display-p3 0.08588134 0.08626534 0.08616334) l c h)'+Pass Property color value 'color(from oklch(0.5 0 180) display-p3 r g b)'+Pass Property color value 'color(from oklch(0.5 0.000004 180) display-p3 r g b)'+Pass Property color value 'color(from oklch(0.5 0.0000041 180) display-p3 r g b)'+Pass Property color value 'color-mix(in oklch, hsl(0 50% 50%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(180 0 50%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(180 50% 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(0 0 50%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(180 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(0 50% 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(0 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(180 0.001% 50%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hsl(180 0.0011% 50%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(0 25% 25%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(180 100% 25%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(180 25% 100%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(0 100% 25%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(180 100% 100%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(0 25% 100%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(0 100% 100%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, hwb(180 99.999% 0%), oklch(0.11 0.33 0.44))'+Fail Property color value 'color-mix(in oklch, hwb(180 99.96% 0%), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(0 20 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(20 0 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(20 20 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(0 0 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(20 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(0 20 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(0 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lch(20 0.0015 180), oklch(0.11 0.33 0.44))'+Fail Property color value 'color-mix(in oklch, lch(20 0.00151 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0 0.2 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 0 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 0.2 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0 0 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0 0.2 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 0.000004 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklch(0.2 0.0000041 180), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, rgb(0 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, color(display-p3 0 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, lab(0 0 0), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, oklab(0 0 0), oklch(0.11 0.33 0.44))'+Fail Property color value 'color-mix(in oklch, color(display-p3 0.08626827 0.08598627 0.08606127), oklch(0.11 0.33 0.44))'+Fail Property color value 'color-mix(in oklch, color(display-p3 0.08588134 0.08626534 0.08616334), oklch(0.11 0.33 0.44))'+Fail Property color value 'color-mix(in oklch, hsl(0 50% 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 0 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 50% 0))'+Fail Property color value 'color-mix(in oklch, hsl(0 0 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 0 0))'+Fail Property color value 'color-mix(in oklch, hsl(0 50% 0))'+Fail Property color value 'color-mix(in oklch, hsl(0 0 0))'+Fail Property color value 'color-mix(in oklch, hsl(180 0.001% 50%))'+Fail Property color value 'color-mix(in oklch, hsl(180 0.0011% 50%))'+Fail Property color value 'color-mix(in oklch, hwb(0 25% 25%))'+Fail Property color value 'color-mix(in oklch, hwb(180 100% 25%))'+Fail Property color value 'color-mix(in oklch, hwb(180 25% 100%))'+Fail Property color value 'color-mix(in oklch, hwb(0 100% 25%))'+Fail Property color value 'color-mix(in oklch, hwb(180 100% 100%))'+Fail Property color value 'color-mix(in oklch, hwb(0 25% 100%))'+Fail Property color value 'color-mix(in oklch, hwb(0 100% 100%))'+Fail Property color value 'color-mix(in oklch, hwb(180 99.999% 0%))'+Fail Property color value 'color-mix(in oklch, hwb(180 99.96% 0%))'+Fail Property color value 'color-mix(in oklch, lch(0 20 180))'+Fail Property color value 'color-mix(in oklch, lch(20 0 180))'+Fail Property color value 'color-mix(in oklch, lch(20 20 0))'+Fail Property color value 'color-mix(in oklch, lch(0 0 180))'+Fail Property color value 'color-mix(in oklch, lch(20 0 0))'+Fail Property color value 'color-mix(in oklch, lch(0 20 0))'+Fail Property color value 'color-mix(in oklch, lch(0 0 0))'+Fail Property color value 'color-mix(in oklch, lch(20 0.0015 180))'+Fail Property color value 'color-mix(in oklch, lch(20 0.01 180))'+Fail Property color value 'color-mix(in oklch, oklch(0 0.2 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 0 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 0.2 0))'+Fail Property color value 'color-mix(in oklch, oklch(0 0 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 0 0))'+Fail Property color value 'color-mix(in oklch, oklch(0 0.2 0))'+Fail Property color value 'color-mix(in oklch, oklch(0 0 0))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 0.000004 180))'+Fail Property color value 'color-mix(in oklch, oklch(0.2 0.0000041 180))'+Fail Property color value 'color-mix(in oklch, rgb(0 0 0))'+Fail Property color value 'color-mix(in oklch, color(display-p3 0 0 0))'+Fail Property color value 'color-mix(in oklch, lab(0 0 0))'+Fail Property color value 'color-mix(in oklch, oklab(0 0 0))'+Fail Property color value 'color-mix(in oklch, color(display-p3 0.08626827 0.08598627 0.08606127))'+Fail Property color value 'color-mix(in oklch, color(display-p3 0.08588134 0.08626534 0.08616334))'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-relative-color.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-relative-color.txtindex 77c21be3f1c..5791c85920d 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-relative-color.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-relative-color.txt@@ -1,9 +1,9 @@Harness status: OK-Found 1169 tests+Found 1170 tests-1127 Pass-42 Fail+1077 Pass+93 FailPass Property color value 'rgb(from rebeccapurple r g b)'Pass Property color value 'rgb(from rebeccapurple r g b / alpha)'Pass Property color value 'rgb(from rgb(20%, 40%, 60%, 80%) r g b / alpha)'@@ -152,6 +152,7 @@ Pass Property color value 'color-mix(in hsl, hsl(from rebeccapurple none s l), rPass Property background-color value 'hsl(from currentColor h s l)'Pass Property background-color value 'hsl(from currentColor calc((h / 360) * 360deg) s l)'Pass Property color value 'hsl(from color-mix(in srgb, red, red) h s l / alpha)'+Fail Property color value 'hsl(from lch(0.1 0 0) h s l)'Pass Property color value 'hwb(from rebeccapurple h w b)'Pass Property color value 'hwb(from rebeccapurple h w b / alpha)'Pass Property color value 'hwb(from rgb(20%, 40%, 60%, 80%) h w b / alpha)'@@ -367,10 +368,10 @@ Pass Property color value 'lch(from lch(0.7 45 30) l c none / alpha)'Pass Property color value 'lch(from lch(0.7 45 30) l c h / none)'Pass Property color value 'lch(from lch(0.7 45 30 / 40%) l c none / alpha)'Pass Property color value 'lch(from lch(0.7 45 30 / 40%) l c h / none)'-Pass Property color value 'lch(from lch(none none none) l c h)'-Pass Property color value 'lch(from lch(none none none / none) l c h / alpha)'-Pass Property color value 'lch(from lch(0.7 none 30) l c h)'-Pass Property color value 'lch(from lch(0.7 45 30 / none) l c h / alpha)'+Fail Property color value 'lch(from lch(none none none) l c h)'+Fail Property color value 'lch(from lch(none none none / none) l c h / alpha)'+Fail Property color value 'lch(from lch(0.7 none 30) l c h)'+Fail Property color value 'lch(from lch(0.7 45 30 / none) l c h / alpha)'Pass Property color value 'color-mix(in lch, lch(from lch(0.7 45 30) l c none), lch(0.7 45 30))'Pass Property background-color value 'lch(from currentColor l c h)'Pass Property color value 'lch(from color-mix(in lch, lch(70 45 30), lch(70 45 30)) l c h / alpha)'@@ -434,10 +435,10 @@ Pass Property color value 'oklch(from oklch(0.7 0.45 30) l c none / alpha)'Pass Property color value 'oklch(from oklch(0.7 0.45 30) l c h / none)'Pass Property color value 'oklch(from oklch(0.7 0.45 30 / 40%) l c none / alpha)'Pass Property color value 'oklch(from oklch(0.7 0.45 30 / 40%) l c h / none)'-Pass Property color value 'oklch(from oklch(none none none) l c h)'-Pass Property color value 'oklch(from oklch(none none none / none) l c h / alpha)'-Pass Property color value 'oklch(from oklch(0.7 none 30) l c h)'-Pass Property color value 'oklch(from oklch(0.7 0.45 30 / none) l c h / alpha)'+Fail Property color value 'oklch(from oklch(none none none) l c h)'+Fail Property color value 'oklch(from oklch(none none none / none) l c h / alpha)'+Fail Property color value 'oklch(from oklch(0.7 none 30) l c h)'+Fail Property color value 'oklch(from oklch(0.7 0.45 30 / none) l c h / alpha)'Pass Property background-color value 'oklch(from currentColor l c h)'Pass Property color value 'color-mix(in oklch, oklch(from oklch(0.7 0.45 30) l c none), oklch(0.7 0.45 30))'Pass Property color value 'oklch(from color-mix(in oklch, oklch(0.7 0.45 30), oklch(0.7 0.45 30)) l c h / alpha)'@@ -509,10 +510,10 @@ Pass Property color value 'color(from color(srgb 0.7 0.5 0.3) srgb r g none / alPass Property color value 'color(from color(srgb 0.7 0.5 0.3) srgb r g b / none)'Pass Property color value 'color(from color(srgb 0.7 0.5 0.3 / 40%) srgb r g none / alpha)'Pass Property color value 'color(from color(srgb 0.7 0.5 0.3 / 40%) srgb r g b / none)'-Pass Property color value 'color(from color(srgb none none none) srgb r g b)'-Pass Property color value 'color(from color(srgb none none none / none) srgb r g b / alpha)'-Pass Property color value 'color(from color(srgb 0.7 none 0.3) srgb r g b)'-Pass Property color value 'color(from color(srgb 0.7 0.5 0.3 / none) srgb r g b / alpha)'+Fail Property color value 'color(from color(srgb none none none) srgb r g b)'+Fail Property color value 'color(from color(srgb none none none / none) srgb r g b / alpha)'+Fail Property color value 'color(from color(srgb 0.7 none 0.3) srgb r g b)'+Fail Property color value 'color(from color(srgb 0.7 0.5 0.3 / none) srgb r g b / alpha)'Pass Property background-color value 'color(from currentColor srgb r g b)'Pass Property color value 'color(from color-mix(in xyz, color(srgb 0.7 0.5 0.3), color(srgb 0.7 0.5 0.3)) srgb r g b / alpha)'Pass Property color value 'color(from color(srgb-linear 0.7 0.5 0.3) srgb-linear r g b)'@@ -583,10 +584,10 @@ Pass Property color value 'color(from color(srgb-linear 0.7 0.5 0.3) srgb-linearPass Property color value 'color(from color(srgb-linear 0.7 0.5 0.3) srgb-linear r g b / none)'Pass Property color value 'color(from color(srgb-linear 0.7 0.5 0.3 / 40%) srgb-linear r g none / alpha)'Pass Property color value 'color(from color(srgb-linear 0.7 0.5 0.3 / 40%) srgb-linear r g b / none)'-Pass Property color value 'color(from color(srgb-linear none none none) srgb-linear r g b)'-Pass Property color value 'color(from color(srgb-linear none none none / none) srgb-linear r g b / alpha)'-Pass Property color value 'color(from color(srgb-linear 0.7 none 0.3) srgb-linear r g b)'-Pass Property color value 'color(from color(srgb-linear 0.7 0.5 0.3 / none) srgb-linear r g b / alpha)'+Fail Property color value 'color(from color(srgb-linear none none none) srgb-linear r g b)'+Fail Property color value 'color(from color(srgb-linear none none none / none) srgb-linear r g b / alpha)'+Fail Property color value 'color(from color(srgb-linear 0.7 none 0.3) srgb-linear r g b)'+Fail Property color value 'color(from color(srgb-linear 0.7 0.5 0.3 / none) srgb-linear r g b / alpha)'Pass Property background-color value 'color(from currentColor srgb-linear r g b)'Pass Property color value 'color(from color-mix(in xyz, color(srgb-linear 0.7 0.5 0.3), color(srgb-linear 0.7 0.5 0.3)) srgb-linear r g b / alpha)'Pass Property color value 'color(from color(a98-rgb 0.7 0.5 0.3) a98-rgb r g b)'@@ -657,10 +658,10 @@ Pass Property color value 'color(from color(a98-rgb 0.7 0.5 0.3) a98-rgb r g nonPass Property color value 'color(from color(a98-rgb 0.7 0.5 0.3) a98-rgb r g b / none)'Pass Property color value 'color(from color(a98-rgb 0.7 0.5 0.3 / 40%) a98-rgb r g none / alpha)'Pass Property color value 'color(from color(a98-rgb 0.7 0.5 0.3 / 40%) a98-rgb r g b / none)'-Pass Property color value 'color(from color(a98-rgb none none none) a98-rgb r g b)'-Pass Property color value 'color(from color(a98-rgb none none none / none) a98-rgb r g b / alpha)'-Pass Property color value 'color(from color(a98-rgb 0.7 none 0.3) a98-rgb r g b)'-Pass Property color value 'color(from color(a98-rgb 0.7 0.5 0.3 / none) a98-rgb r g b / alpha)'+Fail Property color value 'color(from color(a98-rgb none none none) a98-rgb r g b)'+Fail Property color value 'color(from color(a98-rgb none none none / none) a98-rgb r g b / alpha)'+Fail Property color value 'color(from color(a98-rgb 0.7 none 0.3) a98-rgb r g b)'+Fail Property color value 'color(from color(a98-rgb 0.7 0.5 0.3 / none) a98-rgb r g b / alpha)'Pass Property background-color value 'color(from currentColor a98-rgb r g b)'Pass Property color value 'color(from color-mix(in xyz, color(a98-rgb 0.7 0.5 0.3), color(a98-rgb 0.7 0.5 0.3)) a98-rgb r g b / alpha)'Pass Property color value 'color(from color(rec2020 0.7 0.5 0.3) rec2020 r g b)'@@ -731,10 +732,10 @@ Pass Property color value 'color(from color(rec2020 0.7 0.5 0.3) rec2020 r g nonPass Property color value 'color(from color(rec2020 0.7 0.5 0.3) rec2020 r g b / none)'Pass Property color value 'color(from color(rec2020 0.7 0.5 0.3 / 40%) rec2020 r g none / alpha)'Pass Property color value 'color(from color(rec2020 0.7 0.5 0.3 / 40%) rec2020 r g b / none)'-Pass Property color value 'color(from color(rec2020 none none none) rec2020 r g b)'-Pass Property color value 'color(from color(rec2020 none none none / none) rec2020 r g b / alpha)'-Pass Property color value 'color(from color(rec2020 0.7 none 0.3) rec2020 r g b)'-Pass Property color value 'color(from color(rec2020 0.7 0.5 0.3 / none) rec2020 r g b / alpha)'+Fail Property color value 'color(from color(rec2020 none none none) rec2020 r g b)'+Fail Property color value 'color(from color(rec2020 none none none / none) rec2020 r g b / alpha)'+Fail Property color value 'color(from color(rec2020 0.7 none 0.3) rec2020 r g b)'+Fail Property color value 'color(from color(rec2020 0.7 0.5 0.3 / none) rec2020 r g b / alpha)'Pass Property background-color value 'color(from currentColor rec2020 r g b)'Pass Property color value 'color(from color-mix(in xyz, color(rec2020 0.7 0.5 0.3), color(rec2020 0.7 0.5 0.3)) rec2020 r g b / alpha)'Pass Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3) prophoto-rgb r g b)'@@ -805,10 +806,10 @@ Pass Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3) prophoto-rPass Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3) prophoto-rgb r g b / none)'Pass Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3 / 40%) prophoto-rgb r g none / alpha)'Pass Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3 / 40%) prophoto-rgb r g b / none)'-Pass Property color value 'color(from color(prophoto-rgb none none none) prophoto-rgb r g b)'-Pass Property color value 'color(from color(prophoto-rgb none none none / none) prophoto-rgb r g b / alpha)'-Pass Property color value 'color(from color(prophoto-rgb 0.7 none 0.3) prophoto-rgb r g b)'-Pass Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3 / none) prophoto-rgb r g b / alpha)'+Fail Property color value 'color(from color(prophoto-rgb none none none) prophoto-rgb r g b)'+Fail Property color value 'color(from color(prophoto-rgb none none none / none) prophoto-rgb r g b / alpha)'+Fail Property color value 'color(from color(prophoto-rgb 0.7 none 0.3) prophoto-rgb r g b)'+Fail Property color value 'color(from color(prophoto-rgb 0.7 0.5 0.3 / none) prophoto-rgb r g b / alpha)'Pass Property background-color value 'color(from currentColor prophoto-rgb r g b)'Pass Property color value 'color(from color-mix(in xyz, color(prophoto-rgb 0.7 0.5 0.3), color(prophoto-rgb 0.7 0.5 0.3)) prophoto-rgb r g b / alpha)'Pass Property color value 'color(from color(display-p3 0.7 0.5 0.3) display-p3 r g b)'@@ -879,10 +880,10 @@ Pass Property color value 'color(from color(display-p3 0.7 0.5 0.3) display-p3 rPass Property color value 'color(from color(display-p3 0.7 0.5 0.3) display-p3 r g b / none)'Pass Property color value 'color(from color(display-p3 0.7 0.5 0.3 / 40%) display-p3 r g none / alpha)'Pass Property color value 'color(from color(display-p3 0.7 0.5 0.3 / 40%) display-p3 r g b / none)'-Pass Property color value 'color(from color(display-p3 none none none) display-p3 r g b)'-Pass Property color value 'color(from color(display-p3 none none none / none) display-p3 r g b / alpha)'-Pass Property color value 'color(from color(display-p3 0.7 none 0.3) display-p3 r g b)'-Pass Property color value 'color(from color(display-p3 0.7 0.5 0.3 / none) display-p3 r g b / alpha)'+Fail Property color value 'color(from color(display-p3 none none none) display-p3 r g b)'+Fail Property color value 'color(from color(display-p3 none none none / none) display-p3 r g b / alpha)'+Fail Property color value 'color(from color(display-p3 0.7 none 0.3) display-p3 r g b)'+Fail Property color value 'color(from color(display-p3 0.7 0.5 0.3 / none) display-p3 r g b / alpha)'Pass Property background-color value 'color(from currentColor display-p3 r g b)'Pass Property color value 'color(from color-mix(in xyz, color(display-p3 0.7 0.5 0.3), color(display-p3 0.7 0.5 0.3)) display-p3 r g b / alpha)'Pass Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3) display-p3-linear r g b)'@@ -953,10 +954,10 @@ Pass Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3) displPass Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3) display-p3-linear r g b / none)'Pass Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3 / 40%) display-p3-linear r g none / alpha)'Pass Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3 / 40%) display-p3-linear r g b / none)'-Pass Property color value 'color(from color(display-p3-linear none none none) display-p3-linear r g b)'-Pass Property color value 'color(from color(display-p3-linear none none none / none) display-p3-linear r g b / alpha)'-Pass Property color value 'color(from color(display-p3-linear 0.7 none 0.3) display-p3-linear r g b)'-Pass Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3 / none) display-p3-linear r g b / alpha)'+Fail Property color value 'color(from color(display-p3-linear none none none) display-p3-linear r g b)'+Fail Property color value 'color(from color(display-p3-linear none none none / none) display-p3-linear r g b / alpha)'+Fail Property color value 'color(from color(display-p3-linear 0.7 none 0.3) display-p3-linear r g b)'+Fail Property color value 'color(from color(display-p3-linear 0.7 0.5 0.3 / none) display-p3-linear r g b / alpha)'Pass Property background-color value 'color(from currentColor display-p3-linear r g b)'Pass Property color value 'color(from color-mix(in xyz, color(display-p3-linear 0.7 0.5 0.3), color(display-p3-linear 0.7 0.5 0.3)) display-p3-linear r g b / alpha)'Pass Property color value 'color(from color(xyz 7 -20.5 100) xyz x y z)'@@ -1000,10 +1001,10 @@ Pass Property color value 'color(from color(xyz 7 -20.5 100) xyz x y none / alphPass Property color value 'color(from color(xyz 7 -20.5 100) xyz x y z / none)'Pass Property color value 'color(from color(xyz 7 -20.5 100 / 40%) xyz x y none / alpha)'Pass Property color value 'color(from color(xyz 7 -20.5 100 / 40%) xyz x y z / none)'-Pass Property color value 'color(from color(xyz none none none) xyz x y z)'-Pass Property color value 'color(from color(xyz none none none / none) xyz x y z / alpha)'-Pass Property color value 'color(from color(xyz 7 none 100) xyz x y z)'-Pass Property color value 'color(from color(xyz 7 -20.5 100 / none) xyz x y z / alpha)'+Fail Property color value 'color(from color(xyz none none none) xyz x y z)'+Fail Property color value 'color(from color(xyz none none none / none) xyz x y z / alpha)'+Fail Property color value 'color(from color(xyz 7 none 100) xyz x y z)'+Fail Property color value 'color(from color(xyz 7 -20.5 100 / none) xyz x y z / alpha)'Pass Property background-color value 'color(from currentColor xyz x y z)'Pass Property color value 'color(from color-mix(in xyz, color(xyz 0.7 0.5 0.3), color(xyz 0.7 0.5 0.3)) xyz x y z / alpha)'Pass Property color value 'color(from color(xyz-d50 7 -20.5 100) xyz-d50 x y z)'@@ -1047,10 +1048,10 @@ Pass Property color value 'color(from color(xyz-d50 7 -20.5 100) xyz-d50 x y nonPass Property color value 'color(from color(xyz-d50 7 -20.5 100) xyz-d50 x y z / none)'Pass Property color value 'color(from color(xyz-d50 7 -20.5 100 / 40%) xyz-d50 x y none / alpha)'Pass Property color value 'color(from color(xyz-d50 7 -20.5 100 / 40%) xyz-d50 x y z / none)'-Pass Property color value 'color(from color(xyz-d50 none none none) xyz-d50 x y z)'-Pass Property color value 'color(from color(xyz-d50 none none none / none) xyz-d50 x y z / alpha)'-Pass Property color value 'color(from color(xyz-d50 7 none 100) xyz-d50 x y z)'-Pass Property color value 'color(from color(xyz-d50 7 -20.5 100 / none) xyz-d50 x y z / alpha)'+Fail Property color value 'color(from color(xyz-d50 none none none) xyz-d50 x y z)'+Fail Property color value 'color(from color(xyz-d50 none none none / none) xyz-d50 x y z / alpha)'+Fail Property color value 'color(from color(xyz-d50 7 none 100) xyz-d50 x y z)'+Fail Property color value 'color(from color(xyz-d50 7 -20.5 100 / none) xyz-d50 x y z / alpha)'Pass Property background-color value 'color(from currentColor xyz-d50 x y z)'Pass Property color value 'color(from color-mix(in xyz, color(xyz-d50 0.7 0.5 0.3), color(xyz-d50 0.7 0.5 0.3)) xyz-d50 x y z / alpha)'Pass Property color value 'color(from color(xyz-d65 7 -20.5 100) xyz-d65 x y z)'@@ -1094,10 +1095,10 @@ Pass Property color value 'color(from color(xyz-d65 7 -20.5 100) xyz-d65 x y nonPass Property color value 'color(from color(xyz-d65 7 -20.5 100) xyz-d65 x y z / none)'Pass Property color value 'color(from color(xyz-d65 7 -20.5 100 / 40%) xyz-d65 x y none / alpha)'Pass Property color value 'color(from color(xyz-d65 7 -20.5 100 / 40%) xyz-d65 x y z / none)'-Pass Property color value 'color(from color(xyz-d65 none none none) xyz-d65 x y z)'-Pass Property color value 'color(from color(xyz-d65 none none none / none) xyz-d65 x y z / alpha)'-Pass Property color value 'color(from color(xyz-d65 7 none 100) xyz-d65 x y z)'-Pass Property color value 'color(from color(xyz-d65 7 -20.5 100 / none) xyz-d65 x y z / alpha)'+Fail Property color value 'color(from color(xyz-d65 none none none) xyz-d65 x y z)'+Fail Property color value 'color(from color(xyz-d65 none none none / none) xyz-d65 x y z / alpha)'+Fail Property color value 'color(from color(xyz-d65 7 none 100) xyz-d65 x y z)'+Fail Property color value 'color(from color(xyz-d65 7 -20.5 100 / none) xyz-d65 x y z / alpha)'Pass Property background-color value 'color(from currentColor xyz-d65 x y z)'Pass Property color value 'color(from color-mix(in xyz, color(xyz-d65 0.7 0.5 0.3), color(xyz-d65 0.7 0.5 0.3)) xyz-d65 x y z / alpha)'Pass Property color value 'color(from color(srgb-linear 0.25 0.5 0.75) srgb r g b)'@@ -1108,8 +1109,8 @@ Pass Property color value 'color(from color(a98-rgb 0.25 0.5 0.75) srgb r g b)'Pass Property color value 'color(from color(srgb 0.25 0.5 0.75) a98-rgb r g b)'Pass Property color value 'color(from color(prophoto-rgb 0.25 0.5 0.75) srgb r g b)'Pass Property color value 'color(from color(srgb 0.25 0.5 0.75) prophoto-rgb r g b)'-Pass Property color value 'color(from color(rec2020 0.25 0.5 0.75) srgb r g b)'-Pass Property color value 'color(from color(srgb 0.25 0.5 0.75) rec2020 r g b)'+Fail Property color value 'color(from color(rec2020 0.25 0.5 0.75) srgb r g b)'+Fail Property color value 'color(from color(srgb 0.25 0.5 0.75) rec2020 r g b)'Pass Property color value 'color(from color(xyz-d50 0.25 0.5 0.75) srgb r g b)'Pass Property color value 'color(from color(srgb 0.25 0.5 0.75) xyz-d50 x y z)'Pass Property color value 'color(from color(xyz-d65 0.25 0.5 0.75) srgb r g b)'diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-rgb.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-rgb.txtindex 599f6c3ca4c..c0e5d68e720 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-rgb.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-computed-rgb.txt@@ -2,24 +2,24 @@ Harness status: OKFound 99 tests-99 Pass-Pass Property color value 'rgb(none none none)'-Pass Property color value 'rgb(none none none / none)'-Pass Property color value 'rgb(128 none none)'-Pass Property color value 'rgb(128 none none / none)'-Pass Property color value 'rgb(none none none / .5)'-Pass Property color value 'rgb(20% none none)'-Pass Property color value 'rgb(20% none none / none)'-Pass Property color value 'rgb(none none none / 50%)'-Pass Property color value 'rgba(none none none)'-Pass Property color value 'rgba(none none none / none)'-Pass Property color value 'rgba(128 none none)'-Pass Property color value 'rgba(128 none none / none)'-Pass Property color value 'rgba(none none none / .5)'-Pass Property color value 'rgba(20% none none)'-Pass Property color value 'rgba(20% none none / none)'-Pass Property color value 'rgba(none none none / 50%)'-Pass Property color value 'rgb(2.5, 3.4, 4.6)' [Tests that RGB channels are rounded appropriately]+83 Pass+16 Fail+Fail Property color value 'rgb(none none none)'+Fail Property color value 'rgb(none none none / none)'+Fail Property color value 'rgb(128 none none)'+Fail Property color value 'rgb(128 none none / none)'+Fail Property color value 'rgb(none none none / .5)'+Fail Property color value 'rgb(20% none none)'+Fail Property color value 'rgb(20% none none / none)'+Fail Property color value 'rgb(none none none / 50%)'+Fail Property color value 'rgba(none none none)'+Fail Property color value 'rgba(none none none / none)'+Fail Property color value 'rgba(128 none none)'+Fail Property color value 'rgba(128 none none / none)'+Fail Property color value 'rgba(none none none / .5)'+Fail Property color value 'rgba(20% none none)'+Fail Property color value 'rgba(20% none none / none)'+Fail Property color value 'rgba(none none none / 50%)'Pass Property color value 'rgb(00, 51, 102)' [Valid numbers should be parsed]Pass Property color value 'r\gb(00, 51, 102)' [Correct escape sequences should still parse]Pass Property color value 'r\67 b(00, 51, 102)' [Correct escape sequences should still parse]@@ -100,5 +100,6 @@ Pass Property color value 'rgb(0 0 0 / calc(0.75 + (sign(1em - 10px) * 0.1)))'Pass Property color value 'rgba(0 0 0 / calc(0.75 + (sign(1em - 10px) * 0.1)))'Pass Property color value 'rgba(calc(50% + (sign(1em - 10px) * 10%)) 0 0% / 0.5)'Pass Property color value 'rgba(0% 0 0% / calc(0.75 + (sign(1em - 10px) * 0.1)))'+Pass Property color value 'rgb(2.5, 3.4, 4.6)' Tests that RGB channels are rounded appropriatelyPass Property color value 'rgba(calc(50% + (sign(2cqw - 10px) * 10%)), 0%, 0%, 51%)'Pass Property color value 'rgba(calc(50% + (sign(2cqw - 10px) * 10%)), 0%, 0%, 52%)'\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.txtindex eaf3bcd0171..0ed0f7c3b94 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.txt@@ -1,14 +1,12 @@Harness status: OK-Found 175 tests+Found 141 tests-175 Pass+141 PassPass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) -10%, hsl(30deg 30% 40%))" should not set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 150%, hsl(30deg 30% 40%))" should not set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% 40%) -10%, hsl(30deg 30% 40% 80%))" should not set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% 40%) 150%, hsl(30deg 30% 40% 80%))" should not set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% 40%) 0%, hsl(30deg 30% 40% 80%) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in hsl hue, hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should not set the property valuePass e.style['color'] = "color-mix(in hsl shorter, hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should not set the property valuePass e.style['color'] = "color-mix(in hsl foo, hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should not set the property value@@ -17,10 +15,8 @@ Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) hsl(30deg 30% 40%Pass e.style['color'] = "color-mix(hsl(120deg 10% 20%), hsl(30deg 30% 40%), in hsl)" should not set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) -10%, hwb(30deg 30% 40%))" should not set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 150%, hwb(30deg 30% 40%))" should not set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% 40%) -10%, hwb(30deg 30% 40% 80%))" should not set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% 40%) 150%, hwb(30deg 30% 40% 80%))" should not set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% 40%) 0%, hwb(30deg 30% 40% 80%) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in hwb hue, hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should not set the property valuePass e.style['color'] = "color-mix(in hwb shorter, hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should not set the property valuePass e.style['color'] = "color-mix(in hwb foo, hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should not set the property value@@ -30,10 +26,8 @@ Pass e.style['color'] = "color-mix(hwb(120deg 10% 20%), hwb(30deg 30% 40%), in hPass e.style['color'] = "color-mix(in srgb, red, blue blue)" should not set the property valuePass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg) -10%, lch(50% 60 70deg))" should not set the property valuePass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg) 150%, lch(50% 60 70deg))" should not set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg) 0%, lch(50% 60 70deg) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg / .4) -10%, lch(50% 60 70deg / .8))" should not set the property valuePass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg / .4) 150%, lch(50% 60 70deg / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg / .4) 0%, lch(50% 60 70deg / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in lch hue, lch(10% 20 30deg), lch(50% 60 70deg))" should not set the property valuePass e.style['color'] = "color-mix(in lch shorter, lch(10% 20 30deg), lch(50% 60 70deg))" should not set the property valuePass e.style['color'] = "color-mix(in lch foo, lch(10% 20 30deg), lch(50% 60 70deg))" should not set the property value@@ -42,10 +36,8 @@ Pass e.style['color'] = "color-mix(in lch, lch(10% 20 30deg) lch(50% 60 70deg))"Pass e.style['color'] = "color-mix(lch(10% 20 30deg), lch(50% 60 70deg), in lch)" should not set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg) -10%, oklch(50% 60 70deg))" should not set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg) 150%, oklch(50% 60 70deg))" should not set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg) 0%, oklch(50% 60 70deg) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg / .4) -10%, oklch(50% 60 70deg / .8))" should not set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg / .4) 150%, oklch(50% 60 70deg / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg / .4) 0%, oklch(50% 60 70deg / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in oklch hue, oklch(10% 20 30deg), oklch(50% 60 70deg))" should not set the property valuePass e.style['color'] = "color-mix(in oklch shorter, oklch(10% 20 30deg), oklch(50% 60 70deg))" should not set the property valuePass e.style['color'] = "color-mix(in oklch foo, oklch(10% 20 30deg), oklch(50% 60 70deg))" should not set the property value@@ -54,126 +46,100 @@ Pass e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg) oklch(50% 60 70Pass e.style['color'] = "color-mix(oklch(10% 20 30deg), oklch(50% 60 70deg), in oklch)" should not set the property valuePass e.style['color'] = "color-mix(in lab, lab(10% 20 30) -10%, lab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(in lab, lab(10% 20 30) 150%, lab(50% 60 70))" should not set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10% 20 30) 0%, lab(50% 60 70) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in lab, lab(10% 20 30 / .4) -10%, lab(50% 60 70 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in lab, lab(10% 20 30 / .4) 150%, lab(50% 60 70 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10% 20 30 / .4) 0%, lab(50% 60 70 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in lab longer hue, lab(10% 20 30), lab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(in lab lab(10% 20 30), lab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(in lab, lab(10% 20 30) lab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(lab(10% 20 30), lab(50% 60 70), in lab)" should not set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30) -10%, oklab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30) 150%, oklab(50% 60 70))" should not set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30) 0%, oklab(50% 60 70) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30 / .4) -10%, oklab(50% 60 70 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30 / .4) 150%, oklab(50% 60 70 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30 / .4) 0%, oklab(50% 60 70 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in oklab longer hue, oklab(10% 20 30), oklab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(in oklab oklab(10% 20 30), oklab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(10% 20 30) oklab(50% 60 70))" should not set the property valuePass e.style['color'] = "color-mix(oklab(10% 20 30), oklab(50% 60 70), in oklab)" should not set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) -10%, color(srgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 150%, color(srgb .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 0%, color(srgb .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) -10%, color(srgb .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 150%, color(srgb .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 0%, color(srgb .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in srgb longer hue, color(srgb .1 .2 .3), color(srgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in srgb color(srgb .1 .2 .3), color(srgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) color(srgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(srgb .1 .2 .3), color(srgb .5 .6 .7), in srgb)" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) -10%, color(srgb-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 150%, color(srgb-linear .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 0%, color(srgb-linear .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) -10%, color(srgb-linear .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 150%, color(srgb-linear .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 0%, color(srgb-linear .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear longer hue, color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) color(srgb-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7), in srgb-linear)" should not set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) -10%, color(display-p3 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 150%, color(display-p3 .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 0%, color(display-p3 .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) -10%, color(display-p3 .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 150%, color(display-p3 .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 0%, color(display-p3 .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in display-p3 longer hue, color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3 color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) color(display-p3 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7), in display-p3)" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) -10%, color(display-p3-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 150%, color(display-p3-linear .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 0%, color(display-p3-linear .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) -10%, color(display-p3-linear .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 150%, color(display-p3-linear .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 0%, color(display-p3-linear .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear longer hue, color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) color(display-p3-linear .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7), in display-p3-linear)" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) -10%, color(a98-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 150%, color(a98-rgb .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 0%, color(a98-rgb .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) -10%, color(a98-rgb .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 150%, color(a98-rgb .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 0%, color(a98-rgb .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb longer hue, color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) color(a98-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7), in a98-rgb)" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) -10%, color(prophoto-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 150%, color(prophoto-rgb .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 0%, color(prophoto-rgb .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) -10%, color(prophoto-rgb .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 150%, color(prophoto-rgb .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 0%, color(prophoto-rgb .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb longer hue, color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) color(prophoto-rgb .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7), in prophoto-rgb)" should not set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) -10%, color(rec2020 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 150%, color(rec2020 .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 0%, color(rec2020 .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) -10%, color(rec2020 .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 150%, color(rec2020 .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 0%, color(rec2020 .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in rec2020 longer hue, color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in rec2020 color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) color(rec2020 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7), in rec2020)" should not set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) -10%, color(xyz .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 150%, color(xyz .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 0%, color(xyz .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) -10%, color(xyz .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 150%, color(xyz .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 0%, color(xyz .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in xyz longer hue, color(xyz .1 .2 .3), color(xyz .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz color(xyz .1 .2 .3), color(xyz .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) color(xyz .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(xyz .1 .2 .3), color(xyz .5 .6 .7), in xyz)" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) -10%, color(xyz-d50 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 150%, color(xyz-d50 .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 0%, color(xyz-d50 .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) -10%, color(xyz-d50 .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 150%, color(xyz-d50 .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 0%, color(xyz-d50 .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50 longer hue, color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50 color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) color(xyz-d50 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7), in xyz-d50)" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) -10%, color(xyz-d65 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 150%, color(xyz-d65 .5 .6 .7))" should not set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 0%, color(xyz-d65 .5 .6 .7) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) -10%, color(xyz-d65 .5 .6 .7 / .8))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 150%, color(xyz-d65 .5 .6 .7 / .8))" should not set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 0%, color(xyz-d65 .5 .6 .7 / .8) 0%)" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65 longer hue, color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65 color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) color(xyz-d65 .5 .6 .7))" should not set the property valuePass e.style['color'] = "color-mix(color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7), in xyz-d65)" should not set the property value-Pass e.style['color'] = "color-mix(in srgb, red 0%)" should not set the property value-Pass e.style['color'] = "color-mix(in srgb, red 0%, green 0%, blue 0%)" should not set the property valuePass e.style['color'] = "color-mix(in srgb, red -10%, green 50%, blue)" should not set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) -10%, hsl(30deg 30% 40%), hsl(60deg 20% 30%))" should not set the property valuePass e.style['color'] = "color-mix(in srgb, red 150%, green 50%, blue)" should not set the property valuediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-color-mix-function.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-color-mix-function.txtindex 1e2c260002e..96214aa8a8b 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-color-mix-function.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-color-mix-function.txt@@ -1,16 +1,16 @@Harness status: OK-Found 642 tests+Found 677 tests-631 Pass-11 Fail+435 Pass+242 FailPass e.style['color'] = "color-mix(in srgb, red, blue)" should set the property valuePass e.style['color'] = "color-mix(in srgb, 70% red, 50% blue)" should set the property valuePass e.style['color'] = "color-mix(in hsl, red, blue)" should set the property valuePass e.style['color'] = "color-mix(in hsl, red calc(20%), blue)" should set the property valuePass e.style['color'] = "color-mix(in hsl, red calc(var(--v)*1%), blue)" should set the property valuePass e.style['color'] = "color-mix(in hsl, currentcolor, blue)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, red 60%, blue 40%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, red 60%, blue 40%)" should set the property valuePass e.style['color'] = "color-mix(in hsl, red 50%, blue)" should set the property valuePass e.style['color'] = "color-mix(in hsl, red, blue 50%)" should set the property valuePass e.style['color'] = "color-mix(in lch decreasing hue, red, hsl(120, 100%, 50%))" should set the property value@@ -18,23 +18,23 @@ Pass e.style['color'] = "color-mix(in hsl, red calc(50% * sign(100em - 1px)), blPass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hsl, 50% hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%), 50% hsl(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, 25% hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%), 25% hsl(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, 25% hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%), 25% hsl(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%) 75%)" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 30%, hsl(30deg 30% 40%) 90%)" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 12.5%, hsl(30deg 30% 40%) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, 25% hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4), 25% hsl(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 25%, hsl(30deg 30% 40% / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, 25% hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4), 25% hsl(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 25%, hsl(30deg 30% 40% / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 30%, hsl(30deg 30% 40% / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 12.5%, hsl(30deg 30% 40% / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8))" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(40deg 50% 50%), hsl(60deg 50% 50%))" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(60deg 50% 50%), hsl(40deg 50% 50%))" should set the property valuePass e.style['color'] = "color-mix(in hsl, hsl(50deg 50% 50%), hsl(330deg 50% 50%))" should set the property value@@ -65,47 +65,49 @@ Pass e.style['color'] = "color-mix(in hsl decreasing hue, hsl(50deg 50% 50%), hsPass e.style['color'] = "color-mix(in hsl decreasing hue, hsl(330deg 50% 50%), hsl(50deg 50% 50%))" should set the property valuePass e.style['color'] = "color-mix(in hsl decreasing hue, hsl(20deg 50% 50%), hsl(320deg 50% 50%))" should set the property valuePass e.style['color'] = "color-mix(in hsl decreasing hue, hsl(320deg 50% 50%), hsl(20deg 50% 50%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(none none none), hsl(none none none))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(none none none), hsl(30deg 40% 80%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 20% 40%), hsl(30deg 20% none))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(none none none), hsl(none none none))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(none none none), hsl(30deg 40% 80%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 20% 40%), hsl(30deg 20% none))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))" should set the property value+Fail e.style['color'] = "color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(hsl(120deg 10% 20%), hsl(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hsl, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb, 50% hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), 50% hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, 25% hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, 25% hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%) 75%)" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 30%, hwb(30deg 30% 40%) 90%)" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 12.5%, hwb(30deg 30% 40%) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, 25% hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40% / .8))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, 25% hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 30%, hwb(30deg 30% 40% / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 12.5%, hwb(30deg 30% 40% / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 0%, hwb(30deg 30% 40% / .8))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / .4) 0%, hwb(30deg 30% 40% / .8))" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(40deg 30% 40%), hwb(60deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(60deg 30% 40%), hwb(40deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb, hwb(50deg 30% 40%), hwb(330deg 30% 40%))" should set the property value@@ -136,45 +138,47 @@ Pass e.style['color'] = "color-mix(in hwb decreasing hue, hwb(50deg 30% 40%), hwPass e.style['color'] = "color-mix(in hwb decreasing hue, hwb(330deg 30% 40%), hwb(50deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb decreasing hue, hwb(20deg 30% 40%), hwb(320deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in hwb decreasing hue, hwb(320deg 30% 40%), hwb(20deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(none none none), hwb(none none none))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(none none none), hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(none none none))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% none), hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% none))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(none 10% 20%), hwb(30deg none 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40%))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / 0.5))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))" should set the property value-Pass e.style['color'] = "color-mix(in hwb, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value-Pass e.style['color'] = "color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(none none none), hwb(none none none))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(none none none), hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(none none none))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% none), hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% none))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(none 10% 20%), hwb(30deg none 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40%))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / 0.5))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))" should set the property value+Fail e.style['color'] = "color-mix(in hwb, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in hwb, hwb(120deg 10% 20% / 0.4) 0%, hwb(30deg 30% 40% / 0.8) 0%)" should set the property valuePass e.style['color'] = "color-mix(hwb(120deg 10% 20%), hwb(30deg 30% 40%))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in lch, 25% lch(10 20 30deg), lch(50 60 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg), 25% lch(50 60 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in lch, 25% lch(10 20 30deg), lch(50 60 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg), 25% lch(50 60 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg) 75%)" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 30%, lch(50 60 70deg) 90%)" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 12.5%, lch(50 60 70deg) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 0%, lch(50 60 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg) 0%, lch(50 60 70deg))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lch, 25% lch(10 20 30deg / .4), lch(50 60 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4), 25% lch(50 60 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lch, 25% lch(10 20 30deg / .4), lch(50 60 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4), 25% lch(50 60 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 30%, lch(50 60 70deg / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 12.5%, lch(50 60 70deg / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 0%, lch(50 60 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10 20 30deg / .4) 0%, lch(50 60 70deg / .8))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(100 0 40deg), lch(100 0 60deg))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(100 0 60deg), lch(100 0 40deg))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(100 0 50deg), lch(100 0 330deg))" should set the property value@@ -214,25 +218,27 @@ Pass e.style['color'] = "color-mix(in lch, lch(none 20 30deg), lch(50 none 70degPass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg / none))" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10% 20 30deg) 0%, lch(50% 60 70deg) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in lch, lch(10% 20 30deg / .4) 0%, lch(50% 60 70deg / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(lch(10 20 30), lch(50 60 70))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, 25% oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg), 25% oklch(0.5 0.6 70deg))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, 25% oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg), 25% oklch(0.5 0.6 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg) 75%)" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 30%, oklch(0.5 0.6 70deg) 90%)" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 12.5%, oklch(0.5 0.6 70deg) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 0%, oklch(0.5 0.6 70deg))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg) 0%, oklch(0.5 0.6 70deg))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, 25% oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4), 25% oklch(0.5 0.6 70deg / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, 25% oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4), 25% oklch(0.5 0.6 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 30%, oklch(0.5 0.6 70deg / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 12.5%, oklch(0.5 0.6 70deg / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 0%, oklch(0.5 0.6 70deg / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 0%, oklch(0.5 0.6 70deg / .8))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(1 0 40deg), oklch(1 0 60deg))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(1 0 60deg), oklch(1 0 40deg))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(1 0 50deg), oklch(1 0 330deg))" should set the property value@@ -272,25 +278,27 @@ Pass e.style['color'] = "color-mix(in oklch, oklch(none 0.2 30deg), oklch(0.5 noPass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg / none))" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg) 0%, oklch(50% 60 70deg) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in oklch, oklch(10% 20 30deg / .4) 0%, oklch(50% 60 70deg / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(oklch(0.1 20 30), oklch(0.5 60 70))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30), lab(50 60 70))" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))" should set the property value-Pass e.style['color'] = "color-mix(in lab, 25% lab(10 20 30), lab(50 60 70))" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30), 25% lab(50 60 70))" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30), lab(50 60 70) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))" should set the property value+Fail e.style['color'] = "color-mix(in lab, 25% lab(10 20 30), lab(50 60 70))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30), 25% lab(50 60 70))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30), lab(50 60 70) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30) 30%, lab(50 60 70) 90%)" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30) 12.5%, lab(50 60 70) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lab, 25% lab(10 20 30 / .4), lab(50 60 70 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4), 25% lab(50 60 70 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lab, 25% lab(10 20 30 / .4), lab(50 60 70 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4), 25% lab(50 60 70 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 30%, lab(50 60 70 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 12.5%, lab(50 60 70 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 0%, lab(50 60 70 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10 20 30 / .4) 0%, lab(50 60 70 / .8))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(none none none), lab(none none none))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(none none none), lab(50 60 70))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30), lab(none none none))" should set the property value@@ -300,25 +308,27 @@ Pass e.style['color'] = "color-mix(in lab, lab(none 20 30), lab(50 none 70))" shPass e.style['color'] = "color-mix(in lab, lab(10 20 30 / none), lab(50 60 70))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30 / none), lab(50 60 70 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in lab, lab(10 20 30 / none), lab(50 60 70 / none))" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10% 20 30) 0%, lab(50% 60 70) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in lab, lab(10% 20 30 / .4) 0%, lab(50% 60 70 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(lab(10 20 30), lab(50 60 70))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, 25% oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3), 25% oklab(0.5 0.6 0.7))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, 25% oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3), 25% oklab(0.5 0.6 0.7))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 30%, oklab(0.5 0.6 0.7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 12.5%, oklab(0.5 0.6 0.7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 0%, oklab(0.5 0.6 0.7))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3) 0%, oklab(0.5 0.6 0.7))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, 25% oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), 25% oklab(0.5 0.6 0.7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, 25% oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), 25% oklab(0.5 0.6 0.7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 30%, oklab(0.5 0.6 0.7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 12.5%, oklab(0.5 0.6 0.7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 0%, oklab(0.5 0.6 0.7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 0%, oklab(0.5 0.6 0.7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(none none none), oklab(none none none))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(none none none), oklab(0.5 0.6 0.7))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(none none none))" should set the property value@@ -328,23 +338,25 @@ Pass e.style['color'] = "color-mix(in oklab, oklab(none 0.2 0.3), oklab(0.5 nonePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in oklab, oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(10% 20 30) 0%, oklab(50% 60 70) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in oklab, oklab(10% 20 30 / .4) 0%, oklab(50% 60 70 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3), color(srgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb, 50% color(srgb .1 .2 .3), color(srgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3), 50% color(srgb .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 25%, color(srgb .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3), color(srgb .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 25%, color(srgb .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 25%, color(srgb .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3), color(srgb .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 25%, color(srgb .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 30%, color(srgb .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 12.5%, color(srgb .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 0%, color(srgb .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 0%, color(srgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .5), color(srgb .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 25%, color(srgb .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4), color(srgb .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 25%, color(srgb .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 25%, color(srgb .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4), color(srgb .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 25%, color(srgb .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 30%, color(srgb .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 12.5%, color(srgb .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 0%, color(srgb .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 0%, color(srgb .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb 2 3 4 / 5), color(srgb 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb -2 -3 -4), color(srgb -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb -2 -3 -4 / -5), color(srgb -4 -6 -8 / -10))" should set the property value@@ -357,23 +369,25 @@ Pass e.style['color'] = "color-mix(in srgb, color(srgb none .2 .3), color(srgb .Pass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / none), color(srgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / none), color(srgb .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / none), color(srgb .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3) 0%, color(srgb .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, color(srgb .1 .2 .3 / .4) 0%, color(srgb .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(srgb .1 .2 .3), color(srgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, 50% color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3), 50% color(srgb-linear .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 25%, color(srgb-linear .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 25%, color(srgb-linear .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 25%, color(srgb-linear .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 25%, color(srgb-linear .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 30%, color(srgb-linear .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 12.5%, color(srgb-linear .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 0%, color(srgb-linear .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 0%, color(srgb-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .5), color(srgb-linear .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 25%, color(srgb-linear .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4), color(srgb-linear .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 25%, color(srgb-linear .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 25%, color(srgb-linear .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4), color(srgb-linear .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 25%, color(srgb-linear .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 30%, color(srgb-linear .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 12.5%, color(srgb-linear .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 0%, color(srgb-linear .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 0%, color(srgb-linear .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear 2 3 4 / 5), color(srgb-linear 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear -2 -3 -4), color(srgb-linear -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear -2 -3 -4 / -5), color(srgb-linear -4 -6 -8 / -10))" should set the property value@@ -386,23 +400,25 @@ Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear none .2 .3)Pass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / none), color(srgb-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / none), color(srgb-linear .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / none), color(srgb-linear .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3) 0%, color(srgb-linear .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb-linear, color(srgb-linear .1 .2 .3 / .4) 0%, color(srgb-linear .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(srgb-linear .1 .2 .3), color(srgb-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, 50% color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3), 50% color(display-p3 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 25%, color(display-p3 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 25%, color(display-p3 .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 25%, color(display-p3 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 25%, color(display-p3 .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 30%, color(display-p3 .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 12.5%, color(display-p3 .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 0%, color(display-p3 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 0%, color(display-p3 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .5), color(display-p3 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 25%, color(display-p3 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4), color(display-p3 .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 25%, color(display-p3 .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 25%, color(display-p3 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4), color(display-p3 .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 25%, color(display-p3 .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 30%, color(display-p3 .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 12.5%, color(display-p3 .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 0%, color(display-p3 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 0%, color(display-p3 .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 2 3 4 / 5), color(display-p3 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 -2 -3 -4), color(display-p3 -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 -2 -3 -4 / -5), color(display-p3 -4 -6 -8 / -10))" should set the property value@@ -415,23 +431,25 @@ Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 none .2 .3),Pass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / none), color(display-p3 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / none), color(display-p3 .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / none), color(display-p3 .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3) 0%, color(display-p3 .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3, color(display-p3 .1 .2 .3 / .4) 0%, color(display-p3 .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(display-p3 .1 .2 .3), color(display-p3 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, 50% color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3), 50% color(display-p3-linear .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 25%, color(display-p3-linear .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 25%, color(display-p3-linear .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 25%, color(display-p3-linear .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 25%, color(display-p3-linear .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 30%, color(display-p3-linear .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 12.5%, color(display-p3-linear .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 0%, color(display-p3-linear .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 0%, color(display-p3-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .5), color(display-p3-linear .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 25%, color(display-p3-linear .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4), color(display-p3-linear .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 25%, color(display-p3-linear .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 25%, color(display-p3-linear .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4), color(display-p3-linear .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 25%, color(display-p3-linear .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 30%, color(display-p3-linear .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 12.5%, color(display-p3-linear .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 0%, color(display-p3-linear .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 0%, color(display-p3-linear .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear 2 3 4 / 5), color(display-p3-linear 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear -2 -3 -4), color(display-p3-linear -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear -2 -3 -4 / -5), color(display-p3-linear -4 -6 -8 / -10))" should set the property value@@ -444,23 +462,25 @@ Pass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linearPass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / none), color(display-p3-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / none), color(display-p3-linear .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / none), color(display-p3-linear .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3) 0%, color(display-p3-linear .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in display-p3-linear, color(display-p3-linear .1 .2 .3 / .4) 0%, color(display-p3-linear .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(display-p3-linear .1 .2 .3), color(display-p3-linear .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, 50% color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3), 50% color(a98-rgb .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 25%, color(a98-rgb .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 25%, color(a98-rgb .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 25%, color(a98-rgb .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 25%, color(a98-rgb .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 30%, color(a98-rgb .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 12.5%, color(a98-rgb .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 0%, color(a98-rgb .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 0%, color(a98-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .5), color(a98-rgb .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 25%, color(a98-rgb .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4), color(a98-rgb .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 25%, color(a98-rgb .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 25%, color(a98-rgb .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4), color(a98-rgb .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 25%, color(a98-rgb .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 30%, color(a98-rgb .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 12.5%, color(a98-rgb .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 0%, color(a98-rgb .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 0%, color(a98-rgb .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb 2 3 4 / 5), color(a98-rgb 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb -2 -3 -4), color(a98-rgb -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb -2 -3 -4 / -5), color(a98-rgb -4 -6 -8 / -10))" should set the property value@@ -473,23 +493,25 @@ Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb none .2 .3), color(Pass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / none), color(a98-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / none), color(a98-rgb .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / none), color(a98-rgb .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3) 0%, color(a98-rgb .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in a98-rgb, color(a98-rgb .1 .2 .3 / .4) 0%, color(a98-rgb .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(a98-rgb .1 .2 .3), color(a98-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, 50% color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3), 50% color(prophoto-rgb .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 25%, color(prophoto-rgb .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 25%, color(prophoto-rgb .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 25%, color(prophoto-rgb .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 25%, color(prophoto-rgb .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 30%, color(prophoto-rgb .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 12.5%, color(prophoto-rgb .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 0%, color(prophoto-rgb .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 0%, color(prophoto-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .5), color(prophoto-rgb .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 25%, color(prophoto-rgb .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4), color(prophoto-rgb .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 25%, color(prophoto-rgb .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 25%, color(prophoto-rgb .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4), color(prophoto-rgb .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 25%, color(prophoto-rgb .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 30%, color(prophoto-rgb .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 12.5%, color(prophoto-rgb .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 0%, color(prophoto-rgb .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 0%, color(prophoto-rgb .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb 2 3 4 / 5), color(prophoto-rgb 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb -2 -3 -4), color(prophoto-rgb -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb -2 -3 -4 / -5), color(prophoto-rgb -4 -6 -8 / -10))" should set the property value@@ -502,23 +524,25 @@ Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb none .2 .Pass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / none), color(prophoto-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / none), color(prophoto-rgb .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / none), color(prophoto-rgb .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3) 0%, color(prophoto-rgb .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in prophoto-rgb, color(prophoto-rgb .1 .2 .3 / .4) 0%, color(prophoto-rgb .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(prophoto-rgb .1 .2 .3), color(prophoto-rgb .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, 50% color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3), 50% color(rec2020 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 25%, color(rec2020 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 25%, color(rec2020 .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 25%, color(rec2020 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 25%, color(rec2020 .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 30%, color(rec2020 .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 12.5%, color(rec2020 .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 0%, color(rec2020 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 0%, color(rec2020 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .5), color(rec2020 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 25%, color(rec2020 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4), color(rec2020 .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 25%, color(rec2020 .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 25%, color(rec2020 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4), color(rec2020 .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 25%, color(rec2020 .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 30%, color(rec2020 .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 12.5%, color(rec2020 .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 0%, color(rec2020 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 0%, color(rec2020 .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 2 3 4 / 5), color(rec2020 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 -2 -3 -4), color(rec2020 -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 -2 -3 -4 / -5), color(rec2020 -4 -6 -8 / -10))" should set the property value@@ -531,23 +555,25 @@ Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 none .2 .3), color(Pass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / none), color(rec2020 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / none), color(rec2020 .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / none), color(rec2020 .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3) 0%, color(rec2020 .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in rec2020, color(rec2020 .1 .2 .3 / .4) 0%, color(rec2020 .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(rec2020 .1 .2 .3), color(rec2020 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3), color(xyz .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz, 50% color(xyz .1 .2 .3), color(xyz .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3), 50% color(xyz .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 25%, color(xyz .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3), color(xyz .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 25%, color(xyz .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 25%, color(xyz .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3), color(xyz .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 25%, color(xyz .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 30%, color(xyz .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 12.5%, color(xyz .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 0%, color(xyz .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 0%, color(xyz .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .5), color(xyz .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 25%, color(xyz .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4), color(xyz .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 25%, color(xyz .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 25%, color(xyz .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4), color(xyz .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 25%, color(xyz .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 30%, color(xyz .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 12.5%, color(xyz .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 0%, color(xyz .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 0%, color(xyz .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz 2 3 4 / 5), color(xyz 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz -2 -3 -4), color(xyz -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz -2 -3 -4 / -5), color(xyz -4 -6 -8 / -10))" should set the property value@@ -560,23 +586,25 @@ Pass e.style['color'] = "color-mix(in xyz, color(xyz none .2 .3), color(xyz .5 nPass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / none), color(xyz .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / none), color(xyz .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / none), color(xyz .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3) 0%, color(xyz .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz, color(xyz .1 .2 .3 / .4) 0%, color(xyz .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(xyz .1 .2 .3), color(xyz .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, 50% color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3), 50% color(xyz-d50 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 25%, color(xyz-d50 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 25%, color(xyz-d50 .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 25%, color(xyz-d50 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 25%, color(xyz-d50 .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 30%, color(xyz-d50 .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 12.5%, color(xyz-d50 .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 0%, color(xyz-d50 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 0%, color(xyz-d50 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .5), color(xyz-d50 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 25%, color(xyz-d50 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4), color(xyz-d50 .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 25%, color(xyz-d50 .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 25%, color(xyz-d50 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4), color(xyz-d50 .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 25%, color(xyz-d50 .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 30%, color(xyz-d50 .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 12.5%, color(xyz-d50 .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 0%, color(xyz-d50 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 0%, color(xyz-d50 .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 2 3 4 / 5), color(xyz-d50 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 -2 -3 -4), color(xyz-d50 -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 -2 -3 -4 / -5), color(xyz-d50 -4 -6 -8 / -10))" should set the property value@@ -589,23 +617,25 @@ Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 none .2 .3), color(Pass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / none), color(xyz-d50 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / none), color(xyz-d50 .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / none), color(xyz-d50 .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3) 0%, color(xyz-d50 .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d50, color(xyz-d50 .1 .2 .3 / .4) 0%, color(xyz-d50 .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(xyz-d50 .1 .2 .3), color(xyz-d50 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, 50% color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3), 50% color(xyz-d65 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 25%, color(xyz-d65 .5 .6 .7))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 25%, color(xyz-d65 .5 .6 .7) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 25%, color(xyz-d65 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 25%, color(xyz-d65 .5 .6 .7) 75%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 30%, color(xyz-d65 .5 .6 .7) 90%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 12.5%, color(xyz-d65 .5 .6 .7) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 0%, color(xyz-d65 .5 .6 .7))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 0%, color(xyz-d65 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .5), color(xyz-d65 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 25%, color(xyz-d65 .5 .6 .7 / .8))" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4), color(xyz-d65 .5 .6 .7 / .8) 25%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 25%, color(xyz-d65 .5 .6 .7 / .8) 75%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 25%, color(xyz-d65 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4), color(xyz-d65 .5 .6 .7 / .8) 25%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 25%, color(xyz-d65 .5 .6 .7 / .8) 75%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 30%, color(xyz-d65 .5 .6 .7 / .8) 90%)" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 12.5%, color(xyz-d65 .5 .6 .7 / .8) 37.5%)" should set the property value-Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 0%, color(xyz-d65 .5 .6 .7 / .8))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 0%, color(xyz-d65 .5 .6 .7 / .8))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 2 3 4 / 5), color(xyz-d65 4 6 8 / 10))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 -2 -3 -4), color(xyz-d65 -4 -6 -8))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 -2 -3 -4 / -5), color(xyz-d65 -4 -6 -8 / -10))" should set the property value@@ -618,21 +648,24 @@ Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 none .2 .3), color(Pass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / none), color(xyz-d65 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / none), color(xyz-d65 .5 .6 .7 / 0.5))" should set the property valuePass e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / none), color(xyz-d65 .5 .6 .7 / none))" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3) 0%, color(xyz-d65 .5 .6 .7) 0%)" should set the property value+Fail e.style['color'] = "color-mix(in xyz-d65, color(xyz-d65 .1 .2 .3 / .4) 0%, color(xyz-d65 .5 .6 .7 / .8) 0%)" should set the property valuePass e.style['color'] = "color-mix(color(xyz-d65 .1 .2 .3), color(xyz-d65 .5 .6 .7))" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 50%, blue 50%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, red 10%, blue 90%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, red 10%, blue 90%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 50%, blue 40%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 40%, blue 50%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 30%, blue 40%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 75%, blue 75%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, red 0% , blue 0%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red calc(10%), blue 50%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 50%, blue calc(10%))" should set the property valuePass e.style['color'] = "color-mix(in srgb, red calc(10%), blue calc(90%))" should set the property valuePass e.style['color'] = "color-mix(in srgb, red 50%, blue)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, red 10%, blue)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, red 10%, blue)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red calc(50%), blue)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red, blue 50%)" should set the property value-Pass e.style['color'] = "color-mix(in srgb, red, blue 90%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, red, blue 90%)" should set the property valuePass e.style['color'] = "color-mix(in srgb, red, blue calc(50%))" should set the property valuePass e.style['color'] = "color-mix(in srgb, red, blue)" should set the property valueFail e.style['color'] = "color-mix(in srgb, red)" should set the property value@@ -645,4 +678,6 @@ Fail e.style['color'] = "color-mix(in srgb, red 30%, green 60%, blue 90%)" shoulFail e.style['color'] = "color-mix(in srgb, red 50%, green, blue)" should set the property valueFail e.style['color'] = "color-mix(in srgb, red, green 25%, blue 25%)" should set the property valueFail e.style['color'] = "color-mix(in srgb, red, green, blue, white)" should set the property value-Fail e.style['color'] = "color-mix(in srgb, currentcolor, red, blue)" should set the property value\ No newline at end of file+Fail e.style['color'] = "color-mix(in srgb, currentcolor, red, blue)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, red 0%)" should set the property value+Fail e.style['color'] = "color-mix(in srgb, red 0%, green 0%, blue 0%)" should set the property value\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hsl.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hsl.txtindex 034938f6e54..02a7d0ef991 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hsl.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hsl.txt@@ -1,27 +1,28 @@Harness status: OK-Found 59 tests+Found 60 tests-59 Pass+46 Pass+14 FailPass e.style['color'] = "hsl(120 30% 50%)" should set the property valuePass e.style['color'] = "hsl(120 30% 50% / 0.5)" should set the property value-Pass e.style['color'] = "hsl(none none none)" should set the property value+Fail e.style['color'] = "hsl(none none none)" should set the property valuePass e.style['color'] = "hsl(0 0% 0%)" should set the property value-Pass e.style['color'] = "hsl(none none none / none)" should set the property value+Fail e.style['color'] = "hsl(none none none / none)" should set the property valuePass e.style['color'] = "hsl(0 0% 0% / 0)" should set the property value-Pass e.style['color'] = "hsla(none none none)" should set the property value+Fail e.style['color'] = "hsla(none none none)" should set the property valuePass e.style['color'] = "hsla(0 0% 0%)" should set the property value-Pass e.style['color'] = "hsla(none none none / none)" should set the property value+Fail e.style['color'] = "hsla(none none none / none)" should set the property valuePass e.style['color'] = "hsla(0 0% 0% / 0)" should set the property value-Pass e.style['color'] = "hsl(120 none none)" should set the property value+Fail e.style['color'] = "hsl(120 none none)" should set the property valuePass e.style['color'] = "hsl(120 0% 0%)" should set the property value-Pass e.style['color'] = "hsl(120 80% none)" should set the property value+Fail e.style['color'] = "hsl(120 80% none)" should set the property valuePass e.style['color'] = "hsl(120 80% 0%)" should set the property value-Pass e.style['color'] = "hsl(120 none 50%)" should set the property value+Fail e.style['color'] = "hsl(120 none 50%)" should set the property valuePass e.style['color'] = "hsl(120 0% 50%)" should set the property value-Pass e.style['color'] = "hsl(120 100% 50% / none)" should set the property value+Fail e.style['color'] = "hsl(120 100% 50% / none)" should set the property valuePass e.style['color'] = "hsl(120 100% 50% / 0)" should set the property value-Pass e.style['color'] = "hsl(none 100% 50%)" should set the property value+Fail e.style['color'] = "hsl(none 100% 50%)" should set the property valuePass e.style['color'] = "hsl(0 100% 50%)" should set the property valuePass e.style['color'] = "hsl(120 30 50)" should set the property valuePass e.style['color'] = "hsl(120 30 50 / 0.5)" should set the property value@@ -29,11 +30,11 @@ Pass e.style['color'] = "hsl(120 30% 50)" should set the property valuePass e.style['color'] = "hsl(120 30% 50 / 0.5)" should set the property valuePass e.style['color'] = "hsl(120 30 50%)" should set the property valuePass e.style['color'] = "hsl(120 30 50% / 0.5)" should set the property value-Pass e.style['color'] = "hsl(120 none 50)" should set the property value-Pass e.style['color'] = "hsl(120 none 50 / 0.5)" should set the property value-Pass e.style['color'] = "hsl(120 30 none)" should set the property value-Pass e.style['color'] = "hsl(120 30 none / 0.5)" should set the property value-Pass e.style['color'] = "hsl(120 30 50 / none)" should set the property value+Fail e.style['color'] = "hsl(120 none 50)" should set the property value+Fail e.style['color'] = "hsl(120 none 50 / 0.5)" should set the property value+Fail e.style['color'] = "hsl(120 30 none)" should set the property value+Fail e.style['color'] = "hsl(120 30 none / 0.5)" should set the property value+Fail e.style['color'] = "hsl(120 30 50 / none)" should set the property valuePass e.style['color'] = "hsl(0 -50% 40%)" should set the property valuePass e.style['color'] = "hsl(30 -50% 60)" should set the property valuePass e.style['color'] = "hsl(0 -50 40%)" should set the property value@@ -44,6 +45,7 @@ Pass e.style['color'] = "hsl(calc(0 / 0) 100% 50%)" should set the property valuPass e.style['color'] = "hsl(90 50% 50% / calc(infinity))" should set the property valuePass e.style['color'] = "hsl(90 50% 50% / calc(-infinity))" should set the property valuePass e.style['color'] = "hsl(90 50% 50% / calc(0 / 0))" should set the property value+Pass e.style['color'] = "hsl(90 50% 50% / calc(NaN))" should set the property valuePass e.style['color'] = "hsl(calc(50deg + (sign(1em - 10px) * 10deg)), 0%, 0%, 50%)" should set the property valuePass e.style['color'] = "hsla(calc(50deg + (sign(1em - 10px) * 10deg)), 0%, 0%, 50%)" should set the property valuePass e.style['color'] = "hsl(calc(50 + (sign(1em - 10px) * 10)), 0%, 0%, 50%)" should set the property valuediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hwb.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hwb.txtindex 1aa874249c3..229d3276343 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hwb.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-hwb.txt@@ -1,23 +1,24 @@Harness status: OK-Found 38 tests+Found 39 tests-38 Pass+27 Pass+12 FailPass e.style['color'] = "hwb(120 30% 50%)" should set the property valuePass e.style['color'] = "hwb(120 30% 50% / 0.5)" should set the property value-Pass e.style['color'] = "hwb(none none none)" should set the property value+Fail e.style['color'] = "hwb(none none none)" should set the property valuePass e.style['color'] = "hwb(0 0% 0%)" should set the property value-Pass e.style['color'] = "hwb(none none none / none)" should set the property value+Fail e.style['color'] = "hwb(none none none / none)" should set the property valuePass e.style['color'] = "hwb(0 0% 0% / 0)" should set the property value-Pass e.style['color'] = "hwb(120 none none)" should set the property value+Fail e.style['color'] = "hwb(120 none none)" should set the property valuePass e.style['color'] = "hwb(120 0% 0%)" should set the property value-Pass e.style['color'] = "hwb(120 80% none)" should set the property value+Fail e.style['color'] = "hwb(120 80% none)" should set the property valuePass e.style['color'] = "hwb(120 80% 0%)" should set the property value-Pass e.style['color'] = "hwb(120 none 50%)" should set the property value+Fail e.style['color'] = "hwb(120 none 50%)" should set the property valuePass e.style['color'] = "hwb(120 0% 50%)" should set the property value-Pass e.style['color'] = "hwb(120 30% 50% / none)" should set the property value+Fail e.style['color'] = "hwb(120 30% 50% / none)" should set the property valuePass e.style['color'] = "hwb(120 30% 50% / 0)" should set the property value-Pass e.style['color'] = "hwb(none 100% 50% / none)" should set the property value+Fail e.style['color'] = "hwb(none 100% 50% / none)" should set the property valuePass e.style['color'] = "hwb(0 100% 50% / 0)" should set the property valuePass e.style['color'] = "hwb(120 30 50)" should set the property valuePass e.style['color'] = "hwb(120 30 50 / 0.5)" should set the property value@@ -25,11 +26,11 @@ Pass e.style['color'] = "hwb(120 30% 50)" should set the property valuePass e.style['color'] = "hwb(120 30% 50 / 0.5)" should set the property valuePass e.style['color'] = "hwb(120 30 50%)" should set the property valuePass e.style['color'] = "hwb(120 30 50% / 0.5)" should set the property value-Pass e.style['color'] = "hwb(120 none 50)" should set the property value-Pass e.style['color'] = "hwb(120 none 50 / 0.5)" should set the property value-Pass e.style['color'] = "hwb(120 30 none)" should set the property value-Pass e.style['color'] = "hwb(120 30 none / 0.5)" should set the property value-Pass e.style['color'] = "hwb(120 30 50 / none)" should set the property value+Fail e.style['color'] = "hwb(120 none 50)" should set the property value+Fail e.style['color'] = "hwb(120 none 50 / 0.5)" should set the property value+Fail e.style['color'] = "hwb(120 30 none)" should set the property value+Fail e.style['color'] = "hwb(120 30 none / 0.5)" should set the property value+Fail e.style['color'] = "hwb(120 30 50 / none)" should set the property valuePass e.style['color'] = "hwb(320deg 30% 40%)" should set the property valuePass e.style['color'] = "hwb(calc(infinity) 20% 10%)" should set the property valuePass e.style['color'] = "hwb(calc(-infinity) 20% 10%)" should set the property value@@ -37,6 +38,7 @@ Pass e.style['color'] = "hwb(calc(0 / 0) 20% 10%)" should set the property valuePass e.style['color'] = "hwb(90 20% 10% / calc(infinity))" should set the property valuePass e.style['color'] = "hwb(90 20% 10% / calc(-infinity))" should set the property valuePass e.style['color'] = "hwb(90 20% 10% / calc(0 / 0))" should set the property value+Pass e.style['color'] = "hwb(90 20% 10% / calc(NaN))" should set the property valuePass e.style['color'] = "hwb(calc(110deg + (sign(1em - 10px) * 10deg)) 30% 50% / 50%)" should set the property valuePass e.style['color'] = "hwb(calc(110 + (sign(1em - 10px) * 10)) 30 50 / 0.5)" should set the property valuePass e.style['color'] = "hwb(120deg 30% 50% / calc(50% + (sign(1em - 10px) * 10%)))" should set the property valuediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-relative-color.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-relative-color.txtindex e4ca0b4ddc5..cbabb646ab5 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-relative-color.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-relative-color.txt@@ -2,8 +2,8 @@ Harness status: OKFound 1147 tests-1146 Pass-1 Fail+1123 Pass+24 FailPass e.style['color'] = "rgb(from rebeccapurple r g b)" should set the property valuePass e.style['color'] = "rgb(from rebeccapurple r g b / alpha)" should set the property valuePass e.style['color'] = "rgb(from rgb(20%, 40%, 60%, 80%) r g b / alpha)" should set the property value@@ -68,10 +68,10 @@ Pass e.style['color'] = "rgb(from rebeccapurple r g none / alpha)" should set thPass e.style['color'] = "rgb(from rebeccapurple r g b / none)" should set the property valuePass e.style['color'] = "rgb(from rgb(20% 40% 60% / 80%) r g none / alpha)" should set the property valuePass e.style['color'] = "rgb(from rgb(20% 40% 60% / 80%) r g b / none)" should set the property value-Pass e.style['color'] = "rgb(from rgb(none none none) r g b)" should set the property value-Pass e.style['color'] = "rgb(from rgb(none none none / none) r g b / alpha)" should set the property value-Pass e.style['color'] = "rgb(from rgb(20% none 60%) r g b)" should set the property value-Pass e.style['color'] = "rgb(from rgb(20% 40% 60% / none) r g b / alpha)" should set the property value+Fail e.style['color'] = "rgb(from rgb(none none none) r g b)" should set the property value+Fail e.style['color'] = "rgb(from rgb(none none none / none) r g b / alpha)" should set the property value+Fail e.style['color'] = "rgb(from rgb(20% none 60%) r g b)" should set the property value+Fail e.style['color'] = "rgb(from rgb(20% 40% 60% / none) r g b / alpha)" should set the property valuePass e.style['color'] = "rgb(from currentColor r g b)" should set the property valuePass e.style['color'] = "rgb(from color-mix(in srgb, red, red) r g b / alpha)" should set the property valuePass e.style['color'] = "rgba(from rebeccapurple r g b)" should set the property value@@ -138,10 +138,10 @@ Pass e.style['color'] = "rgba(from rebeccapurple r g none / alpha)" should set tPass e.style['color'] = "rgba(from rebeccapurple r g b / none)" should set the property valuePass e.style['color'] = "rgba(from rgb(20% 40% 60% / 80%) r g none / alpha)" should set the property valuePass e.style['color'] = "rgba(from rgb(20% 40% 60% / 80%) r g b / none)" should set the property value-Pass e.style['color'] = "rgba(from rgb(none none none) r g b)" should set the property value-Pass e.style['color'] = "rgba(from rgb(none none none / none) r g b / alpha)" should set the property value-Pass e.style['color'] = "rgba(from rgb(20% none 60%) r g b)" should set the property value-Pass e.style['color'] = "rgba(from rgb(20% 40% 60% / none) r g b / alpha)" should set the property value+Fail e.style['color'] = "rgba(from rgb(none none none) r g b)" should set the property value+Fail e.style['color'] = "rgba(from rgb(none none none / none) r g b / alpha)" should set the property value+Fail e.style['color'] = "rgba(from rgb(20% none 60%) r g b)" should set the property value+Fail e.style['color'] = "rgba(from rgb(20% 40% 60% / none) r g b / alpha)" should set the property valuePass e.style['color'] = "rgba(from currentColor r g b)" should set the property valuePass e.style['color'] = "rgba(from color-mix(in srgb, red, red) r g b / alpha)" should set the property valuePass e.style['color'] = "hsl(from rebeccapurple h s l)" should set the property value@@ -192,11 +192,11 @@ Pass e.style['color'] = "hsl(from rebeccapurple none s l / alpha)" should set thPass e.style['color'] = "hsl(from hsl(120deg 20% 50% / .5) h s none / alpha)" should set the property valuePass e.style['color'] = "hsl(from hsl(120deg 20% 50% / .5) h s l / none)" should set the property valuePass e.style['color'] = "hsl(from hsl(120deg 20% 50% / .5) none s l / alpha)" should set the property value-Pass e.style['color'] = "hsl(from hsl(none none none) h s l)" should set the property value-Pass e.style['color'] = "hsl(from hsl(none none none / none) h s l / alpha)" should set the property value-Pass e.style['color'] = "hsl(from hsl(120deg none 50% / .5) h s l)" should set the property value-Pass e.style['color'] = "hsl(from hsl(120deg 20% 50% / none) h s l / alpha)" should set the property value-Pass e.style['color'] = "hsl(from hsl(none 20% 50% / .5) h s l / alpha)" should set the property value+Fail e.style['color'] = "hsl(from hsl(none none none) h s l)" should set the property value+Fail e.style['color'] = "hsl(from hsl(none none none / none) h s l / alpha)" should set the property value+Fail e.style['color'] = "hsl(from hsl(120deg none 50% / .5) h s l)" should set the property value+Fail e.style['color'] = "hsl(from hsl(120deg 20% 50% / none) h s l / alpha)" should set the property value+Fail e.style['color'] = "hsl(from hsl(none 20% 50% / .5) h s l / alpha)" should set the property valuePass e.style['color'] = "hsl(from currentColor h s l)" should set the property valuePass e.style['color'] = "hsl(from color-mix(in srgb, red, red) h s l / alpha)" should set the property valuePass e.style['color'] = "hsla(from rebeccapurple h s l)" should set the property value@@ -247,11 +247,11 @@ Pass e.style['color'] = "hsla(from rebeccapurple none s l / alpha)" should set tPass e.style['color'] = "hsla(from hsl(120deg 20% 50% / .5) h s none / alpha)" should set the property valuePass e.style['color'] = "hsla(from hsl(120deg 20% 50% / .5) h s l / none)" should set the property valuePass e.style['color'] = "hsla(from hsl(120deg 20% 50% / .5) none s l / alpha)" should set the property value-Pass e.style['color'] = "hsla(from hsl(none none none) h s l)" should set the property value-Pass e.style['color'] = "hsla(from hsl(none none none / none) h s l / alpha)" should set the property value-Pass e.style['color'] = "hsla(from hsl(120deg none 50% / .5) h s l)" should set the property value-Pass e.style['color'] = "hsla(from hsl(120deg 20% 50% / none) h s l / alpha)" should set the property value-Pass e.style['color'] = "hsla(from hsl(none 20% 50% / .5) h s l / alpha)" should set the property value+Fail e.style['color'] = "hsla(from hsl(none none none) h s l)" should set the property value+Fail e.style['color'] = "hsla(from hsl(none none none / none) h s l / alpha)" should set the property value+Fail e.style['color'] = "hsla(from hsl(120deg none 50% / .5) h s l)" should set the property value+Fail e.style['color'] = "hsla(from hsl(120deg 20% 50% / none) h s l / alpha)" should set the property value+Fail e.style['color'] = "hsla(from hsl(none 20% 50% / .5) h s l / alpha)" should set the property valuePass e.style['color'] = "hsla(from currentColor h s l)" should set the property valuePass e.style['color'] = "hsla(from color-mix(in srgb, red, red) h s l / alpha)" should set the property valuePass e.style['color'] = "hwb(from rebeccapurple h w b)" should set the property value@@ -302,11 +302,11 @@ Pass e.style['color'] = "hwb(from rebeccapurple none w b / alpha)" should set thPass e.style['color'] = "hwb(from hwb(120deg 20% 50% / .5) h w none / alpha)" should set the property valuePass e.style['color'] = "hwb(from hwb(120deg 20% 50% / .5) h w b / none)" should set the property valuePass e.style['color'] = "hwb(from hwb(120deg 20% 50% / .5) none w b / alpha)" should set the property value-Pass e.style['color'] = "hwb(from hwb(none none none) h w b)" should set the property value-Pass e.style['color'] = "hwb(from hwb(none none none / none) h w b / alpha)" should set the property value-Pass e.style['color'] = "hwb(from hwb(120deg none 50% / .5) h w b)" should set the property value-Pass e.style['color'] = "hwb(from hwb(120deg 20% 50% / none) h w b / alpha)" should set the property value-Pass e.style['color'] = "hwb(from hwb(none 20% 50% / .5) h w b / alpha)" should set the property value+Fail e.style['color'] = "hwb(from hwb(none none none) h w b)" should set the property value+Fail e.style['color'] = "hwb(from hwb(none none none / none) h w b / alpha)" should set the property value+Fail e.style['color'] = "hwb(from hwb(120deg none 50% / .5) h w b)" should set the property value+Fail e.style['color'] = "hwb(from hwb(120deg 20% 50% / none) h w b / alpha)" should set the property value+Fail e.style['color'] = "hwb(from hwb(none 20% 50% / .5) h w b / alpha)" should set the property valuePass e.style['color'] = "hwb(from currentColor h w b)" should set the property valuePass e.style['color'] = "hwb(from color-mix(in srgb, red, red) h w b / alpha)" should set the property valuePass e.style['color'] = "lab(from lab(25 20 50) l a b)" should set the property valuediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-rgb.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-rgb.txtindex 82dff78f859..83d7e07836d 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-rgb.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/parsing/color-valid-rgb.txt@@ -2,23 +2,24 @@ Harness status: OKFound 70 tests-70 Pass-Pass e.style['color'] = "rgb(none none none)" should set the property value-Pass e.style['color'] = "rgb(none none none / none)" should set the property value-Pass e.style['color'] = "rgb(128 none none)" should set the property value-Pass e.style['color'] = "rgb(128 none none / none)" should set the property value-Pass e.style['color'] = "rgb(none none none / .5)" should set the property value-Pass e.style['color'] = "rgb(20% none none)" should set the property value-Pass e.style['color'] = "rgb(20% none none / none)" should set the property value-Pass e.style['color'] = "rgb(none none none / 50%)" should set the property value-Pass e.style['color'] = "rgba(none none none)" should set the property value-Pass e.style['color'] = "rgba(none none none / none)" should set the property value-Pass e.style['color'] = "rgba(128 none none)" should set the property value-Pass e.style['color'] = "rgba(128 none none / none)" should set the property value-Pass e.style['color'] = "rgba(none none none / .5)" should set the property value-Pass e.style['color'] = "rgba(20% none none)" should set the property value-Pass e.style['color'] = "rgba(20% none none / none)" should set the property value-Pass e.style['color'] = "rgba(none none none / 50%)" should set the property value+54 Pass+16 Fail+Fail e.style['color'] = "rgb(none none none)" should set the property value+Fail e.style['color'] = "rgb(none none none / none)" should set the property value+Fail e.style['color'] = "rgb(128 none none)" should set the property value+Fail e.style['color'] = "rgb(128 none none / none)" should set the property value+Fail e.style['color'] = "rgb(none none none / .5)" should set the property value+Fail e.style['color'] = "rgb(20% none none)" should set the property value+Fail e.style['color'] = "rgb(20% none none / none)" should set the property value+Fail e.style['color'] = "rgb(none none none / 50%)" should set the property value+Fail e.style['color'] = "rgba(none none none)" should set the property value+Fail e.style['color'] = "rgba(none none none / none)" should set the property value+Fail e.style['color'] = "rgba(128 none none)" should set the property value+Fail e.style['color'] = "rgba(128 none none / none)" should set the property value+Fail e.style['color'] = "rgba(none none none / .5)" should set the property value+Fail e.style['color'] = "rgba(20% none none)" should set the property value+Fail e.style['color'] = "rgba(20% none none / none)" should set the property value+Fail e.style['color'] = "rgba(none none none / 50%)" should set the property valuePass e.style['color'] = "rgb(-2 3 4)" should set the property valuePass e.style['color'] = "rgb(-20% 20% 40%)" should set the property valuePass e.style['color'] = "rgb(257 30 40)" should set the property valuediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-color/system-color-consistency.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/system-color-consistency.txtnew file mode 100644index 00000000000..909d996ab10--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-color/system-color-consistency.txt@@ -0,0 +1,68 @@+Harness status: OK++Found 62 tests++54 Pass+8 Fail+Fail Property color value 'ButtonBorder' resolves to the same color as the border-color of a button (light)+Pass Property color value 'ButtonFace' resolves to the same color as the background-color of a button (light)+Pass Property color value 'ButtonText' resolves to the same color as text on a button (light)+Fail Property color value 'ButtonBorder' resolves to the same color as the border-color of a submit button (light)+Pass Property color value 'ButtonFace' resolves to the same color as the background-color of a submit button (light)+Pass Property color value 'ButtonText' resolves to the same color as text on a submit button (light)+Fail Property color value 'ButtonBorder' resolves to the same color as the border-color of a reset button (light)+Pass Property color value 'ButtonFace' resolves to the same color as the background-color of a reset button (light)+Pass Property color value 'ButtonText' resolves to the same color as text on a reset button (light)+Pass Property color value 'ButtonBorder' resolves to the same color as the border-color of a color picker (light)+Fail Property color value 'ButtonFace' resolves to the same color as the background-color of a color picker (light)+Pass Property color value 'ButtonText' resolves to the same color as text on a color picker (light)+Pass Property color value 'CanvasText' has the same color as the color of the html element (light)+Pass Property color value 'Field' resolves to the same color as the background-color of a text field (light)+Pass Property color value 'FieldText' resolves to the same color as text on a text field (light)+Pass Property color value 'Field' resolves to the same color as the background-color of a password field (light)+Pass Property color value 'FieldText' resolves to the same color as text on a password field (light)+Pass Property color value 'Field' resolves to the same color as the background-color of a email field (light)+Pass Property color value 'FieldText' resolves to the same color as text on a email field (light)+Pass Property color value 'Field' resolves to the same color as the background-color of a number field (light)+Pass Property color value 'FieldText' resolves to the same color as text on a number field (light)+Pass Property color value 'Field' resolves to the same color as the background-color of a date field (light)+Pass Property color value 'FieldText' resolves to the same color as text on a date field (light)+Pass Property color value 'Field' resolves to the same color as the background-color of a text area (light)+Pass Property color value 'FieldText' resolves to the same color as text on a text area (light)+Pass Property color value 'Mark' has the same color as the background-color of a mark element (light)+Pass Property color value 'MarkText' has the same color as the color of a mark element (light)+Pass Property color value 'LinkText' has the same color as the color of an anchor element (light)+Pass LinkText should not match Canvas in light mode+Pass ActiveText should not match Canvas in light mode+Pass VisitedText should not match Canvas in light mode+Fail Property color value 'ButtonBorder' resolves to the same color as the border-color of a button (dark)+Pass Property color value 'ButtonFace' resolves to the same color as the background-color of a button (dark)+Pass Property color value 'ButtonText' resolves to the same color as text on a button (dark)+Fail Property color value 'ButtonBorder' resolves to the same color as the border-color of a submit button (dark)+Pass Property color value 'ButtonFace' resolves to the same color as the background-color of a submit button (dark)+Pass Property color value 'ButtonText' resolves to the same color as text on a submit button (dark)+Fail Property color value 'ButtonBorder' resolves to the same color as the border-color of a reset button (dark)+Pass Property color value 'ButtonFace' resolves to the same color as the background-color of a reset button (dark)+Pass Property color value 'ButtonText' resolves to the same color as text on a reset button (dark)+Pass Property color value 'ButtonBorder' resolves to the same color as the border-color of a color picker (dark)+Fail Property color value 'ButtonFace' resolves to the same color as the background-color of a color picker (dark)+Pass Property color value 'ButtonText' resolves to the same color as text on a color picker (dark)+Pass Property color value 'CanvasText' has the same color as the color of the html element (dark)+Pass Property color value 'Field' resolves to the same color as the background-color of a text field (dark)+Pass Property color value 'FieldText' resolves to the same color as text on a text field (dark)+Pass Property color value 'Field' resolves to the same color as the background-color of a password field (dark)+Pass Property color value 'FieldText' resolves to the same color as text on a password field (dark)+Pass Property color value 'Field' resolves to the same color as the background-color of a email field (dark)+Pass Property color value 'FieldText' resolves to the same color as text on a email field (dark)+Pass Property color value 'Field' resolves to the same color as the background-color of a number field (dark)+Pass Property color value 'FieldText' resolves to the same color as text on a number field (dark)+Pass Property color value 'Field' resolves to the same color as the background-color of a date field (dark)+Pass Property color value 'FieldText' resolves to the same color as text on a date field (dark)+Pass Property color value 'Field' resolves to the same color as the background-color of a text area (dark)+Pass Property color value 'FieldText' resolves to the same color as text on a text area (dark)+Pass Property color value 'Mark' has the same color as the background-color of a mark element (dark)+Pass Property color value 'MarkText' has the same color as the color of a mark element (dark)+Pass Property color value 'LinkText' has the same color as the color of an anchor element (dark)+Pass LinkText should not match Canvas in dark mode+Pass ActiveText should not match Canvas in dark mode+Pass VisitedText should not match Canvas in dark mode\ No newline at end of filediff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/light-dark-image.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/light-dark-image.htmlnew file mode 100644index 00000000000..c5b6e078b1c--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/light-dark-image.html@@ -0,0 +1,318 @@+<!doctype html>+<title>light-dark() with image values</title>+<link rel="author" title="Jason Leo" href="mailto:[email protected]">+<link rel="author" title="一丝" href="mailto:[email protected]">+<script src="../../resources/testharness.js"></script>+<script src="../../resources/testharnessreport.js"></script>+<link rel="help" href="https://drafts.csswg.org/css-color-5/#light-dark">+<div id="light" style="color-scheme: light"></div>+<div id="dark" style="color-scheme: dark"></div>+<div id="inherit-parent" style="color-scheme: dark">+ <div id="inherit-child"></div>+</div>+<script>+function test_light_dark_image(property, value, expected_light, expected_dark) {+ test(() => {+ for (let element of [light, dark]) {+ element.style.setProperty(property, "");+ element.style.setProperty(property, value);+ assert_not_equals(element.style.getPropertyValue(property), "",+ "Should parse as valid: " + value);+ let computed = getComputedStyle(element).getPropertyValue(property);+ let expected = element.id == "dark" ? expected_dark : expected_light;+ assert_true(computed.endsWith(expected),+ `Expected "${computed}" to end with "${expected}"`);+ element.style.setProperty(property, "");+ }+ }, `${property}: ${value}`);+}++function test_invalid(property, value) {+ test(() => {+ light.style.setProperty(property, "initial");+ light.style.setProperty(property, value);+ assert_equals(light.style.getPropertyValue(property), "initial",+ "Should not parse: " + value);+ light.style.setProperty(property, "");+ }, `${property}: ${value} (invalid)`);+}++// background-image: url values+test_light_dark_image(+ "background-image",+ "light-dark(url('light.png'), url('dark.png'))",+ 'light.png")',+ 'dark.png")'+);++// 'none' inside light-dark() image computes to image(transparent) per CSS+// Color 5, which then resolves to image(rgba(0, 0, 0, 0)) per the+// computed-value rules for <color>.+// https://drafts.csswg.org/css-color-5/#valdef-light-dark-none+test_light_dark_image(+ "background-image",+ "light-dark(none, url('dark.png'))",+ "image(rgba(0, 0, 0, 0))",+ 'dark.png")'+);++test_light_dark_image(+ "background-image",+ "light-dark(url('light.png'), none)",+ 'light.png")',+ "image(rgba(0, 0, 0, 0))",+);++test_light_dark_image(+ "background-image",+ "light-dark(none, none)",+ "image(rgba(0, 0, 0, 0))",+ "image(rgba(0, 0, 0, 0))",+);++// background-image: gradient values+test_light_dark_image(+ "background-image",+ "light-dark(linear-gradient(red, blue), linear-gradient(green, yellow))",+ "linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255))",+ "linear-gradient(rgb(0, 128, 0), rgb(255, 255, 0))"+);++test_light_dark_image(+ "background-image",+ "light-dark(radial-gradient(red, blue), radial-gradient(green, yellow))",+ "radial-gradient(rgb(255, 0, 0), rgb(0, 0, 255))",+ "radial-gradient(rgb(0, 128, 0), rgb(255, 255, 0))"+);++test_light_dark_image(+ "background-image",+ "light-dark(conic-gradient(red, blue), conic-gradient(green, yellow))",+ "conic-gradient(rgb(255, 0, 0), rgb(0, 0, 255))",+ "conic-gradient(rgb(0, 128, 0), rgb(255, 255, 0))"+);++test_light_dark_image(+ "background-image",+ "light-dark(repeating-linear-gradient(red, blue 50px), repeating-linear-gradient(green, yellow 50px))",+ "repeating-linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255) 50px)",+ "repeating-linear-gradient(rgb(0, 128, 0), rgb(255, 255, 0) 50px)"+);++// background-image: mixed image types (url + gradient)+test_light_dark_image(+ "background-image",+ "light-dark(url('light.png'), linear-gradient(red, blue))",+ 'light.png")',+ "linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255))"+);++test_light_dark_image(+ "background-image",+ "light-dark(linear-gradient(red, blue), url('dark.png'))",+ "linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255))",+ 'dark.png")'+);++// background-image: none + gradient+test_light_dark_image(+ "background-image",+ "light-dark(none, linear-gradient(red, blue))",+ "image(rgba(0, 0, 0, 0))",+ "linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255))"+);++test_light_dark_image(+ "background-image",+ "light-dark(linear-gradient(red, blue), none)",+ "linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255))",+ "image(rgba(0, 0, 0, 0))",+);++// list-style-image+test_light_dark_image(+ "list-style-image",+ "light-dark(url('light.png'), url('dark.png'))",+ 'light.png")',+ 'dark.png")'+);++test_light_dark_image(+ "list-style-image",+ "light-dark(none, url('dark.png'))",+ "image(rgba(0, 0, 0, 0))",+ 'dark.png")'+);++test_light_dark_image(+ "list-style-image",+ "light-dark(url('light.png'), none)",+ 'light.png")',+ "image(rgba(0, 0, 0, 0))",+);++// border-image-source+test_light_dark_image(+ "border-image-source",+ "light-dark(url('light.png'), url('dark.png'))",+ 'light.png")',+ 'dark.png")'+);++test_light_dark_image(+ "border-image-source",+ "light-dark(linear-gradient(red, blue), linear-gradient(green, yellow))",+ "linear-gradient(rgb(255, 0, 0), rgb(0, 0, 255))",+ "linear-gradient(rgb(0, 128, 0), rgb(255, 255, 0))"+);++// content property with image values+test_light_dark_image(+ "content",+ "light-dark(url('light.png'), url('dark.png'))",+ 'light.png")',+ 'dark.png")'+);++// Nested light-dark with image values+test_light_dark_image(+ "background-image",+ "light-dark(light-dark(url('a.png'), url('b.png')), url('c.png'))",+ 'a.png")',+ 'c.png")'+);++test_light_dark_image(+ "background-image",+ "light-dark(url('a.png'), light-dark(url('b.png'), url('c.png')))",+ 'a.png")',+ 'c.png")'+);++// Nested image functions, one wrapper per test, so a browser without+// -webkit-cross-fade() still runs the image-set() cases. image-set() is never+// nested inside image-set(): the spec forbids that, directly or indirectly.+function test_nested_light_dark_image(value, description) {+ test(() => {+ const names = [...value.matchAll(/dummy:\/\/light-(\w)\.png/g)]+ .map(match => match[1]);+ for (let element of [light, dark]) {+ element.style.setProperty("background-image", "");+ element.style.setProperty("background-image", value);+ assert_not_equals(element.style.getPropertyValue("background-image"), "",+ "Should parse as valid: " + value);+ const computed = getComputedStyle(element).getPropertyValue(+ "background-image");+ const scheme = element.id == "dark" ? "dark" : "light";+ const other = element.id == "dark" ? "light" : "dark";+ for (const name of names) {+ const expected = `dummy://${scheme}-${name}.png`;+ const unexpected = `dummy://${other}-${name}.png`;+ assert_true(+ computed.includes(expected),+ `Expected "${computed}" to include resolved URL "${expected}"`);+ assert_false(+ computed.includes(unexpected),+ `Expected "${computed}" not to include unresolved URL "${unexpected}"`);+ }+ element.style.setProperty("background-image", "");+ }+ }, `background-image: ${description}`);+}++test_nested_light_dark_image(+ "image-set(light-dark(url('dummy://light-a.png'), " ++ "url('dummy://dark-a.png')) 1x)",+ "light-dark() inside image-set()"+);++test_nested_light_dark_image(+ "light-dark(image-set(url('dummy://light-a.png') 1x), " ++ "image-set(url('dummy://dark-a.png') 1x))",+ "image-set() inside light-dark()"+);++test_nested_light_dark_image(+ "-webkit-cross-fade(" ++ "light-dark(url('dummy://light-a.png'), url('dummy://dark-a.png')), " ++ "light-dark(url('dummy://light-b.png'), url('dummy://dark-b.png')), " ++ "50%)",+ "light-dark() inside -webkit-cross-fade()"+);++test_nested_light_dark_image(+ "image-set(-webkit-cross-fade(" ++ "light-dark(url('dummy://light-a.png'), url('dummy://dark-a.png')), " ++ "light-dark(url('dummy://light-b.png'), url('dummy://dark-b.png')), " ++ "50%) 1x)",+ "light-dark() inside -webkit-cross-fade() inside image-set()"+);++// Serialization round-trip+test(() => {+ for (let element of [light, dark]) {+ element.style.setProperty("background-image", "");+ element.style.setProperty("background-image",+ "light-dark(url('light.png'), url('dark.png'))");+ let serialized = element.style.getPropertyValue("background-image");+ assert_not_equals(serialized, "", "Should serialize");+ let computed_before =+ getComputedStyle(element).getPropertyValue("background-image");+ element.style.setProperty("background-image", "");+ element.style.setProperty("background-image", serialized);+ assert_not_equals(element.style.getPropertyValue("background-image"), "",+ "Serialized value should re-parse");+ let computed_after =+ getComputedStyle(element).getPropertyValue("background-image");+ assert_equals(computed_after, computed_before,+ "Computed value should match after round-trip");+ element.style.setProperty("background-image", "");+ }+}, "Serialization round-trip for light-dark() image");++// Inheritance: child inherits light-dark image from parent+test(() => {+ const parent = document.getElementById("inherit-parent");+ const child = document.getElementById("inherit-child");+ parent.style.setProperty("background-image",+ "light-dark(url('light.png'), url('dark.png'))");+ child.style.setProperty("background-image", "inherit");+ let computed = getComputedStyle(child).getPropertyValue("background-image");+ assert_true(computed.endsWith('dark.png")'),+ `Expected "${computed}" to end with dark.png")`);+ parent.style.setProperty("background-image", "");+ child.style.setProperty("background-image", "");+}, "Inherited light-dark() image resolves with parent's color-scheme");++// Dynamic color-scheme change+test(() => {+ light.style.setProperty("background-image",+ "light-dark(url('light.png'), url('dark.png'))");+ let computed_light = getComputedStyle(light).getPropertyValue("background-image");+ assert_true(computed_light.endsWith('light.png")'),+ "Should resolve to light image initially");++ light.style.setProperty("color-scheme", "dark");+ let computed_dark = getComputedStyle(light).getPropertyValue("background-image");+ assert_true(computed_dark.endsWith('dark.png")'),+ "Should resolve to dark image after scheme change");++ light.style.setProperty("color-scheme", "light");+ let computed_restored = getComputedStyle(light).getPropertyValue("background-image");+ assert_true(computed_restored.endsWith('light.png")'),+ "Should resolve to light image after restoring scheme");+ light.style.setProperty("background-image", "");+}, "light-dark() image responds to dynamic color-scheme changes");++// Invalid cases+test_invalid("background-image", "light-dark()");+test_invalid("background-image", "light-dark(url(a.png))");+test_invalid("background-image", "light-dark(url(a.png) url(b.png))");+test_invalid("background-image", "light-dark(url(a.png),,url(b.png))");+// Colors are not valid in image context+test_invalid("background-image", "light-dark(red, green)");+test_invalid("background-image", "light-dark(red, url(a.png))");+test_invalid("background-image", "light-dark(url(a.png), red)");+// Three arguments+test_invalid("background-image", "light-dark(url(a.png), url(b.png), url(c.png))");+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/alpha-color-computed.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/alpha-color-computed.htmlnew file mode 100644index 00000000000..ce001b4c943--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/alpha-color-computed.html@@ -0,0 +1,84 @@+<!DOCTYPE html>+<meta charset="utf-8">+<title>CSS Color 5: alpha() function - computed values</title>+<link rel="author" title="CGQAQ" href="mailto:[email protected]">+<link rel="help" href="https://drafts.csswg.org/css-color-5/#relative-alpha">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/computed-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script>+<div id="target"></div>+<script>++const target = document.getElementById('target');++// Basic: replace alpha on a named color.+test_computed_value("color", "alpha(from red / 0.5)", "color(srgb 1 0 0 / 0.5)");+test_computed_value("color", "alpha(from blue / 0)", "color(srgb 0 0 1 / 0)");+test_computed_value("color", "alpha(from rebeccapurple / 1)", "color(srgb 0.4 0.2 0.6)");++// Percentage alpha.+test_computed_value("color", "alpha(from red / 50%)", "color(srgb 1 0 0 / 0.5)");+test_computed_value("color", "alpha(from red / 0%)", "color(srgb 1 0 0 / 0)");++// None alpha.+test_computed_value("color", "alpha(from red / none)", "color(srgb 1 0 0 / none)");+test_computed_value("color", "color-mix(in srgb, rgb(255 0 0 / 0.5), alpha(from red / none))", "color(srgb 1 0 0 / 0.5)")++// Alpha clamped to [0, 1].+test_computed_value("color", "alpha(from red / 2)", "color(srgb 1 0 0)");+test_computed_value("color", "alpha(from red / -1)", "color(srgb 1 0 0 / 0)");++// Origin color with existing alpha.+test_computed_value("color", "alpha(from rgba(255, 0, 0, 0.3) / 0.8)", "color(srgb 1 0 0 / 0.8)");++// Preserves non-legacy color spaces.+test_computed_value("color", "alpha(from color(display-p3 1 0 0) / 0.5)", "color(display-p3 1 0 0 / 0.5)");+test_computed_value("color", "alpha(from color(srgb 1 0 0) / 0.5)", "color(srgb 1 0 0 / 0.5)");+test_computed_value("color", "alpha(from color(srgb 1 0 0) / 50%)", "color(srgb 1 0 0 / 0.5)");++// calc() referencing the origin's alpha keyword.+test_computed_value("color", "alpha(from rgba(255, 0, 0, 0.8) / calc(alpha + 0.1))", "color(srgb 1 0 0 / 0.9)");+test_computed_value("color", "alpha(from rebeccapurple / calc(alpha / 1))", "color(srgb 0.4 0.2 0.6)");++// Nested alpha(): the inner result is the outer origin (and its alpha).+test_computed_value("color", "alpha(from alpha(from red / 0.5) / calc(alpha + 0.25))", "color(srgb 1 0 0 / 0.75)");+test_computed_value("color", "alpha(from alpha(from rebeccapurple / 0%) / 100%)", "color(srgb 0.4 0.2 0.6)");++// Other color functions as origin.+test_computed_value("color", "alpha(from color-mix(in srgb, red, blue) / 0.5)", "color(srgb 0.5 0 0.5 / 0.5)");+test_computed_value("color", "alpha(from rgb(from red r g b) / 0.8)", "color(srgb 1 0 0 / 0.8)");++// Origin color with 'none'.+test_computed_value("color", "alpha(from rgb(none none none / none) / alpha)", "color(srgb none none none / none)");+test_computed_value("color", "alpha(from rgb(none none none) / alpha)", "color(srgb none none none)");+test_computed_value("color", "alpha(from rgb(0 255 0 / none) / alpha)", "color(srgb 0 1 0 / none)");+test_computed_value("color", "alpha(from rgb(0 none 0) / alpha)", "color(srgb 0 none 0)");++// alpha() as the origin of other relative color functions: the `alpha` channel+// keyword reads the alpha produced by alpha().+test_computed_value("color", "rgb(from alpha(from red / 0.5) r g b / alpha)", "color(srgb 1 0 0 / 0.5)");+test_computed_value("color", "hsl(from alpha(from red / 0.5) h s l / alpha)", "color(srgb 1 0 0 / 0.5)");+test_computed_value("color", "lab(from alpha(from lab(50% 20 -30) / 0.5) l a b / alpha)", "lab(50 20 -30 / 0.5)");+test_computed_value("color", "oklch(from alpha(from oklch(50% 0.2 120) / 0.5) l c h / alpha)", "oklch(0.5 0.2 120 / 0.5)");+test_computed_value("color", "color(from alpha(from red / 1.5) srgb r g b / calc(alpha - 0.2))", "color(srgb 1 0 0 / 0.8)");++// currentcolor: resolves against the element's color property.+// Set color on target, then test background-color with currentcolor origin.+function test_currentcolor_alpha(specified, expected, current) {+ target.style["color"] = current;+ fuzzy_test_computed_color_property("background-color", specified, expected);+}++// Explicit alpha replaces origin alpha.+test_currentcolor_alpha("alpha(from currentcolor / 0.5)", "color(srgb 1 0 0 / 0.5)", "red");+// Alpha keyword references origin's alpha.+test_currentcolor_alpha("alpha(from currentcolor / alpha)", "color(srgb 1 0 0 / 0.8)", "rgba(255, 0, 0, 0.8)");+// None alpha.+test_currentcolor_alpha("alpha(from currentcolor / none)", "color(srgb 0.4 0.2 0.6 / none)", "rebeccapurple");+// Percentage alpha.+test_currentcolor_alpha("alpha(from currentcolor / 50%)", "color(srgb 1 0 0 / 0.5)", "red");+// Calc with alpha keyword.+test_currentcolor_alpha("alpha(from currentcolor / calc(alpha * 0.5))", "color(srgb 1 0 0 / 0.4)", "rgba(255, 0, 0, 0.8)");++</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/alpha-color-parsing-valid.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/alpha-color-parsing-valid.htmlnew file mode 100644index 00000000000..98953cf5efe--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/alpha-color-parsing-valid.html@@ -0,0 +1,93 @@+<!DOCTYPE html>+<meta charset="utf-8">+<title>CSS Color 5: alpha() function - valid parsing</title>+<link rel="author" title="CGQAQ" href="mailto:[email protected]">+<link rel="help" href="https://drafts.csswg.org/css-color-5/#relative-alpha">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/parsing-testcommon.js"></script>+<div id="target"></div>+<script>++// Basic usage with literal alpha.+test_valid_value("color", "alpha(from red / 0.5)");+test_valid_value("color", "alpha(from blue / 1)");+test_valid_value("color", "alpha(from green / 0)");+test_valid_value("color", "alpha(from rgba(0, 0, 0, 0.5) / 1)");++// Explicit opaque alpha must be preserved even when the origin is unresolved.+test_valid_value("color", "alpha(from currentcolor / 1)");+test_valid_value("color", "alpha(from currentcolor / 100%)");+test_valid_value("color", "alpha(from alpha(from currentcolor / 0.5) / 1)");++// Percentage alpha.+test_valid_value("color", "alpha(from red / 50%)");+test_valid_value("color", "alpha(from red / 0%)");+test_valid_value("color", "alpha(from red / 100%)");++// None alpha.+test_valid_value("color", "alpha(from red / none)");++// Alpha keyword referencing origin's alpha.+test_valid_value("color", "alpha(from currentcolor / alpha)");++// Calc with alpha keyword.+test_valid_value("color", "alpha(from currentcolor / calc(alpha * 0.5))", "alpha(from currentcolor / calc(0.5 * alpha))");+test_valid_value("color", "alpha(from currentcolor / calc(alpha + 0.1))", "alpha(from currentcolor / calc(0.1 + alpha))");++// Nested in other color functions.+test_valid_value("color", "color-mix(in srgb, alpha(from red / 0.5), blue)");+test_valid_value("color", "rgb(from alpha(from currentcolor / 0.5) r g b)");++// Other color functions as origin.+test_valid_value("color", "alpha(from color-mix(in srgb, red, blue) / 0.5)");+test_valid_value("color", "alpha(from rgb(from red r g b) / 0.8)");++// Non-sRGB color spaces preserved.+test_valid_value("color", "alpha(from color(display-p3 1 0 0) / 0.5)");+test_valid_value("color", "alpha(from lab(50 20 -30) / 0.5)");+test_valid_value("color", "alpha(from oklch(0.5 0.2 120) / 0.5)");++// System and named colors.+test_valid_value("color", "alpha(from currentcolor / 0.5)");++// Out-of-range alpha values.+test_valid_value("color", "alpha(from red / 2)");+test_valid_value("color", "alpha(from red / -1)");++// Origin color carrying its own alpha.+test_valid_value("color", "alpha(from rgba(255, 0, 0, 0.8) / alpha)");++// Non-legacy origins keep their color space in the serialized origin.+test_valid_value("color", "alpha(from color(srgb 1 0 0) / 50%)");+test_valid_value("color", "alpha(from oklab(0.5 0.2 -0.3) / 0.5)");+test_valid_value("color", "alpha(from lch(50% 20 30) / 0.5)", "alpha(from lch(50 20 30) / 0.5)");++// Legacy origins are normalized to their canonical form.+test_valid_value("color", "alpha(from hsl(120 50% 50%) / 0.5)", "alpha(from rgb(64, 191, 64) / 0.5)");+test_valid_value("color", "alpha(from hwb(120 0% 0%) / 0.5)", "alpha(from rgb(0, 255, 0) / 0.5)");++// System color as origin.+test_valid_value("color", "alpha(from ActiveText / 0.5)", "alpha(from activetext / 0.5)");++// Tree-counting and var() alpha values (substitution functions stay unresolved).+test_valid_value("color", "alpha(from green / sibling-index())");+test_valid_value("color", "alpha(from green / sibling-count())");+test_valid_value("color", "alpha(from green / calc(sibling-index() * 0.2))", "alpha(from green / calc(0.2 * sibling-index()))");+test_valid_value("color", "alpha(from red / var(--alpha))");++// Nested alpha() as origin.+test_valid_value("color", "alpha(from alpha(from currentcolor / 0.5) / alpha)");+test_valid_value("color", "alpha(from alpha(from currentcolor / 0.5) / calc(alpha + 0.25))", "alpha(from alpha(from currentcolor / 0.5) / calc(0.25 + alpha))");++// alpha() as the origin of other relative color functions.+test_valid_value("color", "rgb(from alpha(from red / 0.5) r g b / alpha)");+test_valid_value("color", "hsl(from alpha(from currentcolor / 0.5) h s l / alpha)");+test_valid_value("color", "hwb(from alpha(from currentcolor / 0.5) h w b / alpha)");+test_valid_value("color", "lab(from alpha(from currentcolor / 0.5) l a b / alpha)");+test_valid_value("color", "lch(from alpha(from currentcolor / 0.5) l c h / alpha)");+test_valid_value("color", "oklab(from alpha(from currentcolor / 0.5) l a b / alpha)");+test_valid_value("color", "oklch(from alpha(from currentcolor / 0.5) l c h / alpha)");+test_valid_value("color", "color(from alpha(from currentcolor / 0.5) display-p3 r g b / alpha)");++</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-color-mix-function.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-color-mix-function.htmlindex 7a6d11180e1..2bbb98bda1d 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-color-mix-function.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-color-mix-function.html@@ -96,7 +96,7 @@fuzzy_test_computed_color(`color-mix(in hsl decreasing hue, red, black)`, `color(srgb 0.375 0.125 0.125)`);fuzzy_test_computed_color(`color-mix(in hsl decreasing hue, red, transparent)`, `color(srgb 1 0 0 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none none), hsl(none none none))`, `color(srgb 0 0 0)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none none), hsl(none none none))`, `hsl(none none none)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none none), hsl(30deg 40% 80%))`, `color(srgb 0.88 0.8 0.72)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))`, `color(srgb 0.32 0.48 0.32)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))`, `color(srgb 0.66 0.72 0.48)`);@@ -105,7 +105,7 @@fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))`, `color(srgb 0.56 0.56 0.24)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))`, `color(srgb 0.56 0.56 0.24 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))`, `color(srgb 0.56 0.56 0.24 / none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))`, `hsl(60 40% 40% / none)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg none none / none))`, `color(srgb 0.8 0.88 0.72 / 0.25)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(none 50% none / none))`, `color(srgb 0.9 0.8 0.7 / 0.25)`);@@ -114,6 +114,12 @@fuzzy_test_computed_color(`color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(none none none / 0.5))`, `color(srgb 0.88 0.8 0.72 / 0.5)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(30deg 40% 80% / 25%) 0%, hsl(90deg none none / 0.5))`, `color(srgb 0.8 0.88 0.72 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%) 0%)`, `color(srgb 0.33 0.36 0.24 / 0)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8) 0%)`, `color(srgb 0.372222 0.411111 0.255556 / 0)`);++ // A naive f32 implementation would yield a chromatic color after conversion from lch to hsl+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0.1 0 0), hsl(11 33 44))`, `color(srgb 0.25713316 0.19765042 0.18429716)`);+// hwb()fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%))`, `color(srgb 0.575 0.7 0.2)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%))`, `color(srgb 0.65 0.6 0.25)`);@@ -190,7 +196,7 @@fuzzy_test_computed_color(`color-mix(in hwb decreasing hue, red, black)`, `color(srgb 0.5 0 0)`);fuzzy_test_computed_color(`color-mix(in hwb decreasing hue, red, transparent)`, `color(srgb 1 0 0 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none none), hwb(none none none))`, `color(srgb 1 0 0)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none none), hwb(none none none))`, `hwb(none none none)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none none), hwb(30deg 30% 40%))`, `color(srgb 0.6 0.45 0.3)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(none none none))`, `color(srgb 0.1 0.8 0.1)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% none), hwb(30deg 30% 40%))`, `color(srgb 0.5 0.6 0.2)`);@@ -198,7 +204,7 @@fuzzy_test_computed_color(`color-mix(in hwb, hwb(none 10% 20%), hwb(30deg none 40%))`, `color(srgb 0.7 0.4 0.1)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40%))`, `color(srgb 0.575 0.7 0.2)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / 0.5))`, `color(srgb 0.575 0.7 0.2 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))`, `color(srgb 0.575 0.7 0.2 / none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))`, `hwb(75 20% 30% / none)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(90deg none none / none))`, `color(srgb 0.45 0.6 0.3 / 0.25)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(none 50% none / none))`, `color(srgb 0.6 0.55 0.5 / 0.25)`);@@ -207,6 +213,9 @@fuzzy_test_computed_color(`color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(none none none / 0.5))`, `color(srgb 0.6 0.45 0.3 / 0.5)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(30deg 30% 40% / 25%) 0%, hwb(90deg none none / 0.5))`, `color(srgb 0.45 0.6 0.3 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%) 0%)`, `color(srgb 0.575 0.7 0.2 / 0)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 0%, hwb(30deg 30% 40% / .8) 0%)`, `color(srgb 0.558333 0.666667 0.233333 / 0)`);+// lch()fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg))`, `lch(30 40 50)`);fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg))`, `lch(40 50 60)`);@@ -218,14 +227,14 @@fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg) 12.5%, lch(50 60 70deg) 37.5%)`, `lch(40 50 60 / 0.5)`); // Scale up < 100% sum, causes alpha multiplication.fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg) 0%, lch(50 60 70deg))`, `lch(50 60 70)`);- fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `lch(36.666664 46.666664 50 / 0.6)`);- fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8))`, `lch(44.285713 54.285717 60 / 0.7)`);- fuzzy_test_computed_color(`color-mix(in lch, 25% lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `lch(44.285713 54.285717 60 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `lch(36.666667 46.666667 50 / 0.6)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8))`, `lch(44.285714 54.285714 60 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in lch, 25% lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `lch(44.285714 54.285714 60 / 0.7)`);fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4), 25% lch(50 60 70deg / .8))`, `lch(26 36 40 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8) 25%)`, `lch(26 36 40 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8) 75%)`, `lch(44.285713 54.285717 60 / 0.7)`);- fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 30%, lch(50 60 70deg / .8) 90%)`, `lch(44.285713 54.285717 60 / 0.7)`); // Scale down > 100% sum.- fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 12.5%, lch(50 60 70deg / .8) 37.5%)`, `lch(44.285713 54.285717 60 / 0.35)`); // Scale up < 100% sum, causes alpha multiplication.+ fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8) 75%)`, `lch(44.285714 54.285714 60 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 30%, lch(50 60 70deg / .8) 90%)`, `lch(44.285714 54.285714 60 / 0.7)`); // Scale down > 100% sum.+ fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 12.5%, lch(50 60 70deg / .8) 37.5%)`, `lch(44.285714 54.285714 60 / 0.35)`); // Scale up < 100% sum, causes alpha multiplication.fuzzy_test_computed_color(`color-mix(in lch, lch(10 20 30deg / .4) 0%, lch(50 60 70deg / .8))`, `lch(50 60 70 / 0.8)`);fuzzy_test_computed_color(`color-mix(in lch, transparent, lch(0.3 0.4 30deg))`, `lch(0.3 0.4 30 / 0.5)`);@@ -233,8 +242,8 @@fuzzy_test_computed_color(`color-mix(in lch, lch(0.1 0.2 120deg / 0), lch(0.3 0.4 30deg))`, `lch(0.3 0.4 75 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lch, lch(0.1 0.2 120deg / 0) 10%, lch(0.3 0.4 30deg))`, `lch(0.3 0.4 39 / 0.9)`);- fuzzy_test_computed_color(`color-mix(in lch, white, blue)`, `lch(64.78 65.6 301.37)`, 0.1);- fuzzy_test_computed_color(`color-mix(in lch, white 10%, blue)`, `lch(36.61 118.09 301.37)`, 0.1);+ fuzzy_test_computed_color(`color-mix(in lch, white, blue)`, `lch(64.78 65.6 301.36)`, 0.1);+ fuzzy_test_computed_color(`color-mix(in lch, white 10%, blue)`, `lch(36.61 118.08 301.36)`, 0.1);fuzzy_test_computed_color(`color-mix(in lch, lch(100 0 40deg), lch(100 0 60deg))`, `lch(100 0 50)`);fuzzy_test_computed_color(`color-mix(in lch, lch(100 0 60deg), lch(100 0 40deg))`, `lch(100 0 50)`);@@ -249,9 +258,9 @@fuzzy_test_computed_color(`color-mix(in lch shorter hue, lch(100 0 330deg), lch(100 0 50deg))`, `lch(100 0 10)`);fuzzy_test_computed_color(`color-mix(in lch shorter hue, lch(100 0 20deg), lch(100 0 320deg))`, `lch(100 0 350)`);fuzzy_test_computed_color(`color-mix(in lch shorter hue, lch(100 0 320deg), lch(100 0 20deg))`, `lch(100 0 350)`);- fuzzy_test_computed_color(`color-mix(in lch shorter hue, red, white)`, `lch(77.145 53.4271 40.856)`);- fuzzy_test_computed_color(`color-mix(in lch shorter hue, red, black)`, `lch(27.145 53.4271 40.856)`);- fuzzy_test_computed_color(`color-mix(in lch shorter hue, red, transparent)`, `lch(54.29 106.847 40.856 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in lch shorter hue, red, white)`, `lch(77.145 53.4186 40.858)`);+ fuzzy_test_computed_color(`color-mix(in lch shorter hue, red, black)`, `lch(27.145 53.4186 40.858)`);+ fuzzy_test_computed_color(`color-mix(in lch shorter hue, red, transparent)`, `lch(54.29 106.837 40.858 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lch longer hue, lch(100 0 40deg), lch(100 0 60deg))`, `lch(100 0 230)`);fuzzy_test_computed_color(`color-mix(in lch longer hue, lch(100 0 60deg), lch(100 0 40deg))`, `lch(100 0 230)`);@@ -259,9 +268,9 @@fuzzy_test_computed_color(`color-mix(in lch longer hue, lch(100 0 330deg), lch(100 0 50deg))`, `lch(100 0 190)`);fuzzy_test_computed_color(`color-mix(in lch longer hue, lch(100 0 20deg), lch(100 0 320deg))`, `lch(100 0 170)`);fuzzy_test_computed_color(`color-mix(in lch longer hue, lch(100 0 320deg), lch(100 0 20deg))`, `lch(100 0 170)`);- fuzzy_test_computed_color(`color-mix(in lch longer hue, red, white)`, `lch(77.145 53.4271 220.856)`);- fuzzy_test_computed_color(`color-mix(in lch longer hue, red, black)`, `lch(27.145 53.4271 220.856)`);- fuzzy_test_computed_color(`color-mix(in lch longer hue, red, transparent)`, `lch(54.29 106.847 220.856 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in lch longer hue, red, white)`, `lch(77.145 53.4186 220.858)`);+ fuzzy_test_computed_color(`color-mix(in lch longer hue, red, black)`, `lch(27.145 53.4186 220.858)`);+ fuzzy_test_computed_color(`color-mix(in lch longer hue, red, transparent)`, `lch(54.29 106.837 220.858 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lch increasing hue, lch(100 0 40deg), lch(100 0 60deg))`, `lch(100 0 50)`);fuzzy_test_computed_color(`color-mix(in lch increasing hue, lch(100 0 60deg), lch(100 0 40deg))`, `lch(100 0 230)`);@@ -269,9 +278,9 @@fuzzy_test_computed_color(`color-mix(in lch increasing hue, lch(100 0 330deg), lch(100 0 50deg))`, `lch(100 0 10)`);fuzzy_test_computed_color(`color-mix(in lch increasing hue, lch(100 0 20deg), lch(100 0 320deg))`, `lch(100 0 170)`);fuzzy_test_computed_color(`color-mix(in lch increasing hue, lch(100 0 320deg), lch(100 0 20deg))`, `lch(100 0 350)`);- fuzzy_test_computed_color(`color-mix(in lch increasing hue, red, white)`, `lch(77.145 53.4271 40.856)`);- fuzzy_test_computed_color(`color-mix(in lch increasing hue, red, black)`, `lch(27.145 53.4271 40.856)`);- fuzzy_test_computed_color(`color-mix(in lch increasing hue, red, transparent)`, `lch(54.29 106.847 40.856 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in lch increasing hue, red, white)`, `lch(77.145 53.4186 40.858)`);+ fuzzy_test_computed_color(`color-mix(in lch increasing hue, red, black)`, `lch(27.145 53.4186 40.858)`);+ fuzzy_test_computed_color(`color-mix(in lch increasing hue, red, transparent)`, `lch(54.29 106.837 40.858 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lch decreasing hue, lch(100 0 40deg), lch(100 0 60deg))`, `lch(100 0 230)`);fuzzy_test_computed_color(`color-mix(in lch decreasing hue, lch(100 0 60deg), lch(100 0 40deg))`, `lch(100 0 50)`);@@ -279,9 +288,9 @@fuzzy_test_computed_color(`color-mix(in lch decreasing hue, lch(100 0 330deg), lch(100 0 50deg))`, `lch(100 0 190)`);fuzzy_test_computed_color(`color-mix(in lch decreasing hue, lch(100 0 20deg), lch(100 0 320deg))`, `lch(100 0 350)`);fuzzy_test_computed_color(`color-mix(in lch decreasing hue, lch(100 0 320deg), lch(100 0 20deg))`, `lch(100 0 170)`);- fuzzy_test_computed_color(`color-mix(in lch decreasing hue, red, white)`, `lch(77.145 53.4271 40.856)`);- fuzzy_test_computed_color(`color-mix(in lch decreasing hue, red, black)`, `lch(27.145 53.4271 40.856)`);- fuzzy_test_computed_color(`color-mix(in lch decreasing hue, red, transparent)`, `lch(54.29 106.847 40.856 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in lch decreasing hue, red, white)`, `lch(77.145 53.4186 40.858)`);+ fuzzy_test_computed_color(`color-mix(in lch decreasing hue, red, black)`, `lch(27.145 53.4186 40.858)`);+ fuzzy_test_computed_color(`color-mix(in lch decreasing hue, red, transparent)`, `lch(54.29 106.837 40.858 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lch, lch(none none none), lch(none none none))`, `lch(none none none)`);fuzzy_test_computed_color(`color-mix(in lch, lch(none none none), lch(50 60 70deg))`, `lch(50 60 70)`);@@ -302,6 +311,10 @@// Achromatic colors should have powerless hues. https://www.w3.org/TR/css-color-4/#lab-to-lchfuzzy_test_computed_color(`color-mix(in lch, lab(50 0 0), black)`, `lch(25 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(10% 20 30deg) 0%, lch(50% 60 70deg) 0%)`, `lch(30 40 50 / 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(10% 20 30deg / .4) 0%, lch(50% 60 70deg / .8) 0%)`, `lch(36.666667 46.666667 50 / 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none 20 30deg) 0%, lch(none 60 70deg) 0%)`, `lch(none 40 50 / 0)`);+// oklch()fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))`, `oklch(0.3 0.4 50)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg))`, `oklch(0.4 0.5 60)`);@@ -313,14 +326,14 @@fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 12.5%, oklch(0.5 0.6 70deg) 37.5%)`, `oklch(0.4 0.5 60 / 0.5)`); // Scale up < 100% sum, causes alpha multiplication.fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 0%, oklch(0.5 0.6 70deg))`, `oklch(0.5 0.6 70)`);- fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `oklch(0.36666664 0.46666664 50 / 0.6)`);- fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8))`, `oklch(0.44285713 0.54285717 60 / 0.7)`);- fuzzy_test_computed_color(`color-mix(in oklch, 25% oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `oklch(0.44285713 0.54285717 60 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `oklch(0.36666667 0.46666667 50 / 0.6)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8))`, `oklch(0.44285714 0.54285714 60 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in oklch, 25% oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `oklch(0.44285714 0.54285714 60 / 0.7)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), 25% oklch(0.5 0.6 70deg / .8))`, `oklch(0.26 0.36 40 / 0.5)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8) 25%)`, `oklch(0.26 0.36 40 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8) 75%)`, `oklch(0.44285713 0.54285717 60 / 0.7)`);- fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 30%, oklch(0.5 0.6 70deg / .8) 90%)`, `oklch(0.44285713 0.54285717 60 / 0.7)`); // Scale down > 100% sum.- fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 12.5%, oklch(0.5 0.6 70deg / .8) 37.5%)`, `oklch(0.44285713 0.54285717 60 / 0.35)`); // Scale up < 100% sum, causes alpha multiplication.+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8) 75%)`, `oklch(0.44285714 0.54285714 60 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 30%, oklch(0.5 0.6 70deg / .8) 90%)`, `oklch(0.44285714 0.54285714 60 / 0.7)`); // Scale down > 100% sum.+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 12.5%, oklch(0.5 0.6 70deg / .8) 37.5%)`, `oklch(0.44285714 0.54285714 60 / 0.35)`); // Scale up < 100% sum, causes alpha multiplication.fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 0%, oklch(0.5 0.6 70deg / .8))`, `oklch(0.5 0.6 70 / 0.8)`);fuzzy_test_computed_color(`color-mix(in oklch, transparent, oklch(0.3 40 30deg))`, `oklch(0.3 40 30 / 0.5)`);@@ -328,8 +341,8 @@fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 20 120deg / 0), oklch(0.3 40 30deg))`, `oklch(0.3 40 75 / 0.5)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.1 20 120deg / 0) 10%, oklch(0.3 40 30deg))`, `oklch(0.3 40 39 / 0.9)`);- fuzzy_test_computed_color(`color-mix(in oklch, white, blue)`, `oklch(0.726 0.156 264.052)`);- fuzzy_test_computed_color(`color-mix(in oklch, white 10%, blue)`, `oklch(0.506 0.281 264.052)`);+ fuzzy_test_computed_color(`color-mix(in oklch, white, blue)`, `oklch(0.726 0.157 264.052)`);+ fuzzy_test_computed_color(`color-mix(in oklch, white 10%, blue)`, `oklch(0.507 0.282 264.052)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(1 0 40deg), oklch(1 0 60deg))`, `oklch(1 0 50)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(1 0 60deg), oklch(1 0 40deg))`, `oklch(1 0 50)`);@@ -344,9 +357,9 @@fuzzy_test_computed_color(`color-mix(in oklch shorter hue, oklch(1 0 330deg), oklch(1 0 50deg))`, `oklch(1 0 10)`);fuzzy_test_computed_color(`color-mix(in oklch shorter hue, oklch(1 0 20deg), oklch(1 0 320deg))`, `oklch(1 0 350)`);fuzzy_test_computed_color(`color-mix(in oklch shorter hue, oklch(1 0 320deg), oklch(1 0 20deg))`, `oklch(1 0 350)`);- fuzzy_test_computed_color(`color-mix(in oklch shorter hue, red, white)`, `oklch(0.81398 0.128877 29.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch shorter hue, red, black)`, `oklch(0.313983 0.128852 29.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch shorter hue, red, transparent)`, `oklch(0.627966 0.257704 29.2346 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in oklch shorter hue, red, white)`, `oklch(0.81398 0.128842 29.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch shorter hue, red, black)`, `oklch(0.313978 0.128842 29.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch shorter hue, red, transparent)`, `oklch(0.627955 0.257683 29.2339 / 0.5)`);fuzzy_test_computed_color(`color-mix(in oklch longer hue, oklch(1 0 40deg), oklch(1 0 60deg))`, `oklch(1 0 230)`);fuzzy_test_computed_color(`color-mix(in oklch longer hue, oklch(1 0 60deg), oklch(1 0 40deg))`, `oklch(1 0 230)`);@@ -354,9 +367,9 @@fuzzy_test_computed_color(`color-mix(in oklch longer hue, oklch(1 0 330deg), oklch(1 0 50deg))`, `oklch(1 0 190)`);fuzzy_test_computed_color(`color-mix(in oklch longer hue, oklch(1 0 20deg), oklch(1 0 320deg))`, `oklch(1 0 170)`);fuzzy_test_computed_color(`color-mix(in oklch longer hue, oklch(1 0 320deg), oklch(1 0 20deg))`, `oklch(1 0 170)`);- fuzzy_test_computed_color(`color-mix(in oklch longer hue, red, white)`, `oklch(0.81398 0.128877 209.235)`);- fuzzy_test_computed_color(`color-mix(in oklch longer hue, red, black)`, `oklch(0.313983 0.128852 209.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch longer hue, red, transparent)`, `oklch(0.627966 0.257704 209.2346 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in oklch longer hue, red, white)`, `oklch(0.81398 0.128842 209.234)`);+ fuzzy_test_computed_color(`color-mix(in oklch longer hue, red, black)`, `oklch(0.313978 0.128842 209.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch longer hue, red, transparent)`, `oklch(0.627955 0.257683 209.2339 / 0.5)`);fuzzy_test_computed_color(`color-mix(in oklch increasing hue, oklch(1 0 40deg), oklch(1 0 60deg))`, `oklch(1 0 50)`);fuzzy_test_computed_color(`color-mix(in oklch increasing hue, oklch(1 0 60deg), oklch(1 0 40deg))`, `oklch(1 0 230)`);@@ -364,9 +377,9 @@fuzzy_test_computed_color(`color-mix(in oklch increasing hue, oklch(1 0 330deg), oklch(1 0 50deg))`, `oklch(1 0 10)`);fuzzy_test_computed_color(`color-mix(in oklch increasing hue, oklch(1 0 20deg), oklch(1 0 320deg))`, `oklch(1 0 170)`);fuzzy_test_computed_color(`color-mix(in oklch increasing hue, oklch(1 0 320deg), oklch(1 0 20deg))`, `oklch(1 0 350)`);- fuzzy_test_computed_color(`color-mix(in oklch increasing hue, red, white)`, `oklch(0.81398 0.128877 29.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch increasing hue, red, black)`, `oklch(0.313983 0.128852 29.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch increasing hue, red, transparent)`, `oklch(0.627966 0.257704 29.2346 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in oklch increasing hue, red, white)`, `oklch(0.81398 0.128842 29.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch increasing hue, red, black)`, `oklch(0.313978 0.128842 29.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch increasing hue, red, transparent)`, `oklch(0.627955 0.257683 29.2339 / 0.5)`);fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, oklch(1 0 40deg), oklch(1 0 60deg))`, `oklch(1 0 230)`);fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, oklch(1 0 60deg), oklch(1 0 40deg))`, `oklch(1 0 50)`);@@ -374,9 +387,9 @@fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, oklch(1 0 330deg), oklch(1 0 50deg))`, `oklch(1 0 190)`);fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, oklch(1 0 20deg), oklch(1 0 320deg))`, `oklch(1 0 350)`);fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, oklch(1 0 320deg), oklch(1 0 20deg))`, `oklch(1 0 170)`);- fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, red, white)`, `oklch(0.81398 0.128877 29.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, red, black)`, `oklch(0.313983 0.128852 29.2346)`);- fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, red, transparent)`, `oklch(0.627966 0.257704 29.2346 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, red, white)`, `oklch(0.81398 0.128842 29.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, red, black)`, `oklch(0.313978 0.128842 29.2339)`);+ fuzzy_test_computed_color(`color-mix(in oklch decreasing hue, red, transparent)`, `oklch(0.627955 0.257683 29.2339 / 0.5)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(none none none), oklch(none none none))`, `oklch(none none none)`);fuzzy_test_computed_color(`color-mix(in oklch, oklch(none none none), oklch(0.5 0.6 70deg))`, `oklch(0.5 0.6 70)`);@@ -397,6 +410,12 @@// Achromatic colors should have powerless hues. https://www.w3.org/TR/css-color-4/#lab-to-lchfuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 0 0), black)`, `oklch(0.25 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(10% 20 30deg) 0%, oklch(50% 60 70deg) 0%)`, `oklch(0.3 40 50 / 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(10% 20 30deg / .4) 0%, oklch(50% 60 70deg / .8) 0%)`, `oklch(0.366667 46.666667 50 / 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none 20 30deg) 0%, oklch(none 60 70deg) 0%)`, `oklch(none 40 50 / 0)`);+ // Percentages adding up to zero result in a transparent midpoint. https://drafts.csswg.org/css-color-5/#ex-mix-zero-sum+ fuzzy_test_computed_color(`color-mix(in oklch, teal 0%, olive 0%)`, `oklch(0.561894 0.109643 152.2691 / 0)`);+// lab()fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30), lab(50 60 70))`, `lab(30 40 50)`);fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))`, `lab(40 50 60)`);@@ -408,14 +427,14 @@fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30) 12.5%, lab(50 60 70) 37.5%)`, `lab(40 50 60 / 0.5)`); // Scale up < 100% sum, causes alpha multiplication.fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70))`, `lab(50 60 70)`);- fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8))`, `lab(36.666664 46.666664 56.666664 / 0.6)`);- fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8))`, `lab(44.285713 54.285717 64.28571 / 0.7)`);- fuzzy_test_computed_color(`color-mix(in lab, 25% lab(10 20 30 / .4), lab(50 60 70 / .8))`, `lab(44.285713 54.285717 64.28571 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8))`, `lab(36.666667 46.666667 56.666667 / 0.6)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8))`, `lab(44.285714 54.285714 64.28571 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in lab, 25% lab(10 20 30 / .4), lab(50 60 70 / .8))`, `lab(44.285714 54.285714 64.28571 / 0.7)`);fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4), 25% lab(50 60 70 / .8))`, `lab(26 36 46 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8) 25%)`, `lab(26 36 46 / 0.5)`);- fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8) 75%)`, `lab(44.285713 54.285717 64.28571 / 0.7)`);- fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 30%, lab(50 60 70 / .8) 90%)`, `lab(44.285713 54.285717 64.28571 / 0.7)`); // Scale down > 100% sum.- fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 12.5%, lab(50 60 70 / .8) 37.5%)`, `lab(44.285713 54.285717 64.28571 / 0.35)`); // Scale up < 100% sum, causes alpha multiplication.+ fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8) 75%)`, `lab(44.285714 54.285714 64.28571 / 0.7)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 30%, lab(50 60 70 / .8) 90%)`, `lab(44.285714 54.285714 64.28571 / 0.7)`); // Scale down > 100% sum.+ fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 12.5%, lab(50 60 70 / .8) 37.5%)`, `lab(44.285714 54.285714 64.28571 / 0.35)`); // Scale up < 100% sum, causes alpha multiplication.fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / .4) 0%, lab(50 60 70 / .8))`, `lab(50 60 70 / 0.8)`);fuzzy_test_computed_color(`color-mix(in lab, transparent, lab(30 40 50))`, 'lab(30 40 50 / 0.5)');@@ -423,8 +442,8 @@fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / 0), lab(30 40 50))`, 'lab(30 40 50 / 0.5)');fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / 0) 10%, lab(30 40 50))`, 'lab(30 40 50 / 0.9)');- fuzzy_test_computed_color(`color-mix(in lab, white, blue)`, `lab(64.78 34.15 -56.02)`, 0.1);- fuzzy_test_computed_color(`color-mix(in lab, white 10%, blue)`, `lab(36.61 61.45 -100.82)`, 0.1);+ fuzzy_test_computed_color(`color-mix(in lab, white, blue)`, `lab(64.78 34.14 -56.01)`, 0.1);+ fuzzy_test_computed_color(`color-mix(in lab, white 10%, blue)`, `lab(36.61 61.46 -100.83)`, 0.1);fuzzy_test_computed_color(`color-mix(in lab, lab(none none none), lab(none none none))`, `lab(none none none)`);fuzzy_test_computed_color(`color-mix(in lab, lab(none none none), lab(50 60 70))`, `lab(50 60 70)`);@@ -443,6 +462,10 @@fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / 25%) 0%, lab(none none none / 0.5))`, `lab(10 20 30 / 0.5)`);fuzzy_test_computed_color(`color-mix(in lab, lab(10 20 30 / 25%) 0%, lab(50 none none / 0.5))`, `lab(50 20 30 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(10% 20 30) 0%, lab(50% 60 70) 0%)`, `lab(30 40 50 / 0)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(10% 20 30 / .4) 0%, lab(50% 60 70 / .8) 0%)`, `lab(36.666667 46.666667 56.666667 / 0)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none 20 30) 0%, lab(none 60 70) 0%)`, `lab(none 40 50 / 0)`);+// oklab()// Absence of colorspace means OKLab.for (const colorSpace of ["", "in oklab, "]) {@@ -490,6 +513,10 @@fuzzy_test_computed_color(`color-mix(${colorSpace}oklab(0.1 0.2 0.3 / 25%) 0%, oklab(0.5 0.5 none / none))`, `oklab(0.5 0.5 0.3 / 0.25)`);fuzzy_test_computed_color(`color-mix(${colorSpace}oklab(0.1 0.2 0.3 / 25%) 0%, oklab(none none none / 0.5))`, `oklab(0.1 0.2 0.3 / 0.5)`);fuzzy_test_computed_color(`color-mix(${colorSpace}oklab(0.1 0.2 0.3 / 25%) 0%, oklab(0.5 none none / 0.5))`, `oklab(0.5 0.2 0.3 / 0.5)`);++ fuzzy_test_computed_color(`color-mix(${colorSpace}oklab(10% 20 30) 0%, oklab(50% 60 70) 0%)`, `oklab(0.3 40 50 / 0)`);+ fuzzy_test_computed_color(`color-mix(${colorSpace}oklab(10% 20 30 / .4) 0%, oklab(50% 60 70 / .8) 0%)`, `oklab(0.366667 46.666664 56.666664 / 0)`);+ fuzzy_test_computed_color(`color-mix(${colorSpace}oklab(none 20 30) 0%, oklab(none 60 70) 0%)`, `oklab(none 40 50 / 0)`);}for (const colorSpace of [ "srgb", "srgb-linear", "display-p3", "display-p3-linear", "a98-rgb", "prophoto-rgb", "rec2020", "xyz", "xyz-d50", "xyz-d65" ]) {@@ -543,6 +570,10 @@fuzzy_test_computed_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / 25%) 0%, color(${colorSpace} 0.5 0.5 none / none))`, `color(${resultColorSpace} 0.5 0.5 0.3 / 0.25)`);fuzzy_test_computed_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / 25%) 0%, color(${colorSpace} none none none / 50%))`, `color(${resultColorSpace} 0.1 0.2 0.3 / 0.5)`);fuzzy_test_computed_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / 25%) 0%, color(${colorSpace} 0.5 none none / 50%))`, `color(${resultColorSpace} 0.5 0.2 0.3 / 0.5)`);++ fuzzy_test_computed_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 0%, color(${colorSpace} .5 .6 .7) 0%)`, `color(${resultColorSpace} 0.3 0.4 0.5 / 0)`);+ fuzzy_test_computed_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 0%, color(${colorSpace} .5 .6 .7 / .8) 0%)`, `color(${resultColorSpace} 0.366667 0.466667 0.566667 / 0)`);+ fuzzy_test_computed_color(`color-mix(in ${colorSpace}, color(${colorSpace} none .2 .3) 0%, color(${colorSpace} none .6 .7) 0%)`, `color(${resultColorSpace} none 0.4 0.5 / 0)`);}// Test percent normalization@@ -550,8 +581,10 @@fuzzy_test_computed_color(`color-mix(in srgb, red 10%, blue 90%)`, `color(srgb 0.1 0 0.9)`); // `color-mix(in srgb, red 10%, blue)` sum to 100%fuzzy_test_computed_color(`color-mix(in srgb, red 50%, blue 40%)`, `color(srgb 0.555556 0 0.444444 / 0.9)`); // `color-mix(in srgb, red 50%, blue 40%)` only one is 50% (p1)fuzzy_test_computed_color(`color-mix(in srgb, red 40%, blue 50%)`, `color(srgb 0.444444 0 0.555556 / 0.9)`); // `color-mix(in srgb, red 40%, blue 50%)` only one is 50% (p2)- fuzzy_test_computed_color(`color-mix(in srgb, red 30%, blue 40%)`, `color(srgb 0.428571 0 0.571429 / 0.7)`); // `color-mix(in srgb, red 30%, blue 40%)` sum to less than 100- fuzzy_test_computed_color(`color-mix(in srgb, red 75%, blue 75%)`, `color(srgb 0.5 0 0.5)`); // `color-mix(in srgb, red 75%, blue 75%)` sum to more than 100+ fuzzy_test_computed_color(`color-mix(in srgb, red 30%, blue 40%)`, `color(srgb 0.428571 0 0.571429 / 0.7)`); // `color-mix(in srgb, red 30%, blue 40%)` sum to less than 100%+ fuzzy_test_computed_color(`color-mix(in srgb, red 75%, blue 75%)`, `color(srgb 0.5 0 0.5)`); // `color-mix(in srgb, red 75%, blue 75%)` sum to more than 100%+ fuzzy_test_computed_color(`color-mix(in srgb, red 0%, blue 0%)`, `color(srgb 0.5 0 0.5 / 0)`); // `color-mix(in srgb, red 0%, blue 0%)` sum to 0%+ fuzzy_test_computed_color(`color-mix(in srgb, red calc(0%), blue calc(0%))`, `color(srgb 0.5 0 0.5 / 0)`); // `color-mix(in srgb, red 0%, blue 0%)` both are `calc()`, sum to 0%fuzzy_test_computed_color(`color-mix(in srgb, red calc(10%), blue 50%)`, `color(srgb 0.166667 0 0.833333 / 0.6)`); // `color-mix(in srgb, red 10%, blue 50%)` one is `calc()` (p1)fuzzy_test_computed_color(`color-mix(in srgb, red 50%, blue calc(10%))`, `color(srgb 0.833333 0 0.166667 / 0.6)`); // `color-mix(in srgb, red 50%, blue 10%))` one is `calc()` (p2)fuzzy_test_computed_color(`color-mix(in srgb, red calc(10%), blue calc(90%))`, `color(srgb 0.1 0 0.9)`); // `color-mix(in srgb, red, blue)` both are `calc()`, sum to 100%@@ -570,15 +603,46 @@fuzzy_test_computed_color(`color-mix(in srgb, red calc(50% + (sign(100em - 1px) * 10%)), blue)`, `color(srgb 0.6 0 0.4)`);// Carry forward hue that became powerless due to conversion of colorspace- fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 100% 100%), blue)`, `oklch(0.726007 0.156607 264.052)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 100% 100%), blue)`, `color(srgb 1 0.5 1)`); // hsl -> hsl => does not convert => doesn't make the powerless hue missing: result is pinkish (different if hue was 'none')+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 50.0 50.0), blue)`, `color(srgb 0.25 0.25 0.75)`); // conversion makes the powerless hue missing: result is bluish+ fuzzy_test_computed_color(`color-mix(in hsl, lch(100% 0 0), blue)`, `color(srgb 0.625 0.625 0.875)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(100% 0 0), blue)`, `color(srgb 0.625 0.625 0.875)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 100% 100%), blue)`, `color(srgb 0.5 0.5 1)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 50.0 50.0), blue)`, `color(srgb 0.75 0.25 0.75)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(100% 0 0), blue)`, `color(srgb 0.5 0.5 1)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(100% 0 0), blue)`, `color(srgb 0.5 0.5 1)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 100% 100%), blue)`, `lch(64.784 65.6 301.364)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 50.0 50.0), blue)`, `lch(41.4786 65.6 301.364)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in lch, lch(100% 0 0), blue)`, `lch(64.784 65.6 330.682)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(100% 0 0), blue)`, `lch(64.784 65.6 301.364)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 100% 100%), blue)`, `oklch(0.726 0.1566 264.052)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 50.0 50.0), blue)`, `oklch(0.525 0.1566 264.052)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(100% 0 0), blue)`, `oklch(0.726 0.1566 264.052)`, 0.001);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(100% 0 0), blue)`, `oklch(0.726 0.15661 312.026)`, 0.001);++ // Carry forward analogous sets with all missing components.+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.1 none none), oklch(0.3 0.2 90deg))`, `oklch(0.2 0.2 90)`);+ fuzzy_test_computed_color(`color-mix(in oklab, oklch(0.1 none none), oklab(0.3 0.2 0.4))`, `oklab(0.2 0.2 0.4)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none none none), hsl(none 0.2 0.4))`, `hsl(none 0.2% 0.4%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none none none), hwb(none 0.2 0.4))`, `hwb(none 0.2% 0.4%)`);++ // Test that forwarding does not take place when only part of an analogous set is missing.+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.1 none 0.3), oklch(0.3 0.2 0deg))`, `oklch(0.2 0.25 45)`);+ fuzzy_test_computed_color(`color-mix(in oklab, oklch(0.1 0.3 none), oklab(0.3 0.2 0.4))`, `oklab(0.2 0.25 0.2)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none 40% none), hsl(none 0.2 0.4))`, `hsl(none 50.1% 35.2%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none none 20%), hwb(none 0.2 0.4))`, `hwb(none 10.1% 40.2%)`);// color-mix() with 1 or more colors.- fuzzy_test_computed_color(`color-mix(in srgb, red)`, `rgb(255, 0, 0)`);- fuzzy_test_computed_color(`color-mix(in srgb, red 50%)`, `rgba(255, 0, 0, 0.5)`);- fuzzy_test_computed_color(`color-mix(in srgb, red, green, blue)`, `color(srgb 0.333333 0.167320 0.333333)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red)`, `color(srgb 1 0 0)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red 50%)`, `color(srgb 1 0 0 / 0.5)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red, green, blue)`, `color(srgb 0.333333 0.16732 0.333333)`);fuzzy_test_computed_color(`color-mix(in srgb, red 50%, green 30%, blue 20%)`, `color(srgb 0.5 0.150588 0.2)`);- fuzzy_test_computed_color(`color-mix(in srgb, red 30%, green 60%, blue 90%)`, `color(srgb 0.166667 0.167320 0.5)`);- fuzzy_test_computed_color(`color-mix(in srgb, red, green, blue, white)`, `color(srgb 0.5 0.375490 0.5)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red 30%, green 60%, blue 90%)`, `color(srgb 0.166667 0.16732 0.5)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red, green, blue, white)`, `color(srgb 0.5 0.37549 0.5)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red 0%)`, `color(srgb 1 0 0 / 0)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red 0%, green 0%, blue 0%)`, `color(srgb 0.25 0.12549 0.5 / 0)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red 0%, green 0%, blue 100%)`, `color(srgb 0 0 1)`);+ fuzzy_test_computed_color(`color-mix(in srgb, red 0%, green 0%, blue 50%)`, `color(srgb 0 0 1 / 0.5)`);</script></body></html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hsl.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hsl.htmlindex a2693212623..55b6010c8b4 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hsl.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hsl.html@@ -10,6 +10,7 @@<script src="../../../resources/testharness.js"></script><script src="../../../resources/testharnessreport.js"></script><script src="../../../css/support/computed-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script></head><body><div id="container">@@ -26,24 +27,24 @@ tests = [["hsl(120 30% 50%)", "rgb(89, 166, 89)"],["hsl(120 30% 50% / 0.5)", "rgba(89, 166, 89, 0.5)"],["hsl(120 30% 50% / 50%)", "rgba(89, 166, 89, 0.5)"],- ["hsl(none none none)", "rgb(0, 0, 0)"],+ ["hsl(none none none)", "hsl(none none none)"],["hsl(0 0% 0%)", "rgb(0, 0, 0)"],- ["hsl(none none none / none)", "rgba(0, 0, 0, 0)"],+ ["hsl(none none none / none)", "hsl(none none none / none)"],["hsl(0 0% 0% / 0)", "rgba(0, 0, 0, 0)"],- ["hsla(none none none)", "rgb(0, 0, 0)"],+ ["hsla(none none none)", "hsl(none none none)"],["hsla(0 0% 0%)", "rgb(0, 0, 0)"],- ["hsla(none none none / none)", "rgba(0, 0, 0, 0)"],+ ["hsla(none none none / none)", "hsl(none none none / none)"],["hsla(0 0% 0% / 0)", "rgba(0, 0, 0, 0)"],- ["hsl(120 none none)", "rgb(0, 0, 0)"],+ ["hsl(120 none none)", "hsl(120 none none)"],["hsl(120 0% 0%)", "rgb(0, 0, 0)"],- ["hsl(120 80% none)", "rgb(0, 0, 0)"],+ ["hsl(120 80% none)", "hsl(120 80% none)"],["hsl(120 80% 0%)", "rgb(0, 0, 0)"],- ["hsl(120 none 50%)", "rgb(128, 128, 128)"],+ ["hsl(120 none 50%)", "hsl(120 none 50%)"],["hsl(120 0% 50%)", "rgb(128, 128, 128)"],- ["hsl(120 100% 50% / none)", "rgba(0, 255, 0, 0)"],+ ["hsl(120 100% 50% / none)", "hsl(120 100% 50% / none)"],["hsl(120 100% 50% / 0)", "rgba(0, 255, 0, 0)"],["hsl(120 100% 50% / 0%)", "rgba(0, 255, 0, 0)"],- ["hsl(none 100% 50%)", "rgb(255, 0, 0)"],+ ["hsl(none 100% 50%)", "hsl(none 100% 50%)"],["hsl(0 100% 50%)", "rgb(255, 0, 0)"],["HSL(0, 0%, 0%)", "rgb(0, 0, 0)", "Capitalization should not affect parsing"],@@ -3782,14 +3783,14 @@ tests = [];for (const test of tests) {- test_computed_value("color", test[0], test[1], test[2] ? `[${test[2]}]` : undefined);+ fuzzy_test_computed_color(test[0], test[1], undefined /* epsilon */, test[2] ? `[${test[2]}]` : undefined);}// Ensure that `calc` values work with dynamically changing relative units (slighly different alpha values to make test harness not complain about duplicate tests).document.getElementById("container").style.width = "1000px";-test_computed_value("color", "hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 51%)", "rgba(191, 191, 0, 0.51)");+fuzzy_test_computed_color("hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 51%)", "rgba(191, 191, 0, 0.51)");document.getElementById("container").style.width = "100px";-test_computed_value("color", "hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 52%)", "rgba(191, 127, 0, 0.52)");+fuzzy_test_computed_color("hsla(calc(50deg + (sign(2cqw - 10px) * 10deg)), 100%, 37.5%, 52%)", "rgba(191, 128, 0, 0.52)");</script></body>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hwb.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hwb.htmlindex c96fc6a1e01..1c9f2287f62 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hwb.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-hwb.html@@ -24,24 +24,41 @@<script>tests = [["hwb(120 30% 50%)", "rgb(77, 128, 77)"],+ ["hwb(120 60% 60%)", "rgb(128, 128, 128)"],+ ["hwb(0 60% 60%)", "rgb(128, 128, 128)"],+ ["hwb(0 100% 0%)", "rgb(255, 255, 255)"],+ ["hwb(0 0% 100%)", "rgb(0, 0, 0)"],["hwb(120 30% 50% / 0.5)", "rgba(77, 128, 77, 0.5)"],["hwb(120 30% 50% / 50%)", "rgba(77, 128, 77, 0.5)"],- ["hwb(none none none)", "rgb(255, 0, 0)"],+ ["hwb(none none none)", "hwb(none none none)"],["hwb(0 0% 0%)", "rgb(255, 0, 0)"],- ["hwb(none none none / none)", "rgba(255, 0, 0, 0)"],+ ["hwb(none none none / none)", "hwb(none none none / none)"],["hwb(0 0% 0% / 0)", "rgba(255, 0, 0, 0)"],- ["hwb(120 none none)", "rgb(0, 255, 0)"],+ ["hwb(120 none none)", "hwb(120 none none)"],["hwb(120 0% 0%)", "rgb(0, 255, 0)"],- ["hwb(120 80% none)", "rgb(204, 255, 204)"],+ ["hwb(120 80% none)", "hwb(120 80% none)"],["hwb(120 80% 0%)", "rgb(204, 255, 204)"],- ["hwb(120 none 50%)", "rgb(0, 128, 0)"],+ ["hwb(120 none 50%)", "hwb(120 none 50%)"],["hwb(120 0% 50%)", "rgb(0, 128, 0)"],- ["hwb(120 30% 50% / none)", "rgba(77, 128, 77, 0)"],+ ["hwb(150 20% 10%)", "rgb(51, 230, 140)"], // https://drafts.csswg.org/css-color-4/#ex-hwb-simple+ ["hwb(45 40% 80%)", "rgb(85, 85, 85)"], // https://drafts.csswg.org/css-color-4/#ex-hwb-achromatic+ ["hwb(120 30% 50% / none)", "hwb(120 30% 50% / none)"],["hwb(120 30% 50% / 0)", "rgba(77, 128, 77, 0)"],["hwb(120 30% 50% / 0%)", "rgba(77, 128, 77, 0)"],- ["hwb(none 100% 50% / none)", "rgba(170, 170, 170, 0)"],+ ["hwb(none 100% 50% / none)", "hwb(none 100% 50% / none)"],["hwb(0 100% 50% / 0)", "rgba(170, 170, 170, 0)"],+ // Test `w` or `b` components >= 100%.+ // Spec: If the sum white+black is greater than or equal to 100%, it defines an achromatic color, i.e. a shade of gray; when converted to sRGB the R, G and B values are identical and have the value white / (white + black).+ ["hwb(0 100% 100%)", "rgb(128, 128, 128)"], // 100 / (100 + 100) * 255 = 127.5, round up to 128+ ["hwb(0 70% 60%)", "rgb(137, 137, 137)"], // 70 / (70 + 60) * 255 ≈ 137.30769231, rounding to the nearest integer is 137+ ["hwb(0 260% 260%)", "rgb(128, 128, 128)"],+ ["hwb(0 200% 100%)", "rgb(170, 170, 170)"], // 200 / (200 + 100) * 255 = 170+ ["hwb(0 100% 200%)", "rgb(85, 85, 85)"],+ ["hwb(0 150% 50%)", "rgb(191, 191, 191)"],+ ["hwb(0 50% 150%)", "rgb(64, 64, 64)"],+ ["hwb(0 180% 120%)", "rgb(153, 153, 153)"],+["hwb(0 50% 50%)", "rgb(128, 128, 128)", "HWB value should parse and round correctly"],["hwb(30 50% 50%)", "rgb(128, 128, 128)", "HWB value should parse and round correctly"],["hwb(60 50% 50%)", "rgb(128, 128, 128)", "HWB value should parse and round correctly"],diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-lab.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-lab.htmlindex e16a372bf0f..91f746e6b31 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-lab.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-lab.html@@ -19,7 +19,7 @@<style>#container {container-type: inline-size;- color: rgb(255, 0, 0]);+ color: rgb(255, 0, 0);}</style><script>@@ -110,8 +110,17 @@ tests = [["lch(none none none / 0.5)", "lch(none none none / 0.5)"],["lch(0 0 0 / none)", "lch(0 0 0 / none)"],+ ["lch(calc(infinity) 0 0)", "lch(100 0 0)"],+ ["lch(calc(-infinity) 0 0)", "lch(0 0 0)"],+ ["lch(50 calc(infinity) 0)", "lch(50 calc(infinity) 0)"],+ ["lch(50 calc(-infinity) 0)", "lch(50 0 0)"],+ ["lch(50 10 calc(infinity))", "lch(50 10 0)"],+ ["lch(50 10 calc(-infinity))", "lch(50 10 0)"],+["lch(calc(NaN) 0 0)", "lch(0 0 0)"],["lch(calc(0 / 0) 0 0)", "lch(0 0 0)"],+ ["lch(50 10 calc(0 / 0))", "lch(50 10 0)"],+ ["lch(50 10 calc(NaN))", "lch(50 10 0)"],// oklch()["oklch(0 0 0deg)", "oklch(0 0 0)"],@@ -145,8 +154,17 @@ tests = [["lch(20% 80% 10/0.5)", "lch(20 120 10 / 0.5)"],["oklch(20% 60% 10/0.5)", "oklch(0.2 0.24 10 / 0.5)"],+ ["oklch(calc(infinity) 0 0)", "oklch(1 0 0)"],+ ["oklch(calc(-infinity) 0 0)", "oklch(0 0 0)"],+ ["oklch(0.5 calc(infinity) 0)", "oklch(0.5 calc(infinity) 0)"],+ ["oklch(0.5 calc(-infinity) 0)", "oklch(0.5 0 0)"],+ ["oklch(0.5 0.1 calc(infinity))", "oklch(0.5 0.1 0)"],+ ["oklch(0.5 0.1 calc(-infinity))", "oklch(0.5 0.1 0)"],+["oklch(calc(NaN) 0 0)", "oklch(0 0 0)"],["oklch(calc(0 / 0) 0 0)", "oklch(0 0 0)"],+ ["oklch(0.5 0.1 calc(0 / 0))", "oklch(0.5 0.1 0)"],+ ["oklch(0.5 0.1 calc(NaN))", "oklch(0.5 0.1 0)"],// calc(50% + (sign(1em - 10px) * 10%)), with its font relative units, must be evaluatated for computed value.["lab(calc(50 + (sign(1em - 10px) * 10)) 30 50 / 50%)", "lab(60 30 50 / 0.5)"],@@ -164,7 +182,7 @@ for (const test of tests) {test_computed_value("color", test[0], test[1], test[2] ? `[${test[2]}]` : undefined);}-// Ensure that `calc` values work with dynamically changing relative units (slighly different alpha values to make test harness not complain about duplicate tests).+// Ensure that `calc` values work with dynamically changing relative units (slightly different alpha values to make test harness not complain about duplicate tests).document.getElementById("container").style.width = "1000px";test_computed_value("color", "lab(calc(50 + (sign(2cqw - 10px) * 10)) 30 50 / 0.51)", "lab(60 30 50 / 0.51)");test_computed_value("color", "oklab(calc(0.5 + (sign(2cqw - 10px) * 0.1)) 0.3 0.5 / 0.51)", "oklab(0.6 0.3 0.5 / 0.51)");diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-none.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-none.htmlnew file mode 100644index 00000000000..66df0a738d8--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-none.html@@ -0,0 +1,835 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Color 4 and 5: Computation of colors containing none</title>+<link rel="help" href="https://drafts.csswg.org/css-color-4/#missing">+<link rel="help" href="https://drafts.csswg.org/css-color-4/#interpolation-missing">+<link rel="help" href="https://drafts.csswg.org/css-color-5/#rcs-intro">+<link rel="author" title="Romain Menke" href="mailto:[email protected]">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/computed-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script>+</head>+<body>+<div id="container">+ <div id="target"></div>+</div>+<style>+ :root {+ --high: 500;+ --negative: -100;+ }+ #container {+ container-type: inline-size;+ color: rgb(255, 0, 0);+ }+</style>+<script>+ // HSL - RCS+ fuzzy_test_computed_color(`hsl(from hsl(none 50% 50%) h s l)`, `hsl(none 50% 50%)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 none 50%) h s l)`, `hsl(180 none 50%)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 50% none) h s l)`, `hsl(180 50% none)`);+ fuzzy_test_computed_color(`hsl(from hsl(none none 50%) h s l)`, `hsl(none none 50%)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 none none) h s l)`, `hsl(180 none none)`);+ fuzzy_test_computed_color(`hsl(from hsl(none 50% none) h s l)`, `hsl(none 50% none)`);+ fuzzy_test_computed_color(`hsl(from hsl(none none none) h s l)`, `hsl(none none none)`);++ fuzzy_test_computed_color(`hsl(from hwb(none 25% 25%) h s l)`, `hsl(none 50% 50%)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 none 25%) h s l)`, `color(srgb 0 0.75 0.75)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 25% none) h s l)`, `color(srgb 0.25 1 1)`);+ fuzzy_test_computed_color(`hsl(from hwb(none none 25%) h s l)`, `hsl(none 100% 37.5%)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 none none) h s l)`, `hsl(180 none none)`);+ fuzzy_test_computed_color(`hsl(from hwb(none 25% none) h s l)`, `hsl(none 100% 62.5%)`);+ fuzzy_test_computed_color(`hsl(from hwb(none none none) h s l)`, `hsl(none none none)`);++ fuzzy_test_computed_color(`hsl(from lch(none 20 180) h s l)`, `hsl(339.80326134 266.58541811% none)`);+ fuzzy_test_computed_color(`hsl(from lch(20 none 180) h s l)`, `hsl(none none 18.93757452%)`);+ fuzzy_test_computed_color(`hsl(from lch(20 20 none) h s l)`, `hsl(none 35.05613281% 21.64776943%)`);+ fuzzy_test_computed_color(`hsl(from lch(none none 180) h s l)`, `hsl(none none none)`);+ fuzzy_test_computed_color(`hsl(from lch(20 none none) h s l)`, `hsl(none none 18.93757452%)`);+ fuzzy_test_computed_color(`hsl(from lch(none 20 none) h s l)`, `hsl(none 266.58541811% none)`);+ fuzzy_test_computed_color(`hsl(from lch(none none none) h s l)`, `hsl(none none none)`);++ fuzzy_test_computed_color(`hsl(from oklch(none 0.2 180) h s l)`, `hsl(345.65323987 193.08743918% none)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 none 180) h s l)`, `hsl(none none 8.61042044%)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0.2 none) h s l)`, `hsl(none 250.47260791% 8.44443686%)`);+ fuzzy_test_computed_color(`hsl(from oklch(none none 180) h s l)`, `hsl(none none none)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 none none) h s l)`, `hsl(none none 8.61042044%)`);+ fuzzy_test_computed_color(`hsl(from oklch(none 0.2 none) h s l)`, `hsl(none 193.08743918% none)`);+ fuzzy_test_computed_color(`hsl(from oklch(none none none) h s l)`, `hsl(none none none)`);++ fuzzy_test_computed_color(`hsl(from lab(none 10 10) h s l)`, `hsl(15.41935071 846.24593338% none)`);+ fuzzy_test_computed_color(`hsl(from lab(50 none 10) h s l)`, `color(srgb 0.48695869 0.46487838 0.39973421)`);+ fuzzy_test_computed_color(`hsl(from lab(50 10 none) h s l)`, `color(srgb 0.53211144 0.44322485 0.46796893)`);+ fuzzy_test_computed_color(`hsl(from lab(none none 10) h s l)`, `hsl(221.36868606 238.90028442% none)`);+ fuzzy_test_computed_color(`hsl(from lab(50 none none) h s l)`, `hsl(none none 46.63266093%)`);+ fuzzy_test_computed_color(`hsl(from lab(none 10 none) h s l)`, `hsl(342.55812287 218.14148709% none)`);+ fuzzy_test_computed_color(`hsl(from lab(none none none) h s l)`, `hsl(none none none)`);++ fuzzy_test_computed_color(`hsl(from oklab(none 0.1 0.1) h s l)`, `hsl(243.07265774 131.85826046% none)`);+ fuzzy_test_computed_color(`hsl(from oklab(0.5 none 0.1) h s l)`, `color(srgb 0.4759136 0.37572819 0.02451529)`);+ fuzzy_test_computed_color(`hsl(from oklab(0.5 0.1 none) h s l)`, `color(srgb 0.56587447 0.28546849 0.37966669)`);+ fuzzy_test_computed_color(`hsl(from oklab(none none 0.1) h s l)`, `hsl(256.18317397 149.40414617% none)`);+ fuzzy_test_computed_color(`hsl(from oklab(0.5 none none) h s l)`, `hsl(none none 38.8572859%)`);+ fuzzy_test_computed_color(`hsl(from oklab(none 0.1 none) h s l)`, `hsl(345.65323987 193.08743918% none)`);+ fuzzy_test_computed_color(`hsl(from oklab(none none none) h s l)`, `hsl(none none none)`);++ fuzzy_test_computed_color(`hsl(from rgb(none none none) h s l)`, `hsl(none none none)`);+ fuzzy_test_computed_color(`hsl(from color(display-p3 none none none) h s l)`, `hsl(none none none)`);++ // HSL - color-mix+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none 50% 50%), hsl(11 33 44))`, `color(srgb 0.66505 0.34646833 0.27495)`); // hsl(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 none 50%), hsl(11 33 44))`, `color(srgb 0.441565 0.6251 0.3149)`); // hsl(95.5 33% 47%)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 50% none), hsl(11 33 44))`, `color(srgb 0.40652333 0.6226 0.2574)`); // hsl(95.5 41.5% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none 50%), hsl(11 33 44))`, `color(srgb 0.6251 0.37177 0.3149)`); // hsl(11 33% 47%)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 none none), hsl(11 33 44))`, `color(srgb 0.41338 0.5852 0.2948)`); // hsl(95.5 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none 50% none), hsl(11 33 44))`, `color(srgb 0.6226 0.32435333 0.2574)`); // hsl(11 41.5% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none 25% 25%), hsl(11 33 44))`, `color(srgb 0.66505 0.34646833 0.27495)`); // hsl(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 none 25%), hsl(11 33 44))`, `color(srgb 0.35781896 0.6784875 0.1365125)`); // hsl(95.5 66.5% 40.75%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 25% none), hsl(11 33 44))`, `color(srgb 0.47550396 0.8433875 0.2216125)`); // hsl(95.5 66.5% 53.25%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none none 25%), hsl(11 33 44))`, `color(srgb 0.6784875 0.23587458 0.1365125)`); // hsl(11 66.5% 40.75%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 none none), hsl(11 33 44))`, `color(srgb 0.41338 0.5852 0.2948)`); // hsl(95.5 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none 25% none), hsl(11 33 44))`, `color(srgb 0.8433875 0.33560458 0.2216125)`); // hsl(11 66.5% 53.25%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hsl, lch(none 20 180), hsl(11 33 44))`, `color(srgb 1.09908792 -0.21908792 -0.1180636)`); // hsl(355.40163067 149.79270905% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 none 180), hsl(11 33 44))`, `color(srgb 0.41853487 0.24891811 0.21084087)`); // hsl(11 33% 31.46878726%)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 20 none), hsl(11 33 44))`, `color(srgb 0.43993218 0.25749974 0.21654551)`); // hsl(11 34.02806641% 32.82388472%)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(none none 180), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 none none), hsl(11 33 44))`, `color(srgb 0.41853487 0.24891811 0.21084087)`); // hsl(11 33% 31.46878726%)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(none 20 none), hsl(11 33 44))`, `color(srgb 1.09908792 0.02257765 -0.21908792)`); // hsl(11 149.79270905% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none 0.2 180), hsl(11 33 44))`, `color(srgb 0.93739237 -0.05739237 -0.02964815)`); // hsl(358.32661994 113.04371959% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 none 180), hsl(11 33 44))`, `color(srgb 0.3498593 0.20807421 0.17624491)`); // hsl(11 33% 26.30521022%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.2 none), hsl(11 33 44))`, `color(srgb 0.63388622 0.02683496 -0.10944185)`); // hsl(11 141.73630395% 26.22221843%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none none 180), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 none none), hsl(11 33 44))`, `color(srgb 0.3498593 0.20807421 0.17624491)`); // hsl(11 33% 26.30521022%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none 0.2 none), hsl(11 33 44))`, `color(srgb 0.93739237 0.12498483 -0.05739237)`); // hsl(11 113.04371959% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hsl, lab(none 10 10), hsl(11 33 44))`, `color(srgb 2.37434105 -0.64260714 -1.49434105)`); // hsl(13.20967536 439.62296669% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(50 none 10), hsl(11 33 44))`, `color(srgb 0.53627313 0.43506919 0.34707332)`); // hsl(27.90569495 21.41852791% 44.16732245%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(50 10 none), hsl(11 33 44))`, `color(srgb 0.56150229 0.36616585 0.3754487)`); // hsl(357.14865816 21.05671491% 46.38340725%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(none none 10), hsl(11 33 44))`, `color(srgb 0.96209889 -0.15818063 1.03818063)`); // hsl(296.18434303 135.95014221% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(50 none none), hsl(11 33 44))`, `color(srgb 0.6027072 0.35845217 0.30361941)`); // hsl(11 33% 45.31633047%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(none 10 none), hsl(11 33 44))`, `color(srgb 0.99251127 -0.11251127 -0.05319111)`); // hsl(356.77906144 125.57074355% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none 0.1 0.1), hsl(11 33 44))`, `color(srgb 0.80268817 0.07731183 0.71762173)`); // hsl(307.03632887 82.42913023% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0.5 none 0.1), hsl(11 33 44))`, `color(srgb 0.55769722 0.33689886 0.13251723)`); // hsl(28.84166204 61.60114338% 34.51072245%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0.5 0.1 none), hsl(11 33 44))`, `color(srgb 0.57553497 0.29013651 0.31191266)`); // hsl(355.42194841 32.96844963% 43.28357396%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none none 0.1), hsl(11 33 44))`, `color(srgb 0.84128912 0.03871088 0.65948392)`); // hsl(313.59158699 91.20207309% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0.5 none none), hsl(11 33 44))`, `color(srgb 0.55100095 0.32770057 0.27757191)`); // hsl(11 33% 41.42864295%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none 0.1 none), hsl(11 33 44))`, `color(srgb 0.93739237 -0.05739237 -0.02964815)`); // hsl(358.32661994 113.04371959% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hsl, rgb(none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 none none none), hsl(11 33 44))`, `color(srgb 0.5852 0.34804 0.2948)`); // hsl(11 33% 44%)++ // HSL - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none 50% 50%))`, `hsl(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 none 50%))`, `hsl(180 none 50%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 50% none))`, `hsl(180 50% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none 50%))`, `hsl(none none 50%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 none none))`, `hsl(180 none none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none 50% none))`, `hsl(none 50% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(none none none))`, `hsl(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none 25% 25%))`, `hsl(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 none 25%))`, `color(srgb 0 0.75 0.75)`); // hsl(180 100% 37.5%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 25% none))`, `color(srgb 0.25 1 1)`); // hsl(180 100% 62.5%)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none none 25%))`, `hsl(none 100% 37.5%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 none none))`, `hsl(180 none none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none 25% none))`, `hsl(none 100% 62.5%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(none none none))`, `hsl(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hsl, lch(none 20 180))`, `hsl(339.80326134 266.58541811% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 none 180))`, `hsl(none none 18.93757452%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 20 none))`, `hsl(none 35.05613281% 21.64776943%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(none none 180))`, `hsl(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 none none))`, `hsl(none none 18.93757452%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(none 20 none))`, `hsl(none 266.58541811% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(none none none))`, `hsl(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none 0.2 180))`, `hsl(345.65323987 193.08743918% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 none 180))`, `hsl(none none 8.61042044%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.2 none))`, `hsl(none 250.47260791% 8.44443686%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none none 180))`, `hsl(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 none none))`, `hsl(none none 8.61042044%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none 0.2 none))`, `hsl(none 193.08743918% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(none none none))`, `hsl(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hsl, lab(none 10 10))`, `hsl(15.41935071 846.24593338% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lab(50 none 10))`, `color(srgb 0.48695869 0.46487838 0.39973421)`); // hsl(44.8113899 9.83705582% 44.33464489%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(50 10 none))`, `color(srgb 0.53211144 0.44322485 0.46796893)`); // hsl(343.29731631 9.11342981% 48.76681449%)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(none none 10))`, `hsl(221.36868606 238.90028442% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lab(50 none none))`, `hsl(none none 46.63266093%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lab(none 10 none))`, `hsl(342.55812287 218.14148709% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lab(none none none))`, `hsl(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none 0.1 0.1))`, `hsl(243.07265774 131.85826046% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0.5 none 0.1))`, `color(srgb 0.4759136 0.37572819 0.02451529)`); // hsl(46.68332407 90.20228676% 25.0214449%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0.5 0.1 none))`, `color(srgb 0.56587447 0.28546849 0.37966669)`); // hsl(339.84389681 32.93689926% 42.56714792%)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none none 0.1))`, `hsl(256.18317397 149.40414617% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0.5 none none))`, `hsl(none none 38.8572859%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none 0.1 none))`, `hsl(345.65323987 193.08743918% none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(none none none))`, `hsl(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hsl, rgb(none none none))`, `hsl(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 none none none))`, `hsl(none none none)`);++ // HWB - RCS+ fuzzy_test_computed_color(`hwb(from hsl(none 50% 50%) h w b)`, `hwb(none 25% 25%)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 none 50%) h w b)`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 50% none) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from hsl(none none 50%) h w b)`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 none none) h w b)`, `hwb(none none none)`);+ fuzzy_test_computed_color(`hwb(from hsl(none 50% none) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from hsl(none none none) h w b)`, `hwb(none none none)`);++ fuzzy_test_computed_color(`hwb(from hwb(none 25% 25%) h w b)`, `hwb(none 25% 25%)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 none 25%) h w b)`, `hwb(180 none 25%)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 25% none) h w b)`, `hwb(180 25% none)`);+ fuzzy_test_computed_color(`hwb(from hwb(none none 25%) h w b)`, `hwb(none none 25%)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 none none) h w b)`, `hwb(180 none none)`);+ fuzzy_test_computed_color(`hwb(from hwb(none 25% none) h w b)`, `hwb(none 25% none)`);+ fuzzy_test_computed_color(`hwb(from hwb(none none none) h w b)`, `hwb(none none none)`);++ fuzzy_test_computed_color(`hwb(from lch(none 20 180) h w b)`, `color(srgb -0.13099833 0.05952886 -0.00460494)`);+ fuzzy_test_computed_color(`hwb(from lch(20 none 180) h w b)`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`hwb(from lch(20 20 none) h w b)`, `hwb(none 14.05889863% 70.76335977%)`);+ fuzzy_test_computed_color(`hwb(from lch(none none 180) h w b)`, `hwb(none none none)`);+ fuzzy_test_computed_color(`hwb(from lch(20 none none) h w b)`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`hwb(from lch(none 20 none) h w b)`, `hwb(none -5.95288574% 86.90016729%)`);+ fuzzy_test_computed_color(`hwb(from lch(none none none) h w b)`, `hwb(none none none)`);++ fuzzy_test_computed_color(`hwb(from oklch(none 0.2 180) h w b)`, `color(srgb -0.0266189 0.00845442 0.00006795)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.2 none 180) h w b)`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.2 0.2 none) h w b)`, `hwb(none -12.70656437% 70.40456191%)`);+ fuzzy_test_computed_color(`hwb(from oklch(none none 180) h w b)`, `hwb(none none none)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.2 none none) h w b)`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`hwb(from oklch(none 0.2 none) h w b)`, `hwb(none -0.84544246% 97.33810956%)`);+ fuzzy_test_computed_color(`hwb(from oklch(none none none) h w b)`, `hwb(none none none)`);++ fuzzy_test_computed_color(`hwb(from lab(none 10 10) h w b)`, `color(srgb 0.10216252 -0.03360919 -0.08056929)`);+ fuzzy_test_computed_color(`hwb(from lab(50 none 10) h w b)`, `color(srgb 0.48695869 0.46487838 0.39973421)`);+ fuzzy_test_computed_color(`hwb(from lab(50 10 none) h w b)`, `color(srgb 0.53211144 0.44322485 0.46796893)`);+ fuzzy_test_computed_color(`hwb(from lab(none none 10) h w b)`, `color(srgb 0.03358551 -0.00228914 -0.08194467)`);+ fuzzy_test_computed_color(`hwb(from lab(50 none none) h w b)`, `hwb(none 46.63266093% 53.36733907%)`);+ fuzzy_test_computed_color(`hwb(from lab(none 10 none) h w b)`, `color(srgb 0.0843413 -0.03132005 0.00230247)`);+ fuzzy_test_computed_color(`hwb(from lab(none none none) h w b)`, `hwb(none none none)`);++ fuzzy_test_computed_color(`hwb(from oklab(none 0.1 0.1) h w b)`, `color(srgb 0.00443054 0.00769076 -0.05597186)`);+ fuzzy_test_computed_color(`hwb(from oklab(0.5 none 0.1) h w b)`, `color(srgb 0.4759136 0.37572819 0.02451529)`);+ fuzzy_test_computed_color(`hwb(from oklab(0.5 0.1 none) h w b)`, `color(srgb 0.56587447 0.28546849 0.37966669)`);+ fuzzy_test_computed_color(`hwb(from oklab(none none 0.1) h w b)`, `color(srgb -0.00588767 0.00932583 -0.04707904)`);+ fuzzy_test_computed_color(`hwb(from oklab(0.5 none none) h w b)`, `hwb(none 38.8572859% 61.1427141%)`);+ fuzzy_test_computed_color(`hwb(from oklab(none 0.1 none) h w b)`, `color(srgb 0.00332736 -0.0010568 -0.00000849)`);+ fuzzy_test_computed_color(`hwb(from oklab(none none none) h w b)`, `hwb(none none none)`);++ fuzzy_test_computed_color(`hwb(from rgb(none none none) h w b)`, `hwb(none none none)`);+ fuzzy_test_computed_color(`hwb(from color(display-p3 none none none) h w b)`, `hwb(none none none)`);++ // HWB - color-mix+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none 50% 50%), hwb(11 33 44))`, `color(srgb 0.655 0.35691667 0.29)`); // hwb(11 29% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 none 50%), hwb(11 33 44))`, `color(srgb 0.53 0.43608333 0.415)`); // hwb(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 50% none), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none none 50%), hwb(11 33 44))`, `color(srgb 0.53 0.43608333 0.415)`); // hwb(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none 50% none), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none 25% 25%), hwb(11 33 44))`, `color(srgb 0.655 0.35691667 0.29)`); // hwb(11 29% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 none 25%), hwb(11 33 44))`, `color(srgb 0.46270833 0.655 0.33)`); // hwb(95.5 33% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 25% none), hwb(11 33 44))`, `color(srgb 0.40025 0.56 0.29)`); // hwb(95.5 29% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none 25%), hwb(11 33 44))`, `color(srgb 0.655 0.38958333 0.33)`); // hwb(11 33% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 none none), hwb(11 33 44))`, `color(srgb 0.42391667 0.56 0.33)`); // hwb(95.5 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none 25% none), hwb(11 33 44))`, `color(srgb 0.56 0.3395 0.29)`); // hwb(11 29% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hwb, lch(none 20 180), hwb(11 33 44))`, `color(srgb 0.22074713 0.30976443 0.09950084)`); // hwb(85.40163067 9.95008365% 69.02355713%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 none 180), hwb(11 33 44))`, `color(srgb 0.37468787 0.28077121 0.25968787)`); // hwb(11 25.96878726% 62.53121274%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 20 none), hwb(11 33 44))`, `color(srgb 0.4261832 0.27029076 0.23529449)`); // hwb(11 23.52944932% 57.38167989%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(none none 180), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 none none), hwb(11 33 44))`, `color(srgb 0.37468787 0.28077121 0.25968787)`); // hwb(11 25.96878726% 62.53121274%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(none 20 none), hwb(11 33 44))`, `color(srgb 0.34549916 0.1737839 0.13523557)`); // hwb(11 13.52355713% 65.45008365%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none 0.2 180), hwb(11 33 44))`, `color(srgb 0.22165528 0.28422721 0.15169055)`); // hwb(88.32661994 15.16905478% 71.57727877%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 none 180), hwb(11 33 44))`, `color(srgb 0.3230521 0.22913544 0.2080521)`); // hwb(11 20.80521022% 67.69478978%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0.2 none), hwb(11 33 44))`, `color(srgb 0.42797719 0.16132735 0.10146718)`); // hwb(11 10.14671781% 57.20228096%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none none 180), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 none none), hwb(11 33 44))`, `color(srgb 0.3230521 0.22913544 0.2080521)`); // hwb(11 20.80521022% 67.69478978%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none 0.2 none), hwb(11 33 44))`, `color(srgb 0.29330945 0.18507118 0.16077279)`); // hwb(11 16.07727877% 70.66905478%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hwb, lab(none 10 10), hwb(11 33 44))`, `color(srgb 0.33108126 0.17014913 0.12471536)`); // hwb(13.20967536 12.47153557% 66.89187423%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(50 none 10), hwb(11 33 44))`, `color(srgb 0.52347934 0.43863685 0.36486711)`); // hwb(27.90569495 36.48671056% 47.65206568%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(50 10 none), hwb(11 33 44))`, `color(srgb 0.54605572 0.38661243 0.39418955)`); // hwb(357.14865816 38.66124254% 45.39442805%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(none none 10), hwb(11 33 44))`, `color(srgb 0.29679275 0.19942334 0.12402767)`); // hwb(26.18434303 12.40276657% 70.32072467%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(50 none none), hwb(11 33 44))`, `color(srgb 0.5131633 0.41924664 0.3981633)`); // hwb(11 39.81633047% 48.68366954%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(none 10 none), hwb(11 33 44))`, `color(srgb 0.32217065 0.14933998 0.15861793)`); // hwb(356.77906144 14.93399752% 67.78293476%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none 0.1 0.1), hwb(11 33 44))`, `color(srgb 0.28384538 0.22764895 0.13701407)`); // hwb(37.03632887 13.70140721% 71.61546206%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0.5 none 0.1), hwb(11 33 44))`, `color(srgb 0.5179568 0.34102981 0.17725765)`); // hwb(28.84166204 17.72576471% 48.20431981%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0.5 0.1 none), hwb(11 33 44))`, `color(srgb 0.56293723 0.30773425 0.32720645)`); // hwb(355.42194841 30.77342465% 43.70627672%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none none 0.1), hwb(11 33 44))`, `color(srgb 0.28466291 0.24550084 0.14146048)`); // hwb(43.59158699 14.14604796% 71.53370867%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0.5 none none), hwb(11 33 44))`, `color(srgb 0.47428643 0.38036976 0.35928643)`); // hwb(11 35.92864295% 52.57135705%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none 0.1 none), hwb(11 33 44))`, `color(srgb 0.28166368 0.1644716 0.16774005)`); // hwb(358.32661994 16.44715985% 71.83363185%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ fuzzy_test_computed_color(`color-mix(in hwb, rgb(none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 none none none), hwb(11 33 44))`, `color(srgb 0.56 0.37216667 0.33)`); // hwb(11 33% 44%)++ // HWB - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none 50% 50%))`, `hwb(none 25% 25%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 none 50%))`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 50% none))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none none 50%))`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 none none))`, `hwb(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none 50% none))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(none none none))`, `hwb(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none 25% 25%))`, `hwb(none 25% 25%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 none 25%))`, `hwb(180 none 25%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 25% none))`, `hwb(180 25% none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none 25%))`, `hwb(none none 25%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 none none))`, `hwb(180 none none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none 25% none))`, `hwb(none 25% none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(none none none))`, `hwb(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hwb, lch(none 20 180))`, `color(srgb -0.13099833 0.05952886 -0.00460494)`); // hwb(159.80326134 -13.09983271% 94.04711426%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 none 180))`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 20 none))`, `hwb(none 14.05889863% 70.76335977%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(none none 180))`, `hwb(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 none none))`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(none 20 none))`, `hwb(none -5.95288574% 86.90016729%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(none none none))`, `hwb(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none 0.2 180))`, `color(srgb -0.0266189 0.00845442 0.00006795)`); // hwb(165.65323987 -2.66189044% 99.15455754%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 none 180))`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0.2 none))`, `hwb(none -12.70656437% 70.40456191%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none none 180))`, `hwb(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 none none))`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none 0.2 none))`, `hwb(none -0.84544246% 97.33810956%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(none none none))`, `hwb(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hwb, lab(none 10 10))`, `color(srgb 0.10216252 -0.03360919 -0.08056929)`); // hwb(15.41935071 -8.05692886% 89.78374845%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(50 none 10))`, `color(srgb 0.48695869 0.46487838 0.39973421)`); // hwb(44.8113899 39.97342112% 51.30413135%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(50 10 none))`, `color(srgb 0.53211144 0.44322485 0.46796893)`); // hwb(343.29731631 44.32248508% 46.7888561%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(none none 10))`, `color(srgb 0.03358551 -0.00228914 -0.08194467)`); // hwb(41.36868606 -8.19446686% 96.64144933%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(50 none none))`, `hwb(none 46.63266093% 53.36733907%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lab(none 10 none))`, `color(srgb 0.0843413 -0.03132005 0.00230247)`); // hwb(342.55812287 -3.13200497% 91.56586951%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(none none none))`, `hwb(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none 0.1 0.1))`, `color(srgb 0.00443054 0.00769076 -0.05597186)`); // hwb(63.07265774 -5.59718559% 99.23092412%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0.5 none 0.1))`, `color(srgb 0.4759136 0.37572819 0.02451529)`); // hwb(46.68332407 2.45152942% 52.40863962%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0.5 0.1 none))`, `color(srgb 0.56587447 0.28546849 0.37966669)`); // hwb(339.84389681 28.54684929% 43.41255345%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none none 0.1))`, `color(srgb -0.00588767 0.00932583 -0.04707904)`); // hwb(76.18317397 -4.70790409% 99.06741734%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0.5 none none))`, `hwb(none 38.8572859% 61.1427141%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none 0.1 none))`, `color(srgb 0.00332736 -0.0010568 -0.00000849)`); // hwb(345.65323987 -0.10568031% 99.66726369%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(none none none))`, `hwb(none none none)`);++ fuzzy_test_computed_color(`color-mix(in hwb, rgb(none none none))`, `hwb(none none none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 none none none))`, `hwb(none none none)`);++ // LCH - RCS+ fuzzy_test_computed_color(`lch(from hsl(none 50% 50%) l c h)`, `lch(46.42043661 59.74639249 none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 none 50%) l c h)`, `lch(53.38896474 none none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 50% none) l c h)`, `lch(none 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(none none 50%) l c h)`, `lch(53.38896474 none none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 none none) l c h)`, `lch(none none none)`);+ fuzzy_test_computed_color(`lch(from hsl(none 50% none) l c h)`, `lch(none 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(none none none) l c h)`, `lch(none none none)`);++ fuzzy_test_computed_color(`lch(from hwb(none 25% 25%) l c h)`, `lch(46.42043661 59.74639249 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 none 25%) l c h)`, `lch(69.91337803 42.54334477 196.45478916)`);+ fuzzy_test_computed_color(`lch(from hwb(180 25% none) l c h)`, `lch(91.18116399 49.29673753 196.65803824)`);+ fuzzy_test_computed_color(`lch(from hwb(none none 25%) l c h)`, `lch(40.61501478 86.05118759 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 none none) l c h)`, `lch(none none 196.45478916)`);+ fuzzy_test_computed_color(`lch(from hwb(none 25% none) l c h)`, `lch(58.23109529 85.49243054 none)`);+ fuzzy_test_computed_color(`lch(from hwb(none none none) l c h)`, `lch(none none none)`);++ fuzzy_test_computed_color(`lch(from lch(none 20 180) l c h)`, `lch(none 20 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 none 180) l c h)`, `lch(20 none 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 20 none) l c h)`, `lch(20 20 none)`);+ fuzzy_test_computed_color(`lch(from lch(none none 180) l c h)`, `lch(none none 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 none none) l c h)`, `lch(20 none none)`);+ fuzzy_test_computed_color(`lch(from lch(none 20 none) l c h)`, `lch(none 20 none)`);+ fuzzy_test_computed_color(`lch(from lch(none none none) l c h)`, `lch(none none none)`);++ fuzzy_test_computed_color(`lch(from oklch(none 0.2 180) l c h)`, `lch(none 2.6503948 181.20369565)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 none 180) l c h)`, `lch(7.22637037 none none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0.2 none) l c h)`, `lch(5.10873217 59.48824051 none)`);+ fuzzy_test_computed_color(`lch(from oklch(none none 180) l c h)`, `lch(none none none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 none none) l c h)`, `lch(7.22637037 none none)`);+ fuzzy_test_computed_color(`lch(from oklch(none 0.2 none) l c h)`, `lch(none 2.6503948 none)`);+ fuzzy_test_computed_color(`lch(from oklch(none none none) l c h)`, `lch(none none none)`);++ fuzzy_test_computed_color(`lch(from lab(none 10 10) l c h)`, `lch(none 14.14213562 45)`);+ fuzzy_test_computed_color(`lch(from lab(50 none 10) l c h)`, `lch(50 10 90)`);+ fuzzy_test_computed_color(`lch(from lab(50 10 none) l c h)`, `lch(50 10 0)`);+ fuzzy_test_computed_color(`lch(from lab(none none 10) l c h)`, `lch(none 10 90)`);+ fuzzy_test_computed_color(`lch(from lab(50 none none) l c h)`, `lch(50 none none)`);+ fuzzy_test_computed_color(`lch(from lab(none 10 none) l c h)`, `lch(none 10 0)`);+ fuzzy_test_computed_color(`lch(from lab(none none none) l c h)`, `lch(none none none)`);++ fuzzy_test_computed_color(`lch(from oklab(none 0.1 0.1) l c h)`, `lch(none 6.59869105 107.32334354)`);+ fuzzy_test_computed_color(`lch(from oklab(0.5 none 0.1) l c h)`, `lch(42.22128134 47.63708012 84.22289046)`);+ fuzzy_test_computed_color(`lch(from oklab(0.5 0.1 none) l c h)`, `lch(40.74235313 32.8495187 0.72132548)`);+ fuzzy_test_computed_color(`lch(from oklab(none none 0.1) l c h)`, `lch(none 5.73918282 116.45307687)`);+ fuzzy_test_computed_color(`lch(from oklab(0.5 none none) l c h)`, `lch(42 none none)`);+ fuzzy_test_computed_color(`lch(from oklab(none 0.1 none) l c h)`, `lch(none 0.33129935 1.20369565)`);+ fuzzy_test_computed_color(`lch(from oklab(none none none) l c h)`, `lch(none none none)`);++ fuzzy_test_computed_color(`lch(from rgb(none none none) l c h)`, `lch(none none none)`);+ fuzzy_test_computed_color(`lch(from color(display-p3 none none none) l c h)`, `lch(none none none)`);++ // LCH - color-mix+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none 50% 50%), lch(11 33 44))`, `lch(28.71021831 46.37319624 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 none 50%), lch(11 33 44))`, `lch(32.19448237 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 50% none), lch(11 33 44))`, `lch(11 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none none 50%), lch(11 33 44))`, `lch(32.19448237 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 none none), lch(11 33 44))`, `lch(11 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none 50% none), lch(11 33 44))`, `lch(11 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none none none), lch(11 33 44))`, `lch(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, hwb(none 25% 25%), lch(11 33 44))`, `lch(28.71021831 46.37319624 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 none 25%), lch(11 33 44))`, `lch(40.45668902 37.77167238 120.22739458)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 25% none), lch(11 33 44))`, `lch(51.090582 41.14836876 120.32901912)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(none none 25%), lch(11 33 44))`, `lch(25.80750739 59.52559379 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 none none), lch(11 33 44))`, `lch(11 33 120.22739458)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(none 25% none), lch(11 33 44))`, `lch(34.61554764 59.24621527 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(none none none), lch(11 33 44))`, `lch(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, lch(none 20 180), lch(11 33 44))`, `lch(11 26.5 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 none 180), lch(11 33 44))`, `lch(15.5 33 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 20 none), lch(11 33 44))`, `lch(15.5 26.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none none 180), lch(11 33 44))`, `lch(11 33 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 none none), lch(11 33 44))`, `lch(15.5 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none 20 none), lch(11 33 44))`, `lch(11 26.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none none none), lch(11 33 44))`, `lch(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklch(none 0.2 180), lch(11 33 44))`, `lch(11 17.8251974 112.60184783)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 none 180), lch(11 33 44))`, `lch(9.11318519 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.2 none), lch(11 33 44))`, `lch(8.05436608 46.24412025 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(none none 180), lch(11 33 44))`, `lch(11 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 none none), lch(11 33 44))`, `lch(9.11318519 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(none 0.2 none), lch(11 33 44))`, `lch(11 17.8251974 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(none none none), lch(11 33 44))`, `lch(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, lab(none 10 10), lch(11 33 44))`, `lch(11 23.57106781 44.5)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(50 none 10), lch(11 33 44))`, `lch(30.5 21.5 67)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(50 10 none), lch(11 33 44))`, `lch(30.5 21.5 22)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(none none 10), lch(11 33 44))`, `lch(11 21.5 67)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(50 none none), lch(11 33 44))`, `lch(30.5 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(none 10 none), lch(11 33 44))`, `lch(11 21.5 22)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(none none none), lch(11 33 44))`, `lch(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklab(none 0.1 0.1), lch(11 33 44))`, `lch(11 19.79934553 75.66167177)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0.5 none 0.1), lch(11 33 44))`, `lch(26.61064067 40.31854006 64.11144523)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0.5 0.1 none), lch(11 33 44))`, `lch(25.87117656 32.92475935 22.36066274)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(none none 0.1), lch(11 33 44))`, `lch(11 19.36959141 80.22653844)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0.5 none none), lch(11 33 44))`, `lch(26.5 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(none 0.1 none), lch(11 33 44))`, `lch(11 16.66564968 22.60184783)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(none none none), lch(11 33 44))`, `lch(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, rgb(none none none), lch(11 33 44))`, `lch(11 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 none none none), lch(11 33 44))`, `lch(11 33 44)`);++ // LCH - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none 50% 50%))`, `lch(46.42043661 59.74639249 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 none 50%))`, `lch(53.38896474 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 50% none))`, `lch(none 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none none 50%))`, `lch(53.38896474 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 none none))`, `lch(none none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none 50% none))`, `lch(none 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(none none none))`, `lch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lch, hwb(none 25% 25%))`, `lch(46.42043661 59.74639249 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 none 25%))`, `lch(69.91337803 42.54334477 196.45478916)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 25% none))`, `lch(91.18116399 49.29673753 196.65803824)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(none none 25%))`, `lch(40.61501478 86.05118759 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 none none))`, `lch(none none 196.45478916)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(none 25% none))`, `lch(58.23109529 85.49243054 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(none none none))`, `lch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lch, lch(none 20 180))`, `lch(none 20 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 none 180))`, `lch(20 none 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 20 none))`, `lch(20 20 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none none 180))`, `lch(none none 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 none none))`, `lch(20 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none 20 none))`, `lch(none 20 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(none none none))`, `lch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklch(none 0.2 180))`, `lch(none 2.6503948 181.20369565)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 none 180))`, `lch(7.22637037 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.2 none))`, `lch(5.10873217 59.48824051 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(none none 180))`, `lch(none none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 none none))`, `lch(7.22637037 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(none 0.2 none))`, `lch(none 2.6503948 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(none none none))`, `lch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lch, lab(none 10 10))`, `lch(none 14.14213562 45)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(50 none 10))`, `lch(50 10 90)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(50 10 none))`, `lch(50 10 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(none none 10))`, `lch(none 10 90)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(50 none none))`, `lch(50 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(none 10 none))`, `lch(none 10 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(none none none))`, `lch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklab(none 0.1 0.1))`, `lch(none 6.59869105 107.32334354)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0.5 none 0.1))`, `lch(42.22128134 47.63708012 84.22289046)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0.5 0.1 none))`, `lch(40.74235313 32.8495187 0.72132548)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(none none 0.1))`, `lch(none 5.73918282 116.45307687)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0.5 none none))`, `lch(42 none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(none 0.1 none))`, `lch(none 0.33129935 1.20369565)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(none none none))`, `lch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lch, rgb(none none none))`, `lch(none none none)`);+ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 none none none))`, `lch(none none none)`);++ // oklch - RCS+ fuzzy_test_computed_color(`oklch(from hsl(none 50% 50%) l c h)`, `oklch(0.55233858 0.16366995 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 none 50%) l c h)`, `oklch(0.59818073 none none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 50% none) l c h)`, `oklch(none 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(none none 50%) l c h)`, `oklch(0.59818073 none none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 none none) l c h)`, `oklch(none none none)`);+ fuzzy_test_computed_color(`oklch(from hsl(none 50% none) l c h)`, `oklch(none 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(none none none) l c h)`, `oklch(none none none)`);++ fuzzy_test_computed_color(`oklch(from hwb(none 25% 25%) l c h)`, `oklch(0.55233858 0.16366995 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 none 25%) l c h)`, `oklch(0.72924735 0.12448121 194.7689599)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 25% none) l c h)`, `oklch(0.91079253 0.14429702 194.91785641)`);+ fuzzy_test_computed_color(`oklch(from hwb(none none 25%) l c h)`, `oklch(0.50578216 0.20754918 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 none none) l c h)`, `oklch(none none 194.7689599)`);+ fuzzy_test_computed_color(`oklch(from hwb(none 25% none) l c h)`, `oklch(0.65951623 0.22690049 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(none none none) l c h)`, `oklch(none none none)`);++ fuzzy_test_computed_color(`oklch(from lch(none 20 180) l c h)`, `oklch(none 0.26412556 175.27132911)`);+ fuzzy_test_computed_color(`oklch(from lch(20 none 180) l c h)`, `oklch(0.31034483 none none)`);+ fuzzy_test_computed_color(`oklch(from lch(20 20 none) l c h)`, `oklch(0.31697196 0.06085528 none)`);+ fuzzy_test_computed_color(`oklch(from lch(none none 180) l c h)`, `oklch(none none none)`);+ fuzzy_test_computed_color(`oklch(from lch(20 none none) l c h)`, `oklch(0.31034483 none none)`);+ fuzzy_test_computed_color(`oklch(from lch(none 20 none) l c h)`, `oklch(none 0.26412556 none)`);+ fuzzy_test_computed_color(`oklch(from lch(none none none) l c h)`, `oklch(none none none)`);++ fuzzy_test_computed_color(`oklch(from oklch(none 0.2 180) l c h)`, `oklch(none 0.2 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 none 180) l c h)`, `oklch(0.2 none 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0.2 none) l c h)`, `oklch(0.2 0.2 none)`);+ fuzzy_test_computed_color(`oklch(from oklch(none none 180) l c h)`, `oklch(none none 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 none none) l c h)`, `oklch(0.2 none none)`);+ fuzzy_test_computed_color(`oklch(from oklch(none 0.2 none) l c h)`, `oklch(none 0.2 none)`);+ fuzzy_test_computed_color(`oklch(from oklch(none none none) l c h)`, `oklch(none none none)`);++ fuzzy_test_computed_color(`oklch(from lab(none 10 10) l c h)`, `oklch(none 0.3755088 12.38482735)`);+ fuzzy_test_computed_color(`oklch(from lab(50 none 10) l c h)`, `oklch(0.56788978 0.02565454 91.47921894)`);+ fuzzy_test_computed_color(`oklch(from lab(50 10 none) l c h)`, `oklch(0.57220592 0.02980361 359.47844895)`);+ fuzzy_test_computed_color(`oklch(from lab(none none 10) l c h)`, `oklch(none 0.27769178 16.66376148)`);+ fuzzy_test_computed_color(`oklch(from lab(50 none none) l c h)`, `oklch(0.56896552 none none)`);+ fuzzy_test_computed_color(`oklch(from lab(none 10 none) l c h)`, `oklch(none 0.2096366 355.27132911)`);+ fuzzy_test_computed_color(`oklch(from lab(none none none) l c h)`, `oklch(none none none)`);++ fuzzy_test_computed_color(`oklch(from oklab(none 0.1 0.1) l c h)`, `oklch(none 0.14142136 45)`);+ fuzzy_test_computed_color(`oklch(from oklab(0.5 none 0.1) l c h)`, `oklch(0.5 0.1 90)`);+ fuzzy_test_computed_color(`oklch(from oklab(0.5 0.1 none) l c h)`, `oklch(0.5 0.1 0)`);+ fuzzy_test_computed_color(`oklch(from oklab(none none 0.1) l c h)`, `oklch(none 0.1 90)`);+ fuzzy_test_computed_color(`oklch(from oklab(0.5 none none) l c h)`, `oklch(0.5 none none)`);+ fuzzy_test_computed_color(`oklch(from oklab(none 0.1 none) l c h)`, `oklch(none 0.1 0)`);+ fuzzy_test_computed_color(`oklch(from oklab(none none none) l c h)`, `oklch(none none none)`);++ fuzzy_test_computed_color(`oklch(from rgb(none none none) l c h)`, `oklch(none none none)`);+ fuzzy_test_computed_color(`oklch(from color(display-p3 none none none) l c h)`, `oklch(none none none)`);++ // oklch - color-mix+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none 50% 50%), oklch(0.11 0.33 44))`, `oklch(0.33116929 0.24683498 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 none 50%), oklch(0.11 0.33 44))`, `oklch(0.35409037 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 50% none), oklch(0.11 0.33 44))`, `oklch(0.11 0.165 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none none 50%), oklch(0.11 0.33 44))`, `oklch(0.35409037 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none 50% none), oklch(0.11 0.33 44))`, `oklch(0.11 0.165 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none 25% 25%), oklch(0.11 0.33 44))`, `oklch(0.33116929 0.24683498 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 none 25%), oklch(0.11 0.33 44))`, `oklch(0.41962368 0.22724061 119.38447995)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 25% none), oklch(0.11 0.33 44))`, `oklch(0.51039626 0.23714851 119.45892821)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none none 25%), oklch(0.11 0.33 44))`, `oklch(0.30789108 0.26877459 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 119.38447995)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none 25% none), oklch(0.11 0.33 44))`, `oklch(0.38475811 0.27845024 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lch(none 20 180), oklch(0.11 0.33 44))`, `oklch(0.11 0.29706278 109.63566456)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 none 180), oklch(0.11 0.33 44))`, `oklch(0.21017241 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 20 none), oklch(0.11 0.33 44))`, `oklch(0.21348598 0.19542764 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(none none 180), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 none none), oklch(0.11 0.33 44))`, `oklch(0.21017241 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(none 20 none), oklch(0.11 0.33 44))`, `oklch(0.11 0.29706278 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none 0.2 180), oklch(0.11 0.33 44))`, `oklch(0.11 0.265 112)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 none 180), oklch(0.11 0.33 44))`, `oklch(0.155 0.33 112)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.2 none), oklch(0.11 0.33 44))`, `oklch(0.155 0.265 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none none 180), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 112)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 none none), oklch(0.11 0.33 44))`, `oklch(0.155 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none 0.2 none), oklch(0.11 0.33 44))`, `oklch(0.11 0.265 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lab(none 10 10), oklch(0.11 0.33 44))`, `oklch(0.11 0.3527544 28.19241368)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(50 none 10), oklch(0.11 0.33 44))`, `oklch(0.33894489 0.17782727 67.73960947)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(50 10 none), oklch(0.11 0.33 44))`, `oklch(0.34110296 0.1799018 21.73922447)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(none none 10), oklch(0.11 0.33 44))`, `oklch(0.11 0.30384589 30.33188074)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(50 none none), oklch(0.11 0.33 44))`, `oklch(0.33948276 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(none 10 none), oklch(0.11 0.33 44))`, `oklch(0.11 0.2698183 19.63566456)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none 0.1 0.1), oklch(0.11 0.33 44))`, `oklch(0.11 0.23571068 44.5)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 none 0.1), oklch(0.11 0.33 44))`, `oklch(0.305 0.215 67)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 0.1 none), oklch(0.11 0.33 44))`, `oklch(0.305 0.215 22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none none 0.1), oklch(0.11 0.33 44))`, `oklch(0.11 0.215 67)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 none none), oklch(0.11 0.33 44))`, `oklch(0.305 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none 0.1 none), oklch(0.11 0.33 44))`, `oklch(0.11 0.215 22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, rgb(none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 none none none), oklch(0.11 0.33 44))`, `oklch(0.11 0.33 44)`);++ // oklch - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none 50% 50%))`, `oklch(0.55233858 0.16366995 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 none 50%))`, `oklch(0.59818073 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 50% none))`, `oklch(none 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none none 50%))`, `oklch(0.59818073 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 none none))`, `oklch(none none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none 50% none))`, `oklch(none 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(none none none))`, `oklch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none 25% 25%))`, `oklch(0.55233858 0.16366995 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 none 25%))`, `oklch(0.72924735 0.12448121 194.7689599)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 25% none))`, `oklch(0.91079253 0.14429702 194.91785641)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none none 25%))`, `oklch(0.50578216 0.20754918 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 none none))`, `oklch(none none 194.7689599)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none 25% none))`, `oklch(0.65951623 0.22690049 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(none none none))`, `oklch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lch(none 20 180))`, `oklch(none 0.26412556 175.27132911)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 none 180))`, `oklch(0.31034483 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 20 none))`, `oklch(0.31697196 0.06085528 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(none none 180))`, `oklch(none none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 none none))`, `oklch(0.31034483 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(none 20 none))`, `oklch(none 0.26412556 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(none none none))`, `oklch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none 0.2 180))`, `oklch(none 0.2 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 none 180))`, `oklch(0.2 none 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.2 none))`, `oklch(0.2 0.2 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none none 180))`, `oklch(none none 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 none none))`, `oklch(0.2 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none 0.2 none))`, `oklch(none 0.2 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(none none none))`, `oklch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lab(none 10 10))`, `oklch(none 0.3755088 12.38482735)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(50 none 10))`, `oklch(0.56788978 0.02565454 91.47921894)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(50 10 none))`, `oklch(0.57220592 0.02980361 359.47844895)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(none none 10))`, `oklch(none 0.27769178 16.66376148)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(50 none none))`, `oklch(0.56896552 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(none 10 none))`, `oklch(none 0.2096366 355.27132911)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(none none none))`, `oklch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none 0.1 0.1))`, `oklch(none 0.14142136 45)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 none 0.1))`, `oklch(0.5 0.1 90)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 0.1 none))`, `oklch(0.5 0.1 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none none 0.1))`, `oklch(none 0.1 90)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0.5 none none))`, `oklch(0.5 none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none 0.1 none))`, `oklch(none 0.1 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(none none none))`, `oklch(none none none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, rgb(none none none))`, `oklch(none none none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 none none none))`, `oklch(none none none)`);++ // rgb - RCS+ fuzzy_test_computed_color(`rgb(from rgb(none 50 100) r g b)`, `color(srgb none 0.19607843 0.39215686)`);+ fuzzy_test_computed_color(`rgb(from rgb(25 none 100) r g b)`, `color(srgb 0.09803922 none 0.39215686)`);+ fuzzy_test_computed_color(`rgb(from rgb(25 50 none) r g b)`, `color(srgb 0.09803922 0.19607843 none)`);+ fuzzy_test_computed_color(`rgb(from rgb(none none 100) r g b)`, `color(srgb none none 0.39215686)`);+ fuzzy_test_computed_color(`rgb(from rgb(25 none none) r g b)`, `color(srgb 0.09803922 none none)`);+ fuzzy_test_computed_color(`rgb(from rgb(none 50 none) r g b)`, `color(srgb none 0.19607843 none)`);+ fuzzy_test_computed_color(`rgb(from rgb(none none none) r g b)`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`rgb(from color(display-p3 none 0.5 1) r g b)`, `color(srgb none 0.50960895 1.03498498)`);+ fuzzy_test_computed_color(`rgb(from color(display-p3 0.25 none 1) r g b)`, `color(srgb 0.27690544 none 1.0416057)`);+ fuzzy_test_computed_color(`rgb(from color(display-p3 0.25 0.5 none) r g b)`, `color(srgb 0.12407597 0.50734577 none)`);+ fuzzy_test_computed_color(`rgb(from color(display-p3 none none 1) r g b)`, `color(srgb none none 1.04202162)`);+ fuzzy_test_computed_color(`rgb(from color(display-p3 0.25 none none) r g b)`, `color(srgb 0.27690544 none none)`);+ fuzzy_test_computed_color(`rgb(from color(display-p3 none 0.5 none) r g b)`, `color(srgb none 0.50960895 none)`);+ fuzzy_test_computed_color(`rgb(from color(display-p3 none none none) r g b)`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`rgb(from color(xyz none 0.5 1) r g b)`, `color(srgb none 0.99095134 0.97994511)`);+ fuzzy_test_computed_color(`rgb(from color(xyz 0.25 none 1) r g b)`, `color(srgb 0.59403754 none 1.03053617)`);+ fuzzy_test_computed_color(`rgb(from color(xyz 0.25 0.5 none) r g b)`, `color(srgb 0.22532444 0.85195951 none)`);+ fuzzy_test_computed_color(`rgb(from color(xyz none none 1) r g b)`, `color(srgb none none 1.02463965)`);+ fuzzy_test_computed_color(`rgb(from color(xyz 0.25 none none) r g b)`, `color(srgb 0.91144108 none none)`);+ fuzzy_test_computed_color(`rgb(from color(xyz none 0.5 none) r g b)`, `color(srgb none 0.97222877 none)`);+ fuzzy_test_computed_color(`rgb(from color(xyz none none none) r g b)`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`rgb(from color(xyz-d50 none 0.5 1) r g b)`, `color(srgb none 0.99628519 1.11843052)`);+ fuzzy_test_computed_color(`rgb(from color(xyz-d50 0.25 none 1) r g b)`, `color(srgb 0.57746244 none 1.16718092)`);+ fuzzy_test_computed_color(`rgb(from color(xyz-d50 0.25 0.5 none) r g b)`, `color(srgb -0.17244425 0.8615337 none)`);+ fuzzy_test_computed_color(`rgb(from color(xyz-d50 none none 1) r g b)`, `color(srgb none none 1.16072115)`);+ fuzzy_test_computed_color(`rgb(from color(xyz-d50 0.25 none none) r g b)`, `color(srgb 0.89803728 none none)`);+ fuzzy_test_computed_color(`rgb(from color(xyz-d50 none 0.5 none) r g b)`, `color(srgb none 0.98136351 none)`);+ fuzzy_test_computed_color(`rgb(from color(xyz-d50 none none none) r g b)`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`rgb(from hwb(none none none) r g b)`, `color(srgb none none none)`);+ fuzzy_test_computed_color(`rgb(from hsl(none none none) r g b)`, `color(srgb none none none)`);+ fuzzy_test_computed_color(`rgb(from lab(none none none) r g b)`, `color(srgb none none none)`);+ fuzzy_test_computed_color(`rgb(from oklab(none none none) r g b)`, `color(srgb none none none)`);++ // rgb - color-mix+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none 50 100), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.26303922 0.41607843)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(25 none 100), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.10401961 0.33 0.41607843)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(25 50 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.10401961 0.26303922 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none none 100), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.41607843)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(25 none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.10401961 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none 50 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.26303922 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);++ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none 0.5 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.41980447 0.73749249)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 0.25 none 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.19345272 0.33 0.74080285)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 0.25 0.5 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11703798 0.41867289 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none none 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.74101081)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 0.25 none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.19345272 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none 0.5 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.41980447 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);++ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none 0.5 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.66047567 0.70997256)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz 0.25 none 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.35201877 0.33 0.73526809)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz 0.25 0.5 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.16766222 0.59097976 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none none 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.73231982)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz 0.25 none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.51072054 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none 0.5 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.65111439 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);++ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none 0.5 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.6631426 0.77921526)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 0.25 none 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.34373122 0.33 0.80359046)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 0.25 0.5 none), color(srgb 0.11 0.33 0.44))`, `color(srgb -0.03122213 0.59576685 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none none 1), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.80036058)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 0.25 none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.50401864 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none 0.5 none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.65568176 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);++ fuzzy_test_computed_color(`color-mix(in srgb, hwb(none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, hsl(none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, lab(none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);+ fuzzy_test_computed_color(`color-mix(in srgb, oklab(none none none), color(srgb 0.11 0.33 0.44))`, `color(srgb 0.11 0.33 0.44)`);++ // rgb - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none 50 100))`, `color(srgb none 0.19607843 0.39215686)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(25 none 100))`, `color(srgb 0.09803922 none 0.39215686)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(25 50 none))`, `color(srgb 0.09803922 0.19607843 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none none 100))`, `color(srgb none none 0.39215686)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(25 none none))`, `color(srgb 0.09803922 none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none 50 none))`, `color(srgb none 0.19607843 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, rgb(none none none))`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none 0.5 1))`, `color(srgb none 0.50960895 1.03498498)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 0.25 none 1))`, `color(srgb 0.27690544 none 1.0416057)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 0.25 0.5 none))`, `color(srgb 0.12407597 0.50734577 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none none 1))`, `color(srgb none none 1.04202162)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 0.25 none none))`, `color(srgb 0.27690544 none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none 0.5 none))`, `color(srgb none 0.50960895 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(display-p3 none none none))`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none 0.5 1))`, `color(srgb none 0.99095134 0.97994511)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz 0.25 none 1))`, `color(srgb 0.59403754 none 1.03053617)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz 0.25 0.5 none))`, `color(srgb 0.22532444 0.85195951 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none none 1))`, `color(srgb none none 1.02463965)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz 0.25 none none))`, `color(srgb 0.91144108 none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none 0.5 none))`, `color(srgb none 0.97222877 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz none none none))`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none 0.5 1))`, `color(srgb none 0.99628519 1.11843052)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 0.25 none 1))`, `color(srgb 0.57746244 none 1.16718092)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 0.25 0.5 none))`, `color(srgb -0.17244425 0.8615337 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none none 1))`, `color(srgb none none 1.16072115)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 0.25 none none))`, `color(srgb 0.89803728 none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none 0.5 none))`, `color(srgb none 0.98136351 none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, color(xyz-d50 none none none))`, `color(srgb none none none)`);++ fuzzy_test_computed_color(`color-mix(in srgb, hwb(none none none))`, `color(srgb none none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, hsl(none none none))`, `color(srgb none none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, lab(none none none))`, `color(srgb none none none)`);+ fuzzy_test_computed_color(`color-mix(in srgb, oklab(none none none))`, `color(srgb none none none)`);++ // lab - RCS+ fuzzy_test_computed_color(`lab(from lab(none 10 10) l a b)`, `lab(none 10 10)`);+ fuzzy_test_computed_color(`lab(from lab(50 none 10) l a b)`, `lab(50 none 10)`);+ fuzzy_test_computed_color(`lab(from lab(50 10 none) l a b)`, `lab(50 10 none)`);+ fuzzy_test_computed_color(`lab(from lab(none none 10) l a b)`, `lab(none none 10)`);+ fuzzy_test_computed_color(`lab(from lab(50 none none) l a b)`, `lab(50 none none)`);+ fuzzy_test_computed_color(`lab(from lab(none 10 none) l a b)`, `lab(none 10 none)`);+ fuzzy_test_computed_color(`lab(from lab(none none none) l a b)`, `lab(none none none)`);++ fuzzy_test_computed_color(`lab(from oklab(none 0.1 0.1) l a b)`, `lab(none -1.96485158 6.29937155)`);+ fuzzy_test_computed_color(`lab(from oklab(0.5 none 0.1) l a b)`, `lab(42.22128134 none 47.39513153)`);+ fuzzy_test_computed_color(`lab(from oklab(0.5 0.1 none) l a b)`, `lab(40.74235313 32.84691548 none)`);+ fuzzy_test_computed_color(`lab(from oklab(none none 0.1) l a b)`, `lab(none none 5.1382874)`);+ fuzzy_test_computed_color(`lab(from oklab(0.5 none none) l a b)`, `lab(42 none none)`);+ fuzzy_test_computed_color(`lab(from oklab(none 0.1 none) l a b)`, `lab(none 0.33122624 none)`);+ fuzzy_test_computed_color(`lab(from oklab(none none none) l a b)`, `lab(none none none)`);++ fuzzy_test_computed_color(`lab(from hwb(none none none) l a b)`, `lab(none none none)`);+ fuzzy_test_computed_color(`lab(from hsl(none none none) l a b)`, `lab(none none none)`);+ fuzzy_test_computed_color(`lab(from rgb(none none none) l a b)`, `lab(none none none)`);+ fuzzy_test_computed_color(`lab(from color(display-p3 none none none) l a b)`, `lab(none none none)`);++ // lab - color-mix+ fuzzy_test_computed_color(`color-mix(in lab, lab(none 10 10), lab(11 33 44))`, `lab(11 21.5 27)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(50 none 10), lab(11 33 44))`, `lab(30.5 33 27)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(50 10 none), lab(11 33 44))`, `lab(30.5 21.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none none 10), lab(11 33 44))`, `lab(11 33 27)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(50 none none), lab(11 33 44))`, `lab(30.5 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none 10 none), lab(11 33 44))`, `lab(11 21.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none none none), lab(11 33 44))`, `lab(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lab, oklab(none 0.1 0.1), lab(11 33 44))`, `lab(11 15.51757421 25.14968577)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(0.5 none 0.1), lab(11 33 44))`, `lab(26.61064067 33 45.69756576)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(0.5 0.1 none), lab(11 33 44))`, `lab(25.87117656 32.92345774 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(none none 0.1), lab(11 33 44))`, `lab(11 33 24.5691437)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(0.5 none none), lab(11 33 44))`, `lab(26.5 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(none 0.1 none), lab(11 33 44))`, `lab(11 16.66561312 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(none none none), lab(11 33 44))`, `lab(11 33 44)`);++ fuzzy_test_computed_color(`color-mix(in lab, hwb(none none none), lab(11 33 44))`, `lab(11 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, hsl(none none none), lab(11 33 44))`, `lab(11 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, rgb(none none none), lab(11 33 44))`, `lab(11 33 44)`);+ fuzzy_test_computed_color(`color-mix(in lab, color(display-p3 none none none), lab(11 33 44))`, `lab(11 33 44)`);++ // lab - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in lab, lab(none 10 10))`, `lab(none 10 10)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(50 none 10))`, `lab(50 none 10)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(50 10 none))`, `lab(50 10 none)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none none 10))`, `lab(none none 10)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(50 none none))`, `lab(50 none none)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none 10 none))`, `lab(none 10 none)`);+ fuzzy_test_computed_color(`color-mix(in lab, lab(none none none))`, `lab(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lab, oklab(none 0.1 0.1))`, `lab(none -1.96485158 6.29937155)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(0.5 none 0.1))`, `lab(42.22128134 none 47.39513153)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(0.5 0.1 none))`, `lab(40.74235313 32.84691548 none)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(none none 0.1))`, `lab(none none 5.1382874)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(0.5 none none))`, `lab(42 none none)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(none 0.1 none))`, `lab(none 0.33122624 none)`);+ fuzzy_test_computed_color(`color-mix(in lab, oklab(none none none))`, `lab(none none none)`);++ fuzzy_test_computed_color(`color-mix(in lab, hwb(none none none))`, `lab(none none none)`);+ fuzzy_test_computed_color(`color-mix(in lab, hsl(none none none))`, `lab(none none none)`);+ fuzzy_test_computed_color(`color-mix(in lab, rgb(none none none))`, `lab(none none none)`);+ fuzzy_test_computed_color(`color-mix(in lab, color(display-p3 none none none))`, `lab(none none none)`);+</script>+</body>+</html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-powerless.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-powerless.htmlnew file mode 100644index 00000000000..267875d1bb7--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-powerless.html@@ -0,0 +1,738 @@+<!DOCTYPE html>+<html>+<head>+<meta charset="utf-8">+<title>CSS Color 4 and 5: Computation of colors containing (potentially) powerless components</title>+<link rel="help" href="https://drafts.csswg.org/css-color-4/#powerless">+<link rel="help" href="https://drafts.csswg.org/css-color-4/#missing">+<link rel="help" href="https://drafts.csswg.org/css-color-4/#interpolation-missing">+<link rel="help" href="https://drafts.csswg.org/css-color-5/#rcs-intro">+<link rel="author" title="Romain Menke" href="mailto:[email protected]">+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../../css/support/computed-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script>+</head>+<body>+<div id="container">+ <div id="target"></div>+</div>+<style>+ :root {+ --high: 500;+ --negative: -100;+ }+ #container {+ container-type: inline-size;+ color: rgb(255, 0, 0);+ }+</style>+<script>+ // HSL - RCS+ fuzzy_test_computed_color(`hsl(from hsl(0 50% 50%) h s l)`, `color(srgb 0.75 0.25 0.25)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 0 50%) h s l)`, `color(srgb 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 50% 0) h s l)`, `color(srgb 0 0 0)`);+ fuzzy_test_computed_color(`hsl(from hsl(0 0 50%) h s l)`, `color(srgb 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 0 0) h s l)`, `color(srgb 0 0 0)`);+ fuzzy_test_computed_color(`hsl(from hsl(0 50% 0) h s l)`, `color(srgb 0 0 0)`);+ fuzzy_test_computed_color(`hsl(from hsl(0 0 0) h s l)`, `color(srgb 0 0 0)`);++ fuzzy_test_computed_color(`hsl(from hsl(180 0.001% 50%) h s l)`, `color(srgb 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 0.0011% 50%) h s l)`, `color(srgb 0.4999945 0.5000055 0.5000055)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 0.001% 50%) h calc(s * 1000) l)`, `color(srgb 0.495 0.505 0.505)`);+ fuzzy_test_computed_color(`hsl(from hsl(180 0.0011% 50%) h calc(s * 1000) l)`, `color(srgb 0.4945 0.5055 0.5055)`);++ fuzzy_test_computed_color(`hsl(from hwb(0 25% 25%) h s l)`, `color(srgb 0.75 0.25 0.25)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 100% 25%) h s l)`, `hsl(none 0% 80%)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 25% 100%) h s l)`, `hsl(none 0% 20%)`);+ fuzzy_test_computed_color(`hsl(from hwb(0 100% 25%) h s l)`, `hsl(none 0% 80%)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 100% 100%) h s l)`, `hsl(none 0% 50%)`);+ fuzzy_test_computed_color(`hsl(from hwb(0 25% 100%) h s l)`, `hsl(none 0% 20%)`);+ fuzzy_test_computed_color(`hsl(from hwb(0 100% 100%) h s l)`, `hsl(none 0% 50%)`);++ fuzzy_test_computed_color(`hsl(from hwb(180 49.999% 50%) h s l)`, `hsl(none 0% 49.999%)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 49.998% 50%) h s l)`, `color(srgb 0.49998 0.5 0.5)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 49.999% 50%) h calc(s * 1000) l)`, `hsl(none 0% 49.999%)`);+ fuzzy_test_computed_color(`hsl(from hwb(180 49.998% 50%) h calc(s * 1000) l)`, `color(srgb 0.48999 0.50999 0.50999)`);++ fuzzy_test_computed_color(`hsl(from lch(0 20 180) h s l)`, `color(srgb -0.13099833 0.05952886 -0.00460494)`);+ fuzzy_test_computed_color(`hsl(from lch(20 0 180) h s l)`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`hsl(from lch(20 20 0) h s l)`, `color(srgb 0.2923664 0.14058899 0.19244775)`);+ fuzzy_test_computed_color(`hsl(from lch(0 0 180) h s l)`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`hsl(from lch(20 0 0) h s l)`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`hsl(from lch(0 20 0) h s l)`, `color(srgb 0.13099833 -0.05952886 0.00460494)`);+ fuzzy_test_computed_color(`hsl(from lch(0 0 0) h s l)`, `hsl(none 0% 0%)`);++ fuzzy_test_computed_color(`hsl(from lch(20 0.0015 180) h s l)`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`hsl(from lch(20 0.00151 180) h s l)`, `color(srgb 0.18936676 0.18937855 0.18937554)`);+ fuzzy_test_computed_color(`hsl(from lch(20 0.0015 180) h calc(s * 1000) l)`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`hsl(from lch(20 0.00151 180) h calc(s * 1000) l)`, `color(srgb 0.1834779 0.19526741 0.19225556)`);++ fuzzy_test_computed_color(`hsl(from oklch(0 0.2 180) h s l)`, `color(srgb -0.0266189 0.00845442 0.00006795)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0 180) h s l)`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0.2 0) h s l)`, `color(srgb 0.29595438 -0.12706564 0.07183401)`);+ fuzzy_test_computed_color(`hsl(from oklch(0 0 180) h s l)`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0 0) h s l)`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`hsl(from oklch(0 0.2 0) h s l)`, `color(srgb 0.0266189 -0.00845442 -0.00006795)`);+ fuzzy_test_computed_color(`hsl(from oklch(0 0 0) h s l)`, `hsl(none 0% 0%)`);++ fuzzy_test_computed_color(`hsl(from oklch(0.2 0.000004 180) h s l)`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0.0000041 180) h s l)`, `color(srgb 0.08609717 0.08610691 0.08610449)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0.000004 180) h calc(s * 1000) l)`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`hsl(from oklch(0.2 0.0000041 180) h calc(s * 1000) l)`, `color(srgb 0.08123521 0.09096887 0.08855551)`);++ fuzzy_test_computed_color(`hsl(from rgb(0 0 0) h s l)`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`hsl(from color(display-p3 0 0 0) h s l)`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`hsl(from lab(0 0 0) h s l)`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`hsl(from oklab(0 0 0) h s l)`, `hsl(none 0% 0%)`);++ fuzzy_test_computed_color(`hsl(from color(display-p3 0.50000333 0.49999445 0.49999517) h s l)`, `color(srgb 0.50000533 0.49999408 0.49999507)`);+ fuzzy_test_computed_color(`hsl(from color(display-p3 0.49999645 0.50000513 0.50000531) h s l)`, `color(srgb 0.4999945 0.5000055 0.5000055)`);+ fuzzy_test_computed_color(`hsl(from color(display-p3 0.50000333 0.49999445 0.49999517) h calc(s * 1000) l)`, `color(srgb 0.50562515 0.49437426 0.4953641)`);+ fuzzy_test_computed_color(`hsl(from color(display-p3 0.49999645 0.50000513 0.50000531) h calc(s * 1000) l)`, `color(srgb 0.4944997 0.50549721 0.5055003)`);++ fuzzy_test_computed_color(`color(from hsl(180 0% 50%) display-p3 r g b)`, `color(display-p3 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`color(from hsl(180 0.001% 50%) display-p3 r g b)`, `color(display-p3 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`color(from hsl(180 0.0011% 50%) display-p3 r g b)`, `color(display-p3 0.49999645 0.50000513 0.50000531)`);++ // HSL - color-mix+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 50% 50%), hsl(11 33 44))`, `color(srgb 0.66505 0.31070917 0.27495)`); // hsl(5.5 41.5% 47)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0 50%), hsl(11 33 44))`, `color(srgb 0.4557825 0.54755 0.39245)`); // hsl(95.5 16.5% 47)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 50% 0), hsl(11 33 44))`, `color(srgb 0.20326167 0.3113 0.1287)`); // hsl(95.5 41.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 0 50%), hsl(11 33 44))`, `color(srgb 0.54755 0.4066675 0.39245)`); // hsl(5.5 16.5% 47)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0 0), hsl(11 33 44))`, `color(srgb 0.213345 0.2563 0.1837)`); // hsl(95.5 16.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 50% 0), hsl(11 33 44))`, `color(srgb 0.3113 0.14543833 0.1287)`); // hsl(5.5 41.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.190355 0.1837)`); // hsl(5.5 16.5% 22)++ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0.001% 50%), hsl(11 33 44))`, `color(srgb 0.45578207 0.54755235 0.39244765)`); // hsl(95.5 16.5005% 47)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0.0011% 50%), hsl(11 33 44))`, `color(srgb 0.45578203 0.54755258 0.39244742)`); // hsl(95.5 16.50055% 47)++ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 25% 25%), hsl(11 33 44))`, `color(srgb 0.66505 0.31070917 0.27495)`); // hsl(5.5 41.5% 47)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 100% 25%), hsl(11 33 44))`, `color(srgb 0.6827 0.58029 0.5573)`); // hsl(11 16.5% 62)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 25% 100%), hsl(11 33 44))`, `color(srgb 0.3728 0.28656 0.2672)`); // hsl(11 16.5% 32)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 100% 25%), hsl(11 33 44))`, `color(srgb 0.6827 0.58029 0.5573)`); // hsl(11 16.5% 62)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 100% 100%), hsl(11 33 44))`, `color(srgb 0.54755 0.420885 0.39245)`); // hsl(11 16.5% 47)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 25% 100%), hsl(11 33 44))`, `color(srgb 0.3728 0.28656 0.2672)`); // hsl(11 16.5% 32)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 100% 100%), hsl(11 33 44))`, `color(srgb 0.54755 0.420885 0.39245)`); // hsl(11 16.5% 47)++ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 49.999% 50%), hsl(11 33 44))`, `color(srgb 0.54754418 0.42088052 0.39244583)`); // hsl(11 16.5% 46.9995)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 49.998% 50%), hsl(11 33 44))`, `color(srgb 0.45577679 0.54754888 0.39244112)`); // hsl(95.5 16.50100002% 46.9995)++ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 20 180), hsl(11 33 44))`, `color(srgb 0.50491258 -0.10064731 -0.05423751)`); // hsl(355.40163067 149.79270905% 20.21326326)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0 180), hsl(11 33 44))`, `color(srgb 0.36661137 0.28180299 0.26276437)`); // hsl(11 16.5% 31.46878726)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 20 0), hsl(11 33 44))`, `color(srgb 0.43993218 0.21654551 0.23423138)`); // hsl(355.24970702 34.02806641% 32.82388472)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 0 180), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0 0), hsl(11 33 44))`, `color(srgb 0.36661137 0.28180299 0.26276437)`); // hsl(11 16.5% 31.46878726)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 20 0), hsl(11 33 44))`, `color(srgb 0.59417534 -0.11844061 -0.06382608)`); // hsl(355.40163067 149.79270905% 23.78673674)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)++ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0.0015 180), hsl(11 33 44))`, `color(srgb 0.36661137 0.28180299 0.26276437)`); // hsl(11 16.5% 31.46878726)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0.00151 180), hsl(11 33 44))`, `color(srgb 0.31843217 0.36661447 0.26275819)`); // hsl(87.83594462 16.50155639% 31.4686328)++ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0.2 180), hsl(11 33 44))`, `color(srgb 0.45902161 -0.02810385 -0.01451808)`); // hsl(358.32661994 113.04371959% 21.54588801)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0 180), hsl(11 33 44))`, `color(srgb 0.3064557 0.23556316 0.21964851)`); // hsl(11 16.5% 26.30521022)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.2 0), hsl(11 33 44))`, `color(srgb 0.63388622 -0.10944185 -0.00282766)`); // hsl(351.39430933 141.73630395% 26.22221843)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0 180), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0 0), hsl(11 33 44))`, `color(srgb 0.3064557 0.23556316 0.21964851)`); // hsl(11 16.5% 26.30521022)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0.2 0), hsl(11 33 44))`, `color(srgb 0.47837075 -0.02928851 -0.01513007)`); // hsl(358.32661994 113.04371959% 22.454112)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)++ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.000004 180), hsl(11 33 44))`, `color(srgb 0.3064557 0.23556316 0.21964851)`); // hsl(11 16.5% 26.30521022)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.0000041 180), hsl(11 33 44))`, `color(srgb 0.26585563 0.30646187 0.21964017)`); // hsl(88.06181129 16.5028262% 26.30510205)++ fuzzy_test_computed_color(`color-mix(in hsl, rgb(0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, lab(0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0 0 0), hsl(11 33 44))`, `color(srgb 0.2563 0.19701 0.1837)`); // hsl(11 16.5% 22)++ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 0.50000333 0.49999445 0.49999517), hsl(11 33 44))`, `color(srgb 0.54755247 0.39984221 0.39244723)`); // hsl(362.86063009 16.50056255% 46.9999851)+ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 0.49999645 0.50000513 0.50000531), hsl(11 33 44))`, `color(srgb 0.45576023 0.54755258 0.39244741)`); // hsl(95.50842958 16.50055003% 46.99999989)++ // HSL - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 50% 50%))`, `color(srgb 0.75 0.25 0.25)`); // hsl(0 50% 50)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0 50%))`, `color(srgb 0.5 0.5 0.5)`); // hsl(180 0% 50)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 50% 0))`, `color(srgb 0 0 0)`); // hsl(180 50% 0)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 0 50%))`, `color(srgb 0.5 0.5 0.5)`); // hsl(0 0% 50)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0 0))`, `color(srgb 0 0 0)`); // hsl(180 0% 0)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 50% 0))`, `color(srgb 0 0 0)`); // hsl(0 50% 0)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(0 0 0))`, `color(srgb 0 0 0)`); // hsl(0 0% 0)++ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0.001% 50%))`, `color(srgb 0.5 0.5 0.5)`); // hsl(180 0.001% 50)+ fuzzy_test_computed_color(`color-mix(in hsl, hsl(180 0.0011% 50%))`, `color(srgb 0.4999945 0.5000055 0.5000055)`); // hsl(180 0.0011% 50)++ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 25% 25%))`, `color(srgb 0.75 0.25 0.25)`); // hsl(0 50% 50)+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 100% 25%))`, `hsl(none 0% 80%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 25% 100%))`, `hsl(none 0% 20%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 100% 25%))`, `hsl(none 0% 80%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 100% 100%))`, `hsl(none 0% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 25% 100%))`, `hsl(none 0% 20%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(0 100% 100%))`, `hsl(none 0% 50%)`);++ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 49.999% 50%))`, `hsl(none 0% 49.999%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, hwb(180 49.998% 50%))`, `color(srgb 0.49998 0.5 0.5)`); // hsl(180 0.00200004% 49.999)++ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 20 180))`, `color(srgb -0.13099833 0.05952886 -0.00460494)`); // hsl(339.80326134 266.58541811% -3.57347348)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0 180))`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 20 0))`, `color(srgb 0.2923664 0.14058899 0.19244775)`); // hsl(339.49941404 35.05613281% 21.64776943)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 0 180))`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0 0))`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 20 0))`, `color(srgb 0.13099833 -0.05952886 0.00460494)`); // hsl(339.80326134 266.58541811% 3.57347348)+ fuzzy_test_computed_color(`color-mix(in hsl, lch(0 0 0))`, `hsl(none 0% 0%)`);++ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0.0015 180))`, `hsl(none 0% 18.93757452%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lch(20 0.00151 180))`, `color(srgb 0.18936676 0.18937855 0.18937554)`); // hsl(164.67188923 0.00311278% 18.9372656)++ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0.2 180))`, `color(srgb -0.0266189 0.00845442 0.00006795)`); // hsl(345.65323987 193.08743918% -0.90822399)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0 180))`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.2 0))`, `color(srgb 0.29595438 -0.12706564 0.07183401)`); // hsl(331.78861866 250.47260791% 8.44443686)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0 180))`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0 0))`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0.2 0))`, `color(srgb 0.0266189 -0.00845442 -0.00006795)`); // hsl(345.65323987 193.08743918% 0.90822399)+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0 0 0))`, `hsl(none 0% 0%)`);++ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.000004 180))`, `hsl(none 0% 8.61042044%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklch(0.2 0.0000041 180))`, `color(srgb 0.08609717 0.08610691 0.08610449)`); // hsl(165.12362258 0.0056524% 8.61020409)++ fuzzy_test_computed_color(`color-mix(in hsl, rgb(0 0 0))`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 0 0 0))`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, lab(0 0 0))`, `hsl(none 0% 0%)`);+ fuzzy_test_computed_color(`color-mix(in hsl, oklab(0 0 0))`, `hsl(none 0% 0%)`);++ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 0.50000333 0.49999445 0.49999517))`, `color(srgb 0.50000533 0.49999408 0.49999507)`); // hsl(354.72126017 0.00112509% 49.9999702)+ fuzzy_test_computed_color(`color-mix(in hsl, color(display-p3 0.49999645 0.50000513 0.50000531))`, `color(srgb 0.4999945 0.5000055 0.5000055)`); // hsl(180.01685916 0.00110006% 49.99999978)++ // HWB - RCS+ fuzzy_test_computed_color(`hwb(from hsl(0 50% 50%) h w b)`, `color(srgb 0.75 0.25 0.25)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 0 50%) h w b)`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 50% 0) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from hsl(0 0 50%) h w b)`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 0 0) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from hsl(0 50% 0) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from hsl(0 0 0) h w b)`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`hwb(from hsl(180 0.001% 50%) h w b)`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`hwb(from hsl(180 0.0011% 50%) h w b)`, `color(srgb 0.4999945 0.5000055 0.5000055)`);++ fuzzy_test_computed_color(`hwb(from hwb(0 25% 25%) h w b)`, `color(srgb 0.75 0.25 0.25)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 100% 25%) h w b)`, `color(srgb 0.8 0.8 0.8)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 25% 100%) h w b)`, `color(srgb 0.2 0.2 0.2)`);+ fuzzy_test_computed_color(`hwb(from hwb(0 100% 25%) h w b)`, `color(srgb 0.8 0.8 0.8)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 100% 100%) h w b)`, `color(srgb 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`hwb(from hwb(0 25% 100%) h w b)`, `color(srgb 0.2 0.2 0.2)`);+ fuzzy_test_computed_color(`hwb(from hwb(0 100% 100%) h w b)`, `color(srgb 0.5 0.5 0.5)`);++ fuzzy_test_computed_color(`hwb(from hwb(180 99.999% 0%) h w b)`, `color(srgb 0.99999 0.99999 0.99999)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 99.999% none) h w b)`, `hwb(180 99.999% none)`);+ fuzzy_test_computed_color(`hwb(from hsl(from hwb(180 99.999% none) h s l) h w b)`, `hwb(none 100% 0%)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 99.998% 0%) h w b)`, `color(srgb 0.99998 1 1)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 0% 99.999%) h w b)`, `color(srgb 0 0 0)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 none 99.999%) h w b)`, `hwb(180 none 99.999%)`);+ fuzzy_test_computed_color(`hwb(from hsl(from hwb(180 none 99.999%) h s l) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 0% 99.998%) h w b)`, `color(srgb 0 0.00002 0.00002)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 49.999% 50%) h w b)`, `color(srgb 0.49999 0.49999 0.49999)`);+ fuzzy_test_computed_color(`hwb(from hwb(180 49.998% 50%) h w b)`, `color(srgb 0.49998 0.5 0.5)`);++ fuzzy_test_computed_color(`hwb(from lch(0 20 180) h w b)`, `color(srgb -0.13099833 0.05952886 -0.00460494)`);+ fuzzy_test_computed_color(`hwb(from lch(20 0 180) h w b)`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`hwb(from lch(20 20 0) h w b)`, `color(srgb 0.2923664 0.14058899 0.19244775)`);+ fuzzy_test_computed_color(`hwb(from lch(0 0 180) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from lch(20 0 0) h w b)`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`hwb(from lch(0 20 0) h w b)`, `color(srgb 0.13099833 -0.05952886 0.00460494)`);+ fuzzy_test_computed_color(`hwb(from lch(0 0 0) h w b)`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`hwb(from lch(20 0.0015 180) h w b)`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`hwb(from lch(20 0.00151 180) h w b)`, `color(srgb 0.18936676 0.18937855 0.18937554)`);++ fuzzy_test_computed_color(`hwb(from oklch(0 0.2 180) h w b)`, `color(srgb -0.0266189 0.00845442 0.00006795)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.2 0 180) h w b)`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.2 0.2 0) h w b)`, `color(srgb 0.29595438 -0.12706564 0.07183401)`);+ fuzzy_test_computed_color(`hwb(from oklch(0 0 180) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.2 0 0) h w b)`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`hwb(from oklch(0 0.2 0) h w b)`, `color(srgb 0.0266189 -0.00845442 -0.00006795)`);+ fuzzy_test_computed_color(`hwb(from oklch(0 0 0) h w b)`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`hwb(from oklch(0.8 0.000004 180) h w b)`, `hwb(none 74.3205918% 25.6794082%)`);+ fuzzy_test_computed_color(`hwb(from oklch(0.8 0.0000041 180) h w b)`, `color(srgb 0.74319598 0.74320974 0.74320633)`);++ fuzzy_test_computed_color(`hwb(from rgb(0 0 0) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from color(display-p3 0 0 0) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from lab(0 0 0) h w b)`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`hwb(from oklab(0 0 0) h w b)`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`hwb(from color(display-p3 0.50000333 0.49999445 0.49999517) h w b)`, `color(srgb 0.50000533 0.49999408 0.49999507)`);+ fuzzy_test_computed_color(`hwb(from color(display-p3 0.49999645 0.50000513 0.50000531) h w b)`, `color(srgb 0.4999945 0.5000055 0.5000055)`);++ fuzzy_test_computed_color(`color(from hwb(180 50% 50%) display-p3 r g b)`, `color(display-p3 0.5 0.5 0.5)`);+ fuzzy_test_computed_color(`color(from hwb(180 49.999% 50%) display-p3 r g b)`, `color(display-p3 0.49999 0.49999 0.49999)`);+ fuzzy_test_computed_color(`color(from hwb(180 49.998% 50%) display-p3 r g b)`, `color(display-p3 0.49998355 0.49999934 0.49999966)`);++ // HWB - color-mix+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 50% 50%), hwb(11 33 44))`, `color(srgb 0.655 0.32345833 0.29)`); // hwb(5.5 29% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0 50%), hwb(11 33 44))`, `color(srgb 0.53 0.43608333 0.415)`); // hwb(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 50% 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 0 50%), hwb(11 33 44))`, `color(srgb 0.53 0.43608333 0.415)`); // hwb(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 50% 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)++ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0.001% 50%), hwb(11 33 44))`, `color(srgb 0.53 0.43608333 0.415)`); // hwb(11 41.5% 47%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0.0011% 50%), hwb(11 33 44))`, `color(srgb 0.46195783 0.53000275 0.41499725)`); // hwb(95.5 41.499725% 46.999725%)++ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 25% 25%), hwb(11 33 44))`, `color(srgb 0.655 0.32345833 0.29)`); // hwb(5.5 29% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 100% 25%), hwb(11 33 44))`, `color(srgb 0.65841584 0.65841584 0.65841584)`); // hwb(95.5 66.5% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 25% 100%), hwb(11 33 44))`, `color(srgb 0.28712871 0.28712871 0.28712871)`); // hwb(95.5 29% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 100% 25%), hwb(11 33 44))`, `color(srgb 0.65841584 0.65841584 0.65841584)`); // hwb(5.5 66.5% 34.5%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 100% 100%), hwb(11 33 44))`, `color(srgb 0.4801444 0.4801444 0.4801444)`); // hwb(95.5 66.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 25% 100%), hwb(11 33 44))`, `color(srgb 0.28712871 0.28712871 0.28712871)`); // hwb(5.5 29% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 100% 100%), hwb(11 33 44))`, `color(srgb 0.4801444 0.4801444 0.4801444)`); // hwb(5.5 66.5% 72%)++ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 99.999% 0%), hwb(11 33 44))`, `color(srgb 0.71195538 0.78 0.664995)`); // hwb(95.5 66.4995% 22%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 99.999% none), hwb(11 33 44))`, `color(srgb 0.60180815 0.60180815 0.60180815)`); // hwb(95.5 66.4995% 44%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(from hwb(180 99.999% none) h s l), hwb(11 33 44))`, `color(srgb 0.78 0.68608333 0.665)`); // hwb(11 66.5% 22%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 99.998% 0%), hwb(11 33 44))`, `color(srgb 0.71195242 0.78 0.66499)`); // hwb(95.5 66.499% 22%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 0% 99.999%), hwb(11 33 44))`, `color(srgb 0.21196037 0.280005 0.165)`); // hwb(95.5 16.5% 71.9995%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 none 99.999%), hwb(11 33 44))`, `color(srgb 0.31428721 0.31428721 0.31428721)`); // hwb(95.5 33% 71.9995%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(from hwb(180 none 99.999%) h s l), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 0% 99.998%), hwb(11 33 44))`, `color(srgb 0.21196242 0.28001 0.165)`); // hwb(95.5 16.5% 71.999%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 49.999% 50%), hwb(11 33 44))`, `color(srgb 0.46195538 0.53 0.414995)`); // hwb(95.5 41.4995% 47%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 49.998% 50%), hwb(11 33 44))`, `color(srgb 0.46195242 0.53 0.41499)`); // hwb(95.5 41.499% 47%)++ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 20 180), hwb(11 33 44))`, `color(srgb 0.22074713 0.30976443 0.09950084)`); // hwb(85.40163067 9.95008365% 69.02355713%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0 180), hwb(11 33 44))`, `color(srgb 0.37468787 0.28077121 0.25968787)`); // hwb(11 25.96878726% 62.53121274%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 20 0), hwb(11 33 44))`, `color(srgb 0.4261832 0.23529449 0.25040745)`); // hwb(355.24970702 23.52944932% 57.38167989%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 0 180), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0 0), hwb(11 33 44))`, `color(srgb 0.37468787 0.28077121 0.25968787)`); // hwb(11 25.96878726% 62.53121274%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 20 0), hwb(11 33 44))`, `color(srgb 0.34549916 0.13523557 0.15135007)`); // hwb(355.40163067 13.52355713% 65.45008365%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)++ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0.0015 180), hwb(11 33 44))`, `color(srgb 0.37468787 0.28077121 0.25968787)`); // hwb(11 25.96878726% 62.53121274%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0.00151 180), hwb(11 33 44))`, `color(srgb 0.32133431 0.37468928 0.25968338)`); // hwb(87.83594462 25.96833806% 62.53107246%)++ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0.2 180), hwb(11 33 44))`, `color(srgb 0.22165528 0.28422721 0.15169055)`); // hwb(88.32661994 15.16905478% 71.57727877%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0 180), hwb(11 33 44))`, `color(srgb 0.3230521 0.22913544 0.2080521)`); // hwb(11 20.80521022% 67.69478978%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0.2 0), hwb(11 33 44))`, `color(srgb 0.42797719 0.10146718 0.14829791)`); // hwb(351.39430933 10.14671781% 57.20228096%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0 180), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0 0), hwb(11 33 44))`, `color(srgb 0.3230521 0.22913544 0.2080521)`); // hwb(11 20.80521022% 67.69478978%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0.2 0), hwb(11 33 44))`, `color(srgb 0.29330945 0.16077279 0.16446919)`); // hwb(358.32661994 16.07727877% 70.66905478%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)++ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.8 0.000004 180), hwb(11 33 44))`, `color(srgb 0.65160296 0.55768629 0.53660296)`); // hwb(11 53.6602959% 34.8397041%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.8 0.0000041 180), hwb(11 33 44))`, `color(srgb 0.5978169 0.65160487 0.53659799)`); // hwb(88.06161125 53.6597988% 34.83951294%)++ fuzzy_test_computed_color(`color-mix(in hwb, rgb(0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, lab(0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0 0 0), hwb(11 33 44))`, `color(srgb 0.28 0.18608333 0.165)`); // hwb(11 16.5% 72%)++ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 0.50000333 0.49999445 0.49999517), hwb(11 33 44))`, `color(srgb 0.53000266 0.42048018 0.41499704)`); // hwb(362.86063009 41.49970382% 46.99973363%)+ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 0.49999645 0.50000513 0.50000531), hwb(11 33 44))`, `color(srgb 0.46194167 0.53000275 0.41499725)`); // hwb(95.50842958 41.49972488% 46.9997251%)++ // HWB - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 50% 50%))`, `color(srgb 0.75 0.25 0.25)`); // hwb(0 25% 25%)+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0 50%))`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 50% 0))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 0 50%))`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0 0))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 50% 0))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(0 0 0))`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0.001% 50%))`, `hwb(none 50% 50%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(180 0.0011% 50%))`, `color(srgb 0.4999945 0.5000055 0.5000055)`); // hwb(180 49.99945% 49.99945%)++ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 25% 25%))`, `color(srgb 0.75 0.25 0.25)`); // hwb(0 25% 25%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 100% 25%))`, `color(srgb 0.8 0.8 0.8)`); // hwb(180 100% 25%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 25% 100%))`, `color(srgb 0.2 0.2 0.2)`); // hwb(180 25% 100%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 100% 25%))`, `color(srgb 0.8 0.8 0.8)`); // hwb(0 100% 25%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 100% 100%))`, `color(srgb 0.5 0.5 0.5)`); // hwb(180 100% 100%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 25% 100%))`, `color(srgb 0.2 0.2 0.2)`); // hwb(0 25% 100%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(0 100% 100%))`, `color(srgb 0.5 0.5 0.5)`); // hwb(0 100% 100%)++ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 99.999% 0%))`, `color(srgb 0.99999 0.99999 0.99999)`); // hwb(180 99.999% 0%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 99.999% none))`, `hwb(180 99.999% none)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(from hwb(180 99.999% none) h s l))`, `hwb(none 100% 0%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 99.998% 0%))`, `color(srgb 0.99998 1 1)`); // hwb(180 99.998% 0%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 0% 99.999%))`, `color(srgb 0 0 0)`); // hwb(180 0% 99.999%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 none 99.999%))`, `hwb(180 none 99.999%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hsl(from hwb(180 none 99.999%) h s l))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 0% 99.998%))`, `color(srgb 0 0.00002 0.00002)`); // hwb(180 0% 99.998%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 49.999% 50%))`, `color(srgb 0.49999 0.49999 0.49999)`); // hwb(180 49.999% 50%)+ fuzzy_test_computed_color(`color-mix(in hwb, hwb(180 49.998% 50%))`, `color(srgb 0.49998 0.5 0.5)`); // hwb(180 49.998% 50%)++ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 20 180))`, `color(srgb -0.13099833 0.05952886 -0.00460494)`); // hwb(159.80326134 -13.09983271% 94.04711426%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0 180))`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 20 0))`, `color(srgb 0.2923664 0.14058899 0.19244775)`); // hwb(339.49941404 14.05889863% 70.76335977%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 0 180))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0 0))`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 20 0))`, `color(srgb 0.13099833 -0.05952886 0.00460494)`); // hwb(339.80326134 -5.95288574% 86.90016729%)+ fuzzy_test_computed_color(`color-mix(in hwb, lch(0 0 0))`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0.0015 180))`, `hwb(none 18.93757452% 81.06242548%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lch(20 0.00151 180))`, `color(srgb 0.18936676 0.18937855 0.18937554)`); // hwb(164.67188923 18.93667613% 81.06214492%)++ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0.2 180))`, `color(srgb -0.0266189 0.00845442 0.00006795)`); // hwb(165.65323987 -2.66189044% 99.15455754%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0 180))`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0.2 0))`, `color(srgb 0.29595438 -0.12706564 0.07183401)`); // hwb(331.78861866 -12.70656437% 70.40456191%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0 180))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.2 0 0))`, `hwb(none 8.61042044% 91.38957956%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0.2 0))`, `color(srgb 0.0266189 -0.00845442 -0.00006795)`); // hwb(345.65323987 -0.84544246% 97.33810956%)+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0 0 0))`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.8 0.000004 180))`, `hwb(none 74.3205918% 25.6794082%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklch(0.8 0.0000041 180))`, `color(srgb 0.74319598 0.74320974 0.74320633)`); // hwb(165.1232225 74.31959759% 25.67902588%)++ fuzzy_test_computed_color(`color-mix(in hwb, rgb(0 0 0))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 0 0 0))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, lab(0 0 0))`, `hwb(none 0% 100%)`);+ fuzzy_test_computed_color(`color-mix(in hwb, oklab(0 0 0))`, `hwb(none 0% 100%)`);++ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 0.50000333 0.49999445 0.49999517))`, `color(srgb 0.50000533 0.49999408 0.49999507)`); // hwb(354.72126017 49.99940765% 49.99946726%)+ fuzzy_test_computed_color(`color-mix(in hwb, color(display-p3 0.49999645 0.50000513 0.50000531))`, `color(srgb 0.4999945 0.5000055 0.5000055)`); // hwb(180.01685916 49.99944975% 49.99945019%)++ // LCH - RCS+ fuzzy_test_computed_color(`lch(from hsl(0 50% 50%) l c h)`, `lch(46.42043661 59.74639249 29.95665674)`);+ fuzzy_test_computed_color(`lch(from hsl(180 0 50%) l c h)`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 50% 0) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(0 0 50%) l c h)`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 0 0) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(0 50% 0) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(0 0 0) l c h)`, `lch(0 0 none)`);++ fuzzy_test_computed_color(`lch(from hsl(180 0.001% 50%) l c h)`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 0.0011% 50%) l c h)`, `lch(53.38927006 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 0.001% 50%) l calc(c * 1000) h)`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`lch(from hsl(180 0.0011% 50%) l calc(c * 1000) h)`, `lch(53.38927006 0 none)`);++ fuzzy_test_computed_color(`lch(from hwb(0 25% 25%) l c h)`, `lch(46.42043661 59.74639249 29.95665674)`);+ fuzzy_test_computed_color(`lch(from hwb(180 100% 25%) l c h)`, `lch(82.04578167 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 25% 100%) l c h)`, `lch(21.24673129 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(0 100% 25%) l c h)`, `lch(82.04578167 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 100% 100%) l c h)`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(0 25% 100%) l c h)`, `lch(21.24673129 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(0 100% 100%) l c h)`, `lch(53.38896474 0 none)`);++ fuzzy_test_computed_color(`lch(from hwb(180 99.999% 0%) l c h)`, `lch(99.99912038 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 99.96% 0%) l c h)`, `lch(99.99217316 0.03700168 199.69671723)`);+ fuzzy_test_computed_color(`lch(from hwb(180 49.999% 50%) l c h)`, `lch(53.38796454 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 49.9% 50%) l c h)`, `lch(53.36673188 0.10515489 199.68771363)`);+ fuzzy_test_computed_color(`lch(from hwb(180 99.999% 0%) l calc(c * 1000) h)`, `lch(99.99912038 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 99.96% 0%) l calc(c * 1000) h)`, `lch(99.99217316 37.00167721 199.69671723)`);+ fuzzy_test_computed_color(`lch(from hwb(180 49.999% 50%) l calc(c * 1000) h)`, `lch(53.38796454 0 none)`);+ fuzzy_test_computed_color(`lch(from hwb(180 49.9% 50%) l calc(c * 1000) h)`, `lch(53.36673188 105.15489315 199.68771363)`);++ fuzzy_test_computed_color(`lch(from lch(0 20 180) l c h)`, `lch(0 20 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 0 180) l c h)`, `lch(20 0 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 20 0) l c h)`, `lch(20 20 0)`);+ fuzzy_test_computed_color(`lch(from lch(0 0 180) l c h)`, `lch(0 0 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 0 0) l c h)`, `lch(20 0 0)`);+ fuzzy_test_computed_color(`lch(from lch(0 20 0) l c h)`, `lch(0 20 0)`);+ fuzzy_test_computed_color(`lch(from lch(0 0 0) l c h)`, `lch(0 0 0)`);++ fuzzy_test_computed_color(`lch(from lch(20 0.0015 180) l c h)`, `lch(20 0.0015 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 0.00151 180) l c h)`, `lch(20 0.00151 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 0.0015 180) l calc(c * 1000) h)`, `lch(20 1.5 180)`);+ fuzzy_test_computed_color(`lch(from lch(20 0.00151 180) l calc(c * 1000) h)`, `lch(20 1.51 180)`);++ fuzzy_test_computed_color(`lch(from oklch(0 0.2 180) l c h)`, `lch(0.00996014 2.6503948 181.20369565)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0 180) l c h)`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0.2 0) l c h)`, `lch(5.10873217 59.48824051 1.24207317)`);+ fuzzy_test_computed_color(`lch(from oklch(0 0 180) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0 0) l c h)`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`lch(from oklch(0 0.2 0) l c h)`, `lch(0 2.6503948 1.20369565)`);+ fuzzy_test_computed_color(`lch(from oklch(0 0 0) l c h)`, `lch(0 0 none)`);++ fuzzy_test_computed_color(`lch(from oklch(0.2 0.000004 180) l c h)`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0.0000041 180) l c h)`, `lch(7.22641849 0 none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0.000004 180) l calc(c * 1000) h)`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`lch(from oklch(0.2 0.0000041 180) l calc(c * 1000) h)`, `lch(7.22641849 0 none)`);++ fuzzy_test_computed_color(`lch(from rgb(0 0 0) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from color(display-p3 0 0 0) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from lab(0 0 0) l c h)`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`lch(from oklab(0 0 0) l c h)`, `lch(0 0 none)`);++ fuzzy_test_computed_color(`lch(from color(display-p3 0.18937027 0.189377662 0.189375638) l c h)`, `lch(20 0 none)`);+ fuzzy_test_computed_color(`lch(from color(display-p3 0.18932064 0.18941374 0.18938824) l c h)`, `lch(20.00163173 0.01510584 180.02265083)`);++ fuzzy_test_computed_color(`color(from lch(20 0 180) display-p3 r g b)`, `color(display-p3 0.18937575 0.18937575 0.18937575)`);+ fuzzy_test_computed_color(`color(from lch(20 0.0015 180) display-p3 r g b)`, `color(display-p3 0.18937575 0.18937575 0.18937575)`);+ fuzzy_test_computed_color(`color(from lch(20 0.00151 180) display-p3 r g b)`, `color(display-p3 0.18936885 0.18937816 0.18937561)`);++ // LCH - color-mix+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 50% 50%), lch(11 33 44))`, `lch(28.71021831 46.37319624 36.97832837)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0 50%), lch(11 33 44))`, `lch(32.19448237 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 50% 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 0 50%), lch(11 33 44))`, `lch(32.19448237 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 50% 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0.001% 50%), lch(11 33 44))`, `lch(32.19448237 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0.0011% 50%), lch(11 33 44))`, `lch(32.19463503 16.5 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 25% 25%), lch(11 33 44))`, `lch(28.71021831 46.37319624 36.97832837)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 100% 25%), lch(11 33 44))`, `lch(46.52289084 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 25% 100%), lch(11 33 44))`, `lch(16.12336565 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 100% 25%), lch(11 33 44))`, `lch(46.52289084 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 100% 100%), lch(11 33 44))`, `lch(32.19448237 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 25% 100%), lch(11 33 44))`, `lch(16.12336565 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 100% 100%), lch(11 33 44))`, `lch(32.19448237 16.5 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 99.999% 0%), lch(11 33 44))`, `lch(55.49956019 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 99.96% 0%), lch(11 33 44))`, `lch(55.49608658 16.51850084 121.84835861)`);++ fuzzy_test_computed_color(`color-mix(in lch, lch(0 20 180), lch(11 33 44))`, `lch(5.5 26.5 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0 180), lch(11 33 44))`, `lch(15.5 16.5 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 20 0), lch(11 33 44))`, `lch(15.5 26.5 22)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(0 0 180), lch(11 33 44))`, `lch(5.5 16.5 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0 0), lch(11 33 44))`, `lch(15.5 16.5 22)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(0 20 0), lch(11 33 44))`, `lch(5.5 26.5 22)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(0 0 0), lch(11 33 44))`, `lch(5.5 16.5 22)`);++ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0.0015 180), lch(11 33 44))`, `lch(15.5 16.50075 112)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0.00151 180), lch(11 33 44))`, `lch(15.5 16.500755 112)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0.2 180), lch(11 33 44))`, `lch(5.50498007 17.8251974 112.60184783)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0 180), lch(11 33 44))`, `lch(9.11318519 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.2 0), lch(11 33 44))`, `lch(8.05436608 46.24412025 22.62103659)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0 180), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0 0), lch(11 33 44))`, `lch(9.11318519 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0.2 0), lch(11 33 44))`, `lch(5.49501993 17.8251974 22.60184783)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.000004 180), lch(11 33 44))`, `lch(9.11318519 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.0000041 180), lch(11 33 44))`, `lch(9.11320925 16.5 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, rgb(0 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 0 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(0 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0 0 0), lch(11 33 44))`, `lch(5.5 16.5 44)`);++ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 0.18937027 0.189377662 0.189375638), lch(11 33 44))`, `lch(15.5 16.5 44)`);+ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 0.18932064 0.18941374 0.18938824), lch(11 33 44))`, `lch(15.50081587 16.50755292 112.01132542)`);++ // LCH - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 50% 50%))`, `lch(46.42043661 59.74639249 29.95665674)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0 50%))`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 50% 0))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 0 50%))`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0 0))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 50% 0))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(0 0 0))`, `lch(0 0 none)`);++ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0.001% 50%))`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hsl(180 0.0011% 50%))`, `lch(53.38927006 0 none)`);++ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 25% 25%))`, `lch(46.42043661 59.74639249 29.95665674)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 100% 25%))`, `lch(82.04578167 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 25% 100%))`, `lch(21.24673129 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 100% 25%))`, `lch(82.04578167 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 100% 100%))`, `lch(53.38896474 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 25% 100%))`, `lch(21.24673129 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(0 100% 100%))`, `lch(53.38896474 0 none)`);++ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 99.999% 0%))`, `lch(99.99912038 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, hwb(180 99.96% 0%))`, `lch(99.99217316 0.03700168 199.69671723)`);++ fuzzy_test_computed_color(`color-mix(in lch, lch(0 20 180))`, `lch(0 20 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0 180))`, `lch(20 0 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 20 0))`, `lch(20 20 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(0 0 180))`, `lch(0 0 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0 0))`, `lch(20 0 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(0 20 0))`, `lch(0 20 0)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(0 0 0))`, `lch(0 0 0)`);++ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0.0015 180))`, `lch(20 0.0015 180)`);+ fuzzy_test_computed_color(`color-mix(in lch, lch(20 0.00151 180))`, `lch(20 0.00151 180)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0.2 180))`, `lch(0.00996014 2.6503948 181.20369565)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0 180))`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.2 0))`, `lch(5.10873217 59.48824051 1.24207317)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0 180))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0 0))`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0.2 0))`, `lch(-0.00996014 2.6503948 1.20369565)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0 0 0))`, `lch(0 0 none)`);++ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.000004 180))`, `lch(7.22637037 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklch(0.2 0.0000041 180))`, `lch(7.22641849 0 none)`);++ fuzzy_test_computed_color(`color-mix(in lch, rgb(0 0 0))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 0 0 0))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, lab(0 0 0))`, `lch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, oklab(0 0 0))`, `lch(0 0 none)`);++ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 0.18937027 0.189377662 0.189375638))`, `lch(20 0 none)`);+ fuzzy_test_computed_color(`color-mix(in lch, color(display-p3 0.18932064 0.18941374 0.18938824))`, `lch(20.00163173 0.01510584 180.02265083)`);++ // oklch - RCS+ fuzzy_test_computed_color(`oklch(from hsl(0 50% 50%) l c h)`, `oklch(0.55233858 0.16366995 24.21253898)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 0 50%) l c h)`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 50% 0) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(0 0 50%) l c h)`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 0 0) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(0 50% 0) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(0 0 0) l c h)`, `oklch(0 0 none)`);++ fuzzy_test_computed_color(`oklch(from hsl(180 0.001% 50%) l c h)`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 0.0011% 50%) l c h)`, `oklch(0.59818306 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 0.001% 50%) l calc(c * 1000) h)`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`oklch(from hsl(180 0.0011% 50%) l calc(c * 1000) h)`, `oklch(0.59818306 0 none)`);++ fuzzy_test_computed_color(`oklch(from hwb(0 25% 25%) l c h)`, `oklch(0.55233858 0.16366995 24.21253898)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 100% 25%) l c h)`, `oklch(0.84522226 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 25% 100%) l c h)`, `oklch(0.32109251 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(0 100% 25%) l c h)`, `oklch(0.84522226 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 100% 100%) l c h)`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(0 25% 100%) l c h)`, `oklch(0.32109251 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(0 100% 100%) l c h)`, `oklch(0.59818073 0 none)`);++ fuzzy_test_computed_color(`oklch(from hwb(180 99.999% 0%) l c h)`, `oklch(0.99999242 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 99.96% 0%) l c h)`, `oklch(0.9999228 0.00010809 197.15662501)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 99.999% 0%) l calc(c * 1000) h)`, `oklch(0.99999242 0 none)`);+ fuzzy_test_computed_color(`oklch(from hwb(180 99.96% 0%) l calc(c * 1000) h)`, `oklch(0.9999228 0.10809394 197.15662501)`);++ fuzzy_test_computed_color(`oklch(from lch(0 20 180) l c h)`, `oklch(0 0.26412556 175.27132911)`);+ fuzzy_test_computed_color(`oklch(from lch(20 0 180) l c h)`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`oklch(from lch(20 20 0) l c h)`, `oklch(0.31697196 0.06085528 359.39300302)`);+ fuzzy_test_computed_color(`oklch(from lch(0 0 180) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from lch(20 0 0) l c h)`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`oklch(from lch(0 20 0) l c h)`, `oklch(0.05666101 0.26412556 355.27132911)`);+ fuzzy_test_computed_color(`oklch(from lch(0 0 0) l c h)`, `oklch(0 0 none)`);++ fuzzy_test_computed_color(`oklch(from lch(20 0.0015 180) l c h)`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`oklch(from lch(20 0.01 180) l c h)`, `oklch(0.31034162 0.00002954 179.50905119)`);+ fuzzy_test_computed_color(`oklch(from lch(20 0.0015 180) l calc(c * 1000) h)`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`oklch(from lch(20 0.01 180) l calc(c * 1000) h)`, `oklch(0.31034162 0.02954142 179.50905119)`);++ fuzzy_test_computed_color(`oklch(from oklch(0 0.2 180) l c h)`, `oklch(0 0.2 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0 180) l c h)`, `oklch(0.2 0 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0.2 0) l c h)`, `oklch(0.2 0.2 0)`);+ fuzzy_test_computed_color(`oklch(from oklch(0 0 180) l c h)`, `oklch(0 0 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0 0) l c h)`, `oklch(0.2 0 0)`);+ fuzzy_test_computed_color(`oklch(from oklch(0 0.2 0) l c h)`, `oklch(0 0.2 0)`);+ fuzzy_test_computed_color(`oklch(from oklch(0 0 0) l c h)`, `oklch(0 0 0)`);++ fuzzy_test_computed_color(`oklch(from oklch(0.2 0.000004 180) l c h)`, `oklch(0.2 0.000004 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0.0000041 180) l c h)`, `oklch(0.2 0.0000041 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0.000004 180) l calc(c * 1000) h)`, `oklch(0.2 0.004 180)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.2 0.0000041 180) l calc(c * 1000) h)`, `oklch(0.2 0.0041 180)`);++ fuzzy_test_computed_color(`oklch(from rgb(0 0 0) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from color(display-p3 0 0 0) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from lab(0 0 0) l c h)`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`oklch(from oklab(0 0 0) l c h)`, `oklch(0 0 none)`);++ fuzzy_test_computed_color(`oklch(from color(display-p3 0.08626827 0.08598627 0.08606127) l c h)`, `oklch(0.19996544 0.00015056 359.99644831)`);+ fuzzy_test_computed_color(`oklch(from color(display-p3 0.08588134 0.08626534 0.08616334) l c h)`, `oklch(0.20004795 0.00020486 179.97939799)`);++ fuzzy_test_computed_color(`color(from oklch(0.5 0 180) display-p3 r g b)`, `color(display-p3 0.38857286 0.38857286 0.38857286)`);+ fuzzy_test_computed_color(`color(from oklch(0.5 0.000004 180) display-p3 r g b)`, `color(display-p3 0.38857286 0.38857286 0.38857286)`);+ fuzzy_test_computed_color(`color(from oklch(0.5 0.0000041 180) display-p3 r g b)`, `color(display-p3 0.38856619 0.38857585 0.38857329)`);++ // oklch - color-mix+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 50% 50%), oklch(0.11 0.33 0.44))`, `oklch(0.33116929 0.24683498 12.32626949)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0 50%), oklch(0.11 0.33 0.44))`, `oklch(0.35409037 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 50% 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 0 50%), oklch(0.11 0.33 0.44))`, `oklch(0.35409037 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 50% 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0.001% 50%), oklch(0.11 0.33 0.44))`, `oklch(0.35409037 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0.0011% 50%), oklch(0.11 0.33 0.44))`, `oklch(0.35409153 0.165 0.44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 25% 25%), oklch(0.11 0.33 0.44))`, `oklch(0.33116929 0.24683498 12.32626949)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 100% 25%), oklch(0.11 0.33 0.44))`, `oklch(0.47761113 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 25% 100%), oklch(0.11 0.33 0.44))`, `oklch(0.21554626 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 100% 25%), oklch(0.11 0.33 0.44))`, `oklch(0.47761113 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 100% 100%), oklch(0.11 0.33 0.44))`, `oklch(0.35409037 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 25% 100%), oklch(0.11 0.33 0.44))`, `oklch(0.21554626 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 100% 100%), oklch(0.11 0.33 0.44))`, `oklch(0.35409037 0.165 0.44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 99.999% 0%), oklch(0.11 0.33 0.44))`, `oklch(0.55499621 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 99.96% 0%), oklch(0.11 0.33 0.44))`, `oklch(0.5549614 0.16505405 278.79831251)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 20 180), oklch(0.11 0.33 0.44))`, `oklch(0.02666949 0.29706278 87.85566456)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0 180), oklch(0.11 0.33 0.44))`, `oklch(0.21017241 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 20 0), oklch(0.11 0.33 0.44))`, `oklch(0.21348598 0.19542764 359.91650151)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 0 180), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.21017241 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 20 0), oklch(0.11 0.33 0.44))`, `oklch(0.08333051 0.29706278 357.85566456)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0.0015 180), oklch(0.11 0.33 0.44))`, `oklch(0.21017241 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0.00151 180), oklch(0.11 0.33 0.44))`, `oklch(0.21017217 0.16500223 89.97450216)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0.2 180), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.265 90.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0 180), oklch(0.11 0.33 0.44))`, `oklch(0.155 0.165 90.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.2 0), oklch(0.11 0.33 0.44))`, `oklch(0.155 0.265 0.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0 180), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 90.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.155 0.165 0.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0.2 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.265 0.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.22)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.000004 180), oklch(0.11 0.33 0.44))`, `oklch(0.155 0.165002 90.22)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.0000041 180), oklch(0.11 0.33 0.44))`, `oklch(0.155 0.16500205 90.22)`);++ fuzzy_test_computed_color(`color-mix(in oklch, rgb(0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0 0 0), oklch(0.11 0.33 0.44))`, `oklch(0.055 0.165 0.44)`);++ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 0.08626827 0.08598627 0.08606127), oklch(0.11 0.33 0.44))`, `oklch(0.15498272 0.16507528 0.21822416)`);+ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 0.08588134 0.08626534 0.08616334), oklch(0.11 0.33 0.44))`, `oklch(0.15502398 0.16510243 90.209699)`);++ // oklch - color-mix : single color input+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 50% 50%))`, `oklch(0.55233858 0.16366995 24.21253898)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0 50%))`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 50% 0))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 0 50%))`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0 0))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 50% 0))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(0 0 0))`, `oklch(0 0 none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0.001% 50%))`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hsl(180 0.0011% 50%))`, `oklch(0.59818306 0 none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 25% 25%))`, `oklch(0.55233858 0.16366995 24.21253898)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 100% 25%))`, `oklch(0.84522226 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 25% 100%))`, `oklch(0.32109251 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 100% 25%))`, `oklch(0.84522226 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 100% 100%))`, `oklch(0.59818073 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 25% 100%))`, `oklch(0.32109251 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(0 100% 100%))`, `oklch(0.59818073 0 none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 99.999% 0%))`, `oklch(0.99999242 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, hwb(180 99.96% 0%))`, `oklch(0.9999228 0.00010809 197.15662501)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 20 180))`, `oklch(-0.05666101 0.26412556 175.27132911)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0 180))`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 20 0))`, `oklch(0.31697196 0.06085528 359.39300302)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 0 180))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0 0))`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 20 0))`, `oklch(0.05666101 0.26412556 355.27132911)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(0 0 0))`, `oklch(0 0 none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0.0015 180))`, `oklch(0.31034483 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lch(20 0.01 180))`, `oklch(0.31034162 0.00002954 179.50905119)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0.2 180))`, `oklch(0 0.2 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0 180))`, `oklch(0.2 0 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.2 0))`, `oklch(0.2 0.2 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0 180))`, `oklch(0 0 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0 0))`, `oklch(0.2 0 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0.2 0))`, `oklch(0 0.2 0)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0 0 0))`, `oklch(0 0 0)`);++ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.000004 180))`, `oklch(0.2 0.000004 180)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklch(0.2 0.0000041 180))`, `oklch(0.2 0.0000041 180)`);++ fuzzy_test_computed_color(`color-mix(in oklch, rgb(0 0 0))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 0 0 0))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, lab(0 0 0))`, `oklch(0 0 none)`);+ fuzzy_test_computed_color(`color-mix(in oklch, oklab(0 0 0))`, `oklch(0 0 none)`);++ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 0.08626827 0.08598627 0.08606127))`, `oklch(0.19996544 0.00015056 359.99644831)`);+ fuzzy_test_computed_color(`color-mix(in oklch, color(display-p3 0.08588134 0.08626534 0.08616334))`, `oklch(0.20004795 0.00020486 179.97939799)`);+</script>+</body>+</html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-relative-color.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-relative-color.htmlindex bad5e005c7c..d631c1f7880 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-relative-color.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-relative-color.html@@ -111,7 +111,7 @@fuzzy_test_computed_color(`rgb(from rebeccapurple r calc(g * .5 + g * .5) 10)`, `color(srgb 0.4 0.2 0.0392)`);fuzzy_test_computed_color(`rgb(from rebeccapurple r calc(b * .5 - g * .5) 10)`, `color(srgb 0.4 0.2 0.0392)`);fuzzy_test_computed_color(`rgb(from rgb(20%, 40%, 60%, 80%) calc(r) calc(g) calc(b) / calc(alpha))`, `color(srgb 0.2 0.4 0.6 / 0.8)`);- fuzzy_test_computed_color(`rgb(from rgb(100 110 120 / 0.8) calc(r + 1) calc(g + 1) calc(b + 1) / calc(alpha + 0.01))`, `color(srgb 0.396 0.435 0.474 / 0.81)`); // rgb(101 111 121)+ fuzzy_test_computed_color(`rgb(from rgb(100 110 120 / 0.8) calc(r + 1) calc(g + 1) calc(b + 1) / calc(alpha + 0.01))`, `color(srgb 0.396 0.435 0.475 / 0.81)`); // rgb(101 111 121)fuzzy_test_computed_color(`rgb(from rebeccapurple calc((r / 255) * 100%) calc((g / 255) * 100%) calc((b / 255) * 100%) / calc(alpha * 100%))`, `color(srgb 0.4 0.2 0.6)`);// Alpha is clamped to [0,1]@@ -208,7 +208,7 @@// Component keywords resolve to <number>.fuzzy_test_computed_color(`hsl(from hsl(50 50 50) h s calc((sin(l) + 1) * 50))`, `color(srgb 0.553 0.492 0.184)`);- fuzzy_test_computed_color(`hsl(from hsl(50 50 50) h s calc((sin(sin(l)) + 1) * 50))`, `color(srgb 0.553 0.492 0.184)`);+ fuzzy_test_computed_color(`hsl(from hsl(50 50 50) h s calc((sin(sin(l)) + 1) * 50))`, `color(srgb 0.555 0.494 0.185)`);fuzzy_test_computed_color(`hsl(from hsl(50 50 50) h s calc((sin(asin(sin(l))) + 1) * 50))`, `color(srgb 0.553 0.492 0.184)`);fuzzy_test_computed_color(`hsl(from hsl(50 50 50) h s calc((sin(clamp(0, l, 50)) + 1) * 50))`, `color(srgb 0.553 0.492 0.184)`);fuzzy_test_computed_color(`hsl(from hsl(50 50 50) h s calc((sin(l * 1) + 1) * 50))`, `color(srgb 0.553 0.492 0.184)`);@@ -223,18 +223,18 @@// https://drafts.csswg.org/css-color-4/#missingfuzzy_test_computed_color(`hsl(from rebeccapurple none none none)`, `hsl(none none none)`);fuzzy_test_computed_color(`hsl(from rebeccapurple none none none / none)`, `hsl(none none none / none)`);- fuzzy_test_computed_color(`hsl(from rebeccapurple h s none)`, `hsl(270 50 none)`);- fuzzy_test_computed_color(`hsl(from rebeccapurple h s none / alpha)`, `hsl(270 50 none)`);- fuzzy_test_computed_color(`hsl(from rebeccapurple h s l / none)`, `hsl(270 50 40 / none)`);- fuzzy_test_computed_color(`hsl(from rebeccapurple none s l / alpha)`, `hsl(none 50 40)`);- fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / .5) h s none / alpha)`, `hsl(120 20 none / 0.5)`);- fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / .5) h s l / none)`, `hsl(120 20 50 / none)`);- fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / .5) none s l / alpha)`, `hsl(none 20 50 / 0.5)`);+ fuzzy_test_computed_color(`hsl(from rebeccapurple h s none)`, `hsl(270 50% none)`);+ fuzzy_test_computed_color(`hsl(from rebeccapurple h s none / alpha)`, `hsl(270 50% none)`);+ fuzzy_test_computed_color(`hsl(from rebeccapurple h s l / none)`, `hsl(270 50% 40% / none)`);+ fuzzy_test_computed_color(`hsl(from rebeccapurple none s l / alpha)`, `hsl(none 50% 40%)`);+ fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / .5) h s none / alpha)`, `hsl(120 20% none / 0.5)`);+ fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / .5) h s l / none)`, `hsl(120 20% 50% / none)`);+ fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / .5) none s l / alpha)`, `hsl(none 20% 50% / 0.5)`);fuzzy_test_computed_color(`hsl(from hsl(none none none) h s l)`, `hsl(none none none)`);fuzzy_test_computed_color(`hsl(from hsl(none none none / none) h s l / alpha)`, `hsl(none none none / none)`);- fuzzy_test_computed_color(`hsl(from hsl(120deg none 50% / .5) h s l)`, `hsl(120 none 50 / 0.5)`);- fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / none) h s l / alpha)`, `hsl(120 20 50 / none)`);- fuzzy_test_computed_color(`hsl(from hsl(none 20% 50% / .5) h s l / alpha)`, `hsl(none 20 50 / 0.5)`);+ fuzzy_test_computed_color(`hsl(from hsl(120deg none 50% / .5) h s l)`, `hsl(120 none 50% / 0.5)`);+ fuzzy_test_computed_color(`hsl(from hsl(120deg 20% 50% / none) h s l / alpha)`, `hsl(120 20% 50% / none)`);+ fuzzy_test_computed_color(`hsl(from hsl(none 20% 50% / .5) h s l / alpha)`, `hsl(none 20% 50% / 0.5)`);fuzzy_test_computed_color(`color-mix(in hsl, hsl(from rebeccapurple none s l), rebeccapurple)`, `color(srgb 0.4 0.2 0.6)`);// Testing with 'currentColor'@@ -244,6 +244,9 @@// color-mixfuzzy_test_computed_color(`hsl(from color-mix(in srgb, red, red) h s l / alpha)`, `color(srgb 1 0 0)`);+ // A naive f32 implementation would yield a chromatic color after conversion from lch to hsl+ fuzzy_test_computed_color(`hsl(from lch(0.1 0 0) h s l)`, `hsl(none 0% 0.14303169%)`);+// hwb(from ...)// Testing no modifications.@@ -307,18 +310,18 @@// https://drafts.csswg.org/css-color-4/#missingfuzzy_test_computed_color(`hwb(from rebeccapurple none none none)`, `hwb(none none none)`);fuzzy_test_computed_color(`hwb(from rebeccapurple none none none / none)`, `hwb(none none none / none)`);- fuzzy_test_computed_color(`hwb(from rebeccapurple h w none)`, `hwb(270 20 none)`);- fuzzy_test_computed_color(`hwb(from rebeccapurple h w none / alpha)`, `hwb(270 20 none)`);- fuzzy_test_computed_color(`hwb(from rebeccapurple h w b / none)`, `hwb(270 20 40 / none)`);- fuzzy_test_computed_color(`hwb(from rebeccapurple none w b / alpha)`, `hwb(none 20 40)`);- fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / .5) h w none / alpha)`, `hwb(120 20 none / 0.5)`);- fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / .5) h w b / none)`, `hwb(120 20 50 / none)`);- fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / .5) none w b / alpha)`, `hwb(none 20 50 / 0.5)`);+ fuzzy_test_computed_color(`hwb(from rebeccapurple h w none)`, `hwb(270 20% none)`);+ fuzzy_test_computed_color(`hwb(from rebeccapurple h w none / alpha)`, `hwb(270 20% none)`);+ fuzzy_test_computed_color(`hwb(from rebeccapurple h w b / none)`, `hwb(270 20% 40% / none)`);+ fuzzy_test_computed_color(`hwb(from rebeccapurple none w b / alpha)`, `hwb(none 20% 40%)`);+ fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / .5) h w none / alpha)`, `hwb(120 20% none / 0.5)`);+ fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / .5) h w b / none)`, `hwb(120 20% 50% / none)`);+ fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / .5) none w b / alpha)`, `hwb(none 20% 50% / 0.5)`);fuzzy_test_computed_color(`hwb(from hwb(none none none) h w b)`, `hwb(none none none)`);fuzzy_test_computed_color(`hwb(from hwb(none none none / none) h w b / alpha)`, `hwb(none none none / none)`);- fuzzy_test_computed_color(`hwb(from hwb(120deg none 50% / .5) h w b)`, `hwb(120 none 50 / 0.5)`);- fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / none) h w b / alpha)`, `hwb(120 20 50 / none)`);- fuzzy_test_computed_color(`hwb(from hwb(none 20% 50% / .5) h w b / alpha)`, `hwb(none 20 50 / 0.5)`);+ fuzzy_test_computed_color(`hwb(from hwb(120deg none 50% / .5) h w b)`, `hwb(120 none 50% / 0.5)`);+ fuzzy_test_computed_color(`hwb(from hwb(120deg 20% 50% / none) h w b / alpha)`, `hwb(120 20% 50% / none)`);+ fuzzy_test_computed_color(`hwb(from hwb(none 20% 50% / .5) h w b / alpha)`, `hwb(none 20% 50% / 0.5)`);fuzzy_test_computed_color(`color-mix(in hwb, hwb(from rebeccapurple none w b), rebeccapurple)`, `color(srgb 0.4 0.2 0.6)`);// Testing with 'currentColor'@@ -451,7 +454,7 @@// Testing with calc().fuzzy_test_computed_color(`oklab(from oklab(0.25 0.2 0.5) calc(l) calc(a) calc(b))`, `oklab(0.25 0.2 0.5)`);fuzzy_test_computed_color(`oklab(from oklab(0.25 0.2 0.5 / 40%) calc(l) calc(a) calc(b) / calc(alpha))`, `oklab(0.25 0.2 0.5 / 0.4)`);- fuzzy_test_computed_color(`oklab(from oklab(0.5 .05 0.1 / 0.8) calc(l + 0.01) calc(a + 0.01) calc(b + 0.01) / calc(alpha + 0.01))`, `oklab(0.51 .06 0.11 / 0.81)`);+ fuzzy_test_computed_color(`oklab(from oklab(0.5 .05 0.1 / 0.8) calc(l + 0.01) calc(a + 0.01) calc(b + 0.01) / calc(alpha + 0.01))`, `oklab(0.51 0.06 0.11 / 0.81)`);fuzzy_test_computed_color(`oklab(from oklab(0.25 0.2 0.5) calc(l * 100%) calc((a / 0.4) * 100%) calc((b / 0.4) * 100%) / calc(alpha * 100%))`, `oklab(0.25 0.2 0.5)`);// Alpha is clamped to [0,1]@@ -493,7 +496,7 @@// Testing non-sRGB origin colors (no gamut mapping will happen since the destination is not a bounded RGB color space).fuzzy_test_computed_color(`lch(from color(display-p3 0 0 0) l c h / alpha)`, `lch(0 0 none)`);- fuzzy_test_computed_color(`lch(from lab(0.7 45 30) l c h / alpha)`, `lch(0.7 54.08327 33.690067)`);+ fuzzy_test_computed_color(`lch(from lab(0.7 45 30) l c h / alpha)`, `lch(0.7 54.08327 33.690068)`);// Testing replacement with 0.fuzzy_test_computed_color(`lch(from lch(0.7 45 30) 0 0 0)`, `lch(0 0 0)`);@@ -552,11 +555,10 @@fuzzy_test_computed_color(`lch(from lch(0.7 45 30) l c h / none)`, `lch(0.7 45 30 / none)`);fuzzy_test_computed_color(`lch(from lch(0.7 45 30 / 40%) l c none / alpha)`, `lch(0.7 45 none / 0.4)`);fuzzy_test_computed_color(`lch(from lch(0.7 45 30 / 40%) l c h / none)`, `lch(0.7 45 30 / none)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_computed_color(`lch(from lch(none none none) l c h)`, `lch(0 0 0)`);- fuzzy_test_computed_color(`lch(from lch(none none none / none) l c h / alpha)`, `lch(0 0 0 / 0)`);- fuzzy_test_computed_color(`lch(from lch(0.7 none 30) l c h)`, `lch(0.7 0 30)`);- fuzzy_test_computed_color(`lch(from lch(0.7 45 30 / none) l c h / alpha)`, `lch(0.7 45 30 / 0)`);+ fuzzy_test_computed_color(`lch(from lch(none none none) l c h)`, `lch(none none none)`);+ fuzzy_test_computed_color(`lch(from lch(none none none / none) l c h / alpha)`, `lch(none none none / none)`);+ fuzzy_test_computed_color(`lch(from lch(0.7 none 30) l c h)`, `lch(0.7 none 30)`);+ fuzzy_test_computed_color(`lch(from lch(0.7 45 30 / none) l c h / alpha)`, `lch(0.7 45 30 / none)`);fuzzy_test_computed_color(`color-mix(in lch, lch(from lch(0.7 45 30) l c none), lch(0.7 45 30))`, `lch(0.7 45 30)`);// Testing with 'currentColor'@@ -580,7 +582,7 @@// Testing non-sRGB origin colors (no gamut mapping will happen since the destination is not a bounded RGB color space).fuzzy_test_computed_color(`oklch(from color(display-p3 0 0 0) l c h / alpha)`, `oklch(0 0 none)`);// TODO: redo conversion with oklab(0.7 0.45 0.3)- fuzzy_test_computed_color(`oklch(from oklab(0.7 45 30) l c h / alpha)`, `oklch(0.7 54.08327 33.690067)`);+ fuzzy_test_computed_color(`oklch(from oklab(0.7 45 30) l c h / alpha)`, `oklch(0.7 54.08327 33.690068)`);// Testing replacement with 0.fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30) 0 0 0)`, `oklch(0 0 0)`);@@ -622,7 +624,7 @@// Testing with calc().fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30) calc(l) calc(c) calc(h))`, `oklch(0.7 0.45 30)`);fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30 / 40%) calc(l) calc(c) calc(h) / calc(alpha))`, `oklch(0.7 0.45 30 / 0.4)`);- fuzzy_test_computed_color(`oklch(from oklch(0.5 .05 0.1 / 0.8) calc(l + 0.01) calc(c + 0.01) calc(h + 0.01) / calc(alpha + 0.01))`, `oklch(0.51 .06 0.11 / 0.81)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.5 .05 0.1 / 0.8) calc(l + 0.01) calc(c + 0.01) calc(h + 0.01) / calc(alpha + 0.01))`, `oklch(0.51 0.06 0.11 / 0.81)`);fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30) calc(l * 100%) calc((c / 0.4) * 100%) calc((h / 360) * 360deg) / calc(alpha * 100%))`, `oklch(0.7 0.45 30)`);// Alpha is clamped to [0,1]@@ -648,11 +650,10 @@fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30) l c h / none)`, `oklch(0.7 0.45 30 / none)`);fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30 / 40%) l c none / alpha)`, `oklch(0.7 0.45 none / 0.4)`);fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30 / 40%) l c h / none)`, `oklch(0.7 0.45 30 / none)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_computed_color(`oklch(from oklch(none none none) l c h)`, `oklch(0 0 0)`);- fuzzy_test_computed_color(`oklch(from oklch(none none none / none) l c h / alpha)`, `oklch(0 0 0 / 0)`);- fuzzy_test_computed_color(`oklch(from oklch(0.7 none 30) l c h)`, `oklch(0.7 0 30)`);- fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30 / none) l c h / alpha)`, `oklch(0.7 0.45 30 / 0)`);+ fuzzy_test_computed_color(`oklch(from oklch(none none none) l c h)`, `oklch(none none none)`);+ fuzzy_test_computed_color(`oklch(from oklch(none none none / none) l c h / alpha)`, `oklch(none none none / none)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.7 none 30) l c h)`, `oklch(0.7 none 30)`);+ fuzzy_test_computed_color(`oklch(from oklch(0.7 0.45 30 / none) l c h / alpha)`, `oklch(0.7 0.45 30 / none)`);// Testing with 'currentColor'fuzzy_test_computed_color_using_currentcolor(`oklch(from currentColor l c h)`, `oklch(0.7 0.45 30)`);@@ -747,11 +748,10 @@fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 0.5 0.3) ${colorSpace} r g b / none)`, `color(${colorSpace} 0.7 0.5 0.3 / none)`);fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 0.5 0.3 / 40%) ${colorSpace} r g none / alpha)`, `color(${colorSpace} 0.7 0.5 none / 0.4)`);fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 0.5 0.3 / 40%) ${colorSpace} r g b / none)`, `color(${colorSpace} 0.7 0.5 0.3 / none)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_computed_color(`color(from color(${colorSpace} none none none) ${colorSpace} r g b)`, `color(${colorSpace} 0 0 0)`);- fuzzy_test_computed_color(`color(from color(${colorSpace} none none none / none) ${colorSpace} r g b / alpha)`, `color(${colorSpace} 0 0 0 / 0)`);- fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 none 0.3) ${colorSpace} r g b)`, `color(${colorSpace} 0.7 0 0.3)`);- fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 0.5 0.3 / none) ${colorSpace} r g b / alpha)`, `color(${colorSpace} 0.7 0.5 0.3 / 0)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} none none none) ${colorSpace} r g b)`, `color(${colorSpace} none none none)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} none none none / none) ${colorSpace} r g b / alpha)`, `color(${colorSpace} none none none / none)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 none 0.3) ${colorSpace} r g b)`, `color(${colorSpace} 0.7 none 0.3)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} 0.7 0.5 0.3 / none) ${colorSpace} r g b / alpha)`, `color(${colorSpace} 0.7 0.5 0.3 / none)`);// Testing with 'currentColor'fuzzy_test_computed_color_using_currentcolor(`color(from currentColor ${colorSpace} r g b)`, `color(${colorSpace} 0.7 0.5 0.3)`);@@ -819,11 +819,10 @@fuzzy_test_computed_color(`color(from color(${colorSpace} 7 -20.5 100) ${colorSpace} x y z / none)`, `color(${resultColorSpace} 7 -20.5 100 / none)`);fuzzy_test_computed_color(`color(from color(${colorSpace} 7 -20.5 100 / 40%) ${colorSpace} x y none / alpha)`, `color(${resultColorSpace} 7 -20.5 none / 0.4)`);fuzzy_test_computed_color(`color(from color(${colorSpace} 7 -20.5 100 / 40%) ${colorSpace} x y z / none)`, `color(${resultColorSpace} 7 -20.5 100 / none)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_computed_color(`color(from color(${colorSpace} none none none) ${colorSpace} x y z)`, `color(${resultColorSpace} 0 0 0)`);- fuzzy_test_computed_color(`color(from color(${colorSpace} none none none / none) ${colorSpace} x y z / alpha)`, `color(${resultColorSpace} 0 0 0 / 0)`);- fuzzy_test_computed_color(`color(from color(${colorSpace} 7 none 100) ${colorSpace} x y z)`, `color(${resultColorSpace} 7 0 100)`);- fuzzy_test_computed_color(`color(from color(${colorSpace} 7 -20.5 100 / none) ${colorSpace} x y z / alpha)`, `color(${resultColorSpace} 7 -20.5 100 / 0)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} none none none) ${colorSpace} x y z)`, `color(${resultColorSpace} none none none)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} none none none / none) ${colorSpace} x y z / alpha)`, `color(${resultColorSpace} none none none / none)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} 7 none 100) ${colorSpace} x y z)`, `color(${resultColorSpace} 7 none 100)`);+ fuzzy_test_computed_color(`color(from color(${colorSpace} 7 -20.5 100 / none) ${colorSpace} x y z / alpha)`, `color(${resultColorSpace} 7 -20.5 100 / none)`);// Testing with 'currentColor'fuzzy_test_computed_color_using_currentcolor(`color(from currentColor ${colorSpace} x y z)`, `color(${resultColorSpace} 7 -20.5 100)`);@@ -839,15 +838,15 @@fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) display-p3 r g b)`, `color(display-p3 0.313005 0.494105 0.730151)`, 0.001);fuzzy_test_computed_color(`color(from color(a98-rgb 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.153577 0.503993 0.764016)`, 0.001);fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) a98-rgb r g b)`, `color(a98-rgb 0.346741 0.496104 0.736143)`, 0.001);- fuzzy_test_computed_color(`color(from color(prophoto-rgb 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.510555 0.612317 0.825249)`, 0.001);- fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) prophoto-rgb r g b)`, `color(prophoto-rgb 0.374928 0.416497 0.663803)`, 0.001);- fuzzy_test_computed_color(`color(from color(rec2020 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.280036 0.565528 0.79951)`, 0.001);- fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) rec2020 r g b)`, `color(rec2020 0.331998 0.440976 0.696422)`, 0.001);+ fuzzy_test_computed_color(`color(from color(prophoto-rgb 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.510562 0.61232 0.825249)`, 0.001);+ fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) prophoto-rgb r g b)`, `color(prophoto-rgb 0.374929 0.416494 0.663803)`, 0.001);+ fuzzy_test_computed_color(`color(from color(rec2020 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.328686 0.491201 0.76185)`, 0.001);+ fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) rec2020 r g b)`, `color(rec2020 0.420493 0.518024 0.741381)`, 0.001);fuzzy_test_computed_color(`color(from color(xyz-d50 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.660025 0.874825 0.981099)`, 0.001);fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) xyz-d50 x y z)`, `color(xyz-d50 0.179385 0.196438 0.39462)`, 0.001);fuzzy_test_computed_color(`color(from color(xyz-d65 0.25 0.5 0.75) srgb r g b)`, `color(srgb -0.611728 0.868673 0.856817)`, 0.001);fuzzy_test_computed_color(`color(from color(srgb 0.25 0.5 0.75) xyz-d65 x y z)`, `color(xyz-d65 0.191824 0.201616 0.52317)`, 0.001);- fuzzy_test_computed_color(`lab(from color(srgb 0.25 0.5 0.75) l a b)`, `lab(51.4321 -5.22825 -40.1438)`, 0.02); // Larger values means larger epsilon.+ fuzzy_test_computed_color(`lab(from color(srgb 0.25 0.5 0.75) l a b)`, `lab(51.4321 -5.22826 -40.1438)`, 0.02); // Larger values means larger epsilon.fuzzy_test_computed_color(`color(from lab(67.5345 -8.6911 -41.6019) srgb r g b)`, `color(srgb 0.382862 0.672716 0.938469)`, 0.001);fuzzy_test_computed_color(`oklab(from color(srgb 0.25 0.5 0.75) l a b)`, `oklab(0.58555 -0.039415 -0.111505)`, 0.001);fuzzy_test_computed_color(`color(from oklab(72.322% -0.0465 -0.1150) srgb r g b)`, `color(srgb 0.382612 0.672697 0.938782)`, 0.001);@@ -887,7 +886,7 @@fuzzy_test_computed_color(`lab(from var(--mycolor) l a b / 100%)`, `lab(62.75 52.46 -34.12)`, 0.02);fuzzy_test_computed_color(`lab(from var(--mycolor) l a b / calc(alpha * 0.8))`, `lab(62.75 52.46 -34.12 / 0.8)`, 0.02);fuzzy_test_computed_color(`lab(from var(--mycolor) l 0 0)`, `lab(62.75 0 0)`, 0.02);- fuzzy_test_computed_color(`lch(from peru calc(l * 0.8) c h)`, `lch(49.80 54 63.68)`, 0.02);+ fuzzy_test_computed_color(`lch(from peru calc(l * 0.8) c h)`, `lch(49.8 54 63.68)`, 0.02);fuzzy_test_computed_color(`LCH(from var(--accent) l c calc(h + 180))`, `lch(65.49 39.45 10.11)`, 0.02);fuzzy_test_computed_color(`lch(from var(--mycolor) l 0 h)`, `lch(62.75 0 326.96)`, 0.02);fuzzy_test_computed_color(`var(--mygray)`, `lch(62.75 0 326.96)`, 0.02);diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-rgb.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-rgb.htmlindex d05f5387008..d08892771df 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-rgb.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-computed-rgb.html@@ -10,6 +10,7 @@<script src="../../../resources/testharness.js"></script><script src="../../../resources/testharnessreport.js"></script><script src="../../../css/support/computed-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script></head><body><div id="container">@@ -27,24 +28,22 @@</style><script>tests = [- ["rgb(none none none)", "rgb(0, 0, 0)"],- ["rgb(none none none / none)", "rgba(0, 0, 0, 0)"],- ["rgb(128 none none)", "rgb(128, 0, 0)"],- ["rgb(128 none none / none)", "rgba(128, 0, 0, 0)"],- ["rgb(none none none / .5)", "rgba(0, 0, 0, 0.5)"],- ["rgb(20% none none)", "rgb(51, 0, 0)"],- ["rgb(20% none none / none)", "rgba(51, 0, 0, 0)"],- ["rgb(none none none / 50%)", "rgba(0, 0, 0, 0.5)"],- ["rgba(none none none)", "rgb(0, 0, 0)"],- ["rgba(none none none / none)", "rgba(0, 0, 0, 0)"],- ["rgba(128 none none)", "rgb(128, 0, 0)"],- ["rgba(128 none none / none)", "rgba(128, 0, 0, 0)"],- ["rgba(none none none / .5)", "rgba(0, 0, 0, 0.5)"],- ["rgba(20% none none)", "rgb(51, 0, 0)"],- ["rgba(20% none none / none)", "rgba(51, 0, 0, 0)"],- ["rgba(none none none / 50%)", "rgba(0, 0, 0, 0.5)"],-- ["rgb(2.5, 3.4, 4.6)", ["rgb(3, 3, 5)", "rgb(2.5, 3.4, 4.6)"], "Tests that RGB channels are rounded appropriately"],+ ["rgb(none none none)", "color(srgb none none none)"],+ ["rgb(none none none / none)", "color(srgb none none none / none)"],+ ["rgb(128 none none)", "color(srgb 0.501961 none none)"],+ ["rgb(128 none none / none)", "color(srgb 0.501961 none none / none)"],+ ["rgb(none none none / .5)", "color(srgb none none none / 0.5)"],+ ["rgb(20% none none)", "color(srgb 0.2 none none)"],+ ["rgb(20% none none / none)", "color(srgb 0.2 none none / none)"],+ ["rgb(none none none / 50%)", "color(srgb none none none / 0.5)"],+ ["rgba(none none none)", "color(srgb none none none)"],+ ["rgba(none none none / none)", "color(srgb none none none / none)"],+ ["rgba(128 none none)", "color(srgb 0.501961 none none)"],+ ["rgba(128 none none / none)", "color(srgb 0.501961 none none / none)"],+ ["rgba(none none none / .5)", "color(srgb none none none / 0.5)"],+ ["rgba(20% none none)", "color(srgb 0.2 none none)"],+ ["rgba(20% none none / none)", "color(srgb 0.2 none none / none)"],+ ["rgba(none none none / 50%)", "color(srgb none none none / 0.5)"],["rgb(00, 51, 102)", "rgb(0, 51, 102)", "Valid numbers should be parsed"],["r\\gb(00, 51, 102)", "rgb(0, 51, 102)", "Correct escape sequences should still parse"],@@ -138,14 +137,16 @@ tests = [];for (const test of tests) {- test_computed_value("color", test[0], test[1], test[2] ? `[${test[2]}]` : undefined);+ fuzzy_test_computed_color(test[0], test[1], undefined /* epsilon */, test[2] ? `[${test[2]}]` : undefined);}+test_computed_value("color", "rgb(2.5, 3.4, 4.6)", ["rgb(3, 3, 5)", "rgb(2.5, 3.4, 4.6)"], "Tests that RGB channels are rounded appropriately");+// Ensure that `calc` values work with dynamically changing relative units (slighly different alpha values to make test harness not complain about duplicate tests).document.getElementById("container").style.width = "1000px";-test_computed_value("color", "rgba(calc(50% + (sign(2cqw - 10px) * 10%)), 0%, 0%, 51%)", "rgba(153, 0, 0, 0.51)");+fuzzy_test_computed_color("rgba(calc(50% + (sign(2cqw - 10px) * 10%)), 0%, 0%, 51%)", "rgba(153, 0, 0, 0.51)");document.getElementById("container").style.width = "100px";-test_computed_value("color", "rgba(calc(50% + (sign(2cqw - 10px) * 10%)), 0%, 0%, 52%)", "rgba(102, 0, 0, 0.52)");+fuzzy_test_computed_color("rgba(calc(50% + (sign(2cqw - 10px) * 10%)), 0%, 0%, 52%)", "rgba(102, 0, 0, 0.52)");</script></body>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.htmlindex 6004e6189a0..d389c069c5b 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-invalid-color-mix-function.html@@ -17,10 +17,8 @@<script>test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20%) -10%, hsl(30deg 30% 40%))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20%) 150%, hsl(30deg 30% 40%))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20% 40%) -10%, hsl(30deg 30% 40% 80%))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20% 40%) 150%, hsl(30deg 30% 40% 80%))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20% 40%) 0%, hsl(30deg 30% 40% 80%) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in hsl hue, hsl(120deg 10% 20%), hsl(30deg 30% 40%))`); // `hue` keyword without a specified method.test_invalid_value(`color`, `color-mix(in hsl shorter, hsl(120deg 10% 20%), hsl(30deg 30% 40%))`); // Specified hue method without trailing `hue` keyword.test_invalid_value(`color`, `color-mix(in hsl foo, hsl(120deg 10% 20%), hsl(30deg 30% 40%))`); // Trailing identifier after color space that is not a hue method.@@ -30,10 +28,8 @@test_invalid_value(`color`, `color-mix(in hwb, hwb(120deg 10% 20%) -10%, hwb(30deg 30% 40%))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in hwb, hwb(120deg 10% 20%) 150%, hwb(30deg 30% 40%))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in hwb, hwb(120deg 10% 20% 40%) -10%, hwb(30deg 30% 40% 80%))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in hwb, hwb(120deg 10% 20% 40%) 150%, hwb(30deg 30% 40% 80%))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in hwb, hwb(120deg 10% 20% 40%) 0%, hwb(30deg 30% 40% 80%) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in hwb hue, hwb(120deg 10% 20%), hwb(30deg 30% 40%))`); // `hue` keyword without a specified method.test_invalid_value(`color`, `color-mix(in hwb shorter, hwb(120deg 10% 20%), hwb(30deg 30% 40%))`); // Specified hue method without trailing `hue` keyword.test_invalid_value(`color`, `color-mix(in hwb foo, hwb(120deg 10% 20%), hwb(30deg 30% 40%))`); // Trailing identifier after color space that is not a hue method.@@ -45,10 +41,8 @@for (const colorSpace of [ "lch", "oklch" ]) {test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30deg) -10%, ${colorSpace}(50% 60 70deg))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30deg) 150%, ${colorSpace}(50% 60 70deg))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30deg) 0%, ${colorSpace}(50% 60 70deg) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30deg / .4) -10%, ${colorSpace}(50% 60 70deg / .8))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30deg / .4) 150%, ${colorSpace}(50% 60 70deg / .8))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30deg / .4) 0%, ${colorSpace}(50% 60 70deg / .8) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in ${colorSpace} hue, ${colorSpace}(10% 20 30deg), ${colorSpace}(50% 60 70deg))`); // `hue` keyword without a specified method.test_invalid_value(`color`, `color-mix(in ${colorSpace} shorter, ${colorSpace}(10% 20 30deg), ${colorSpace}(50% 60 70deg))`); // Specified hue method without trailing `hue` keyword.test_invalid_value(`color`, `color-mix(in ${colorSpace} foo, ${colorSpace}(10% 20 30deg), ${colorSpace}(50% 60 70deg))`); // Trailing identifier after color space that is not a hue method.@@ -60,10 +54,8 @@for (const colorSpace of [ "lab", "oklab" ]) {test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30) -10%, ${colorSpace}(50% 60 70))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30) 150%, ${colorSpace}(50% 60 70))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30) 0%, ${colorSpace}(50% 60 70) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30 / .4) -10%, ${colorSpace}(50% 60 70 / .8))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30 / .4) 150%, ${colorSpace}(50% 60 70 / .8))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30 / .4) 0%, ${colorSpace}(50% 60 70 / .8) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in ${colorSpace} longer hue, ${colorSpace}(10% 20 30), ${colorSpace}(50% 60 70))`); // Hue modifier on a non-polar color space.test_invalid_value(`color`, `color-mix(in ${colorSpace} ${colorSpace}(10% 20 30), ${colorSpace}(50% 60 70))`); // Missing comma after interpolation method.test_invalid_value(`color`, `color-mix(in ${colorSpace}, ${colorSpace}(10% 20 30) ${colorSpace}(50% 60 70))`); // Missing comma between colors.@@ -73,10 +65,8 @@for (const colorSpace of [ "srgb", "srgb-linear", "display-p3", "display-p3-linear", "a98-rgb", "prophoto-rgb", "rec2020", "xyz", "xyz-d50", "xyz-d65" ]) {test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) -10%, color(${colorSpace} .5 .6 .7))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 150%, color(${colorSpace} .5 .6 .7))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 0%, color(${colorSpace} .5 .6 .7) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) -10%, color(${colorSpace} .5 .6 .7 / .8))`); // Percentages less than 0 are not valid.test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 150%, color(${colorSpace} .5 .6 .7 / .8))`); // Percentages greater than 100 are not valid.- test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 0%, color(${colorSpace} .5 .6 .7 / .8) 0%)`); // Sum of percengates cannot be 0%.test_invalid_value(`color`, `color-mix(in ${colorSpace} longer hue, color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7))`); // Hue modifier on a non-polar color space.test_invalid_value(`color`, `color-mix(in ${colorSpace} color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7))`); // Missing comma after interpolation method.test_invalid_value(`color`, `color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) color(${colorSpace} .5 .6 .7))`); // Missing comma between colors.@@ -84,8 +74,6 @@}// color-mix() with 1 or more colors.- test_invalid_value(`color`, `color-mix(in srgb, red 0%)`);- test_invalid_value(`color`, `color-mix(in srgb, red 0%, green 0%, blue 0%)`);test_invalid_value(`color`, `color-mix(in srgb, red -10%, green 50%, blue)`);test_invalid_value(`color`, `color-mix(in hsl, hsl(120deg 10% 20%) -10%, hsl(30deg 30% 40%), hsl(60deg 20% 30%))`);test_invalid_value(`color`, `color-mix(in srgb, red 150%, green 50%, blue)`);diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-color-mix-function.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-color-mix-function.htmlindex 1e49a8c7570..c70cb9408a6 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-color-mix-function.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-color-mix-function.html@@ -28,7 +28,7 @@fuzzy_test_valid_color(`color-mix(in hsl, red calc(20%), blue)`, `color-mix(in hsl, red calc(20%), blue)`);fuzzy_test_valid_color(`color-mix(in hsl, red calc(var(--v)*1%), blue)`, `color-mix(in hsl, red calc(var(--v)*1%), blue)`);fuzzy_test_valid_color(`color-mix(in hsl, currentcolor, blue)`, `color-mix(in hsl, currentcolor, blue)`);- fuzzy_test_valid_color(`color-mix(in hsl, red 60%, blue 40%)`, `color-mix(in hsl, red 60%, blue)`);+ fuzzy_test_valid_color(`color-mix(in hsl, red 60%, blue 40%)`, `color-mix(in hsl, red 60%, blue 40%)`);fuzzy_test_valid_color(`color-mix(in hsl, red 50%, blue)`, `color-mix(in hsl, red, blue)`);fuzzy_test_valid_color(`color-mix(in hsl, red, blue 50%)`, `color-mix(in hsl, red, blue)`);fuzzy_test_valid_color(`color-mix(in lch decreasing hue, red, hsl(120, 100%, 50%))`, `color-mix(in lch decreasing hue, red, rgb(0, 255, 0))`);@@ -36,27 +36,28 @@// NOTE: For the epsilon to meaningful for fuzzy_test_valid_color when used with integer rounded results like rgb(), it must be at least 1.+ // hsl()fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46), rgb(133, 102, 71))`, 1);fuzzy_test_valid_color(`color-mix(in hsl, 50% hsl(120deg 10% 20%), hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46), rgb(133, 102, 71))`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%), 50% hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46), rgb(133, 102, 71))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgb(133, 102, 71))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, 25% hsl(120deg 10% 20%), hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgb(133, 102, 71))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%), 25% hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 75%, rgb(133, 102, 71))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%) 25%)`, `color-mix(in hsl, rgb(46, 56, 46) 75%, rgb(133, 102, 71))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%) 75%)`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgb(133, 102, 71))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgb(133, 102, 71) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, 25% hsl(120deg 10% 20%), hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgb(133, 102, 71) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%), 25% hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 75%, rgb(133, 102, 71) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%), hsl(30deg 30% 40%) 25%)`, `color-mix(in hsl, rgb(46, 56, 46) 75%, rgb(133, 102, 71) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40%) 75%)`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgb(133, 102, 71) 75%)`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 30%, hsl(30deg 30% 40%) 90%)`, `color-mix(in hsl, rgb(46, 56, 46) 30%, rgb(133, 102, 71) 90%)`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 12.5%, hsl(30deg 30% 40%) 37.5%)`, `color-mix(in hsl, rgb(46, 56, 46) 12.5%, rgb(133, 102, 71) 37.5%)`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 0%, rgb(133, 102, 71))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%))`, `color-mix(in hsl, rgb(46, 56, 46) 0%, rgb(133, 102, 71) 100%)`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4), rgba(133, 102, 71, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgba(133, 102, 71, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, 25% hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 25%, rgba(133, 102, 71, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4), 25% hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 75%, rgba(133, 102, 71, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8) 25%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 75%, rgba(133, 102, 71, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 25%, hsl(30deg 30% 40% / .8) 75%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 25%, rgba(133, 102, 71, 0.8))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 25%, hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgb(46, 56, 46) 25%, rgba(133, 102, 71, 0.8) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, 25% hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 25%, rgba(133, 102, 71, 0.8) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4), 25% hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 75%, rgba(133, 102, 71, 0.8) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4), hsl(30deg 30% 40% / .8) 25%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 75%, rgba(133, 102, 71, 0.8) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 25%, hsl(30deg 30% 40% / .8) 75%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 25%, rgba(133, 102, 71, 0.8) 75%)`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 30%, hsl(30deg 30% 40% / .8) 90%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 30%, rgba(133, 102, 71, 0.8) 90%)`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 12.5%, hsl(30deg 30% 40% / .8) 37.5%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 12.5%, rgba(133, 102, 71, 0.8) 37.5%)`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 0%, rgba(133, 102, 71, 0.8))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8))`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 0%, rgba(133, 102, 71, 0.8) 100%)`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(40deg 50% 50%), hsl(60deg 50% 50%))`, `color-mix(in hsl, rgb(191, 149, 64), rgb(191, 191, 64))`, 1);fuzzy_test_valid_color(`color-mix(in hsl, hsl(60deg 50% 50%), hsl(40deg 50% 50%))`, `color-mix(in hsl, rgb(191, 191, 64), rgb(191, 149, 64))`, 1);@@ -93,52 +94,56 @@fuzzy_test_valid_color(`color-mix(in hsl decreasing hue, hsl(20deg 50% 50%), hsl(320deg 50% 50%))`, `color-mix(in hsl decreasing hue, rgb(191, 106, 64), rgb(191, 64, 149))`, 1);fuzzy_test_valid_color(`color-mix(in hsl decreasing hue, hsl(320deg 50% 50%), hsl(20deg 50% 50%))`, `color-mix(in hsl decreasing hue, rgb(191, 64, 149), rgb(191, 106, 64))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(none none none), hsl(none none none))`, `color-mix(in hsl, rgb(0, 0, 0), rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(none none none), hsl(30deg 40% 80%))`, `color-mix(in hsl, rgb(0, 0, 0), rgb(224, 204, 184))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))`, `color-mix(in hsl, rgb(82, 122, 82), rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))`, `color-mix(in hsl, rgb(0, 0, 0), rgb(194, 153, 112))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 20% 40%), hsl(30deg 20% none))`, `color-mix(in hsl, rgb(82, 122, 82), rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))`, `color-mix(in hsl, rgb(122, 82, 82), rgb(204, 204, 204))`, 1);-- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))`, `color-mix(in hsl, rgba(61, 143, 61, 0), rgb(143, 61, 61))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))`, `color-mix(in hsl, rgba(61, 143, 61, 0), rgba(143, 61, 61, 0.5))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))`, `color-mix(in hsl, rgba(61, 143, 61, 0), rgba(143, 61, 61, 0))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(none none none), hsl(none none none))`, `color-mix(in hsl, hsl(none none none), hsl(none none none))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(none none none), hsl(30deg 40% 80%))`, `color-mix(in hsl, hsl(none none none), rgb(224, 204, 184))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 20% 40%), hsl(none none none))`, `color-mix(in hsl, rgb(82, 122, 82), hsl(none none none))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 20% none), hsl(30deg 40% 60%))`, `color-mix(in hsl, hsl(120 20% none), rgb(194, 153, 112))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 20% 40%), hsl(30deg 20% none))`, `color-mix(in hsl, rgb(82, 122, 82), hsl(30 20% none))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(none 20% 40%), hsl(30deg none 80%))`, `color-mix(in hsl, hsl(none 20% 40%), hsl(30 none 80%))`, 1);++ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40%))`, `color-mix(in hsl, hsl(120 40% 40% / none), rgb(143, 61, 61))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / 0.5))`, `color-mix(in hsl, hsl(120 40% 40% / none), rgba(143, 61, 61, 0.5))`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 40% 40% / none), hsl(0deg 40% 40% / none))`, `color-mix(in hsl, hsl(120 40% 40% / none), hsl(0 40% 40% / none))`, 1);++ fuzzy_test_valid_color(`color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, 1);++ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20%) 0%, hsl(30deg 30% 40%) 0%)`, `color-mix(in hsl, rgb(46, 56, 46) 0%, rgb(133, 102, 71) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hsl, hsl(120deg 10% 20% / .4) 0%, hsl(30deg 30% 40% / .8) 0%)`, `color-mix(in hsl, rgba(46, 56, 46, 0.4) 0%, rgba(133, 102, 71, 0.8) 0%)`, 1);fuzzy_test_valid_color(`color-mix(hsl(120deg 10% 20%), hsl(30deg 30% 40%))`, `color-mix(rgb(46, 56, 46), rgb(133, 102, 71))`); // Missing interpolation method.- fuzzy_test_valid_color(`color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lch(100 116 334) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, lch(0 116 334) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hsl, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hsl, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0))`, 1);-+ // hwb()fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26), rgb(153, 115, 77))`, 1);fuzzy_test_valid_color(`color-mix(in hwb, 50% hwb(120deg 10% 20%), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26), rgb(153, 115, 77))`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), 50% hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26), rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 25%, rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, 25% hwb(120deg 10% 20%), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 25%, rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 75%, rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%) 25%)`, `color-mix(in hwb, rgb(26, 204, 26) 75%, rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%) 75%)`, `color-mix(in hwb, rgb(26, 204, 26) 25%, rgb(153, 115, 77))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 25%, rgb(153, 115, 77) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, 25% hwb(120deg 10% 20%), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 25%, rgb(153, 115, 77) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 75%, rgb(153, 115, 77) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% 40%) 25%)`, `color-mix(in hwb, rgb(26, 204, 26) 75%, rgb(153, 115, 77) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 25%, hwb(30deg 30% 40%) 75%)`, `color-mix(in hwb, rgb(26, 204, 26) 25%, rgb(153, 115, 77) 75%)`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 30%, hwb(30deg 30% 40%) 90%)`, `color-mix(in hwb, rgb(26, 204, 26) 30%, rgb(153, 115, 77) 90%)`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 12.5%, hwb(30deg 30% 40%) 37.5%)`, `color-mix(in hwb, rgb(26, 204, 26) 12.5%, rgb(153, 115, 77) 37.5%)`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 0%, rgb(153, 115, 77))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 204, 26) 0%, rgb(153, 115, 77) 100%)`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4), rgba(153, 115, 77, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 25%, rgba(153, 115, 77, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, 25% hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 25%, rgba(153, 115, 77, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgb(26, 204, 26) 75%, rgba(153, 115, 77, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8) 25%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 75%, rgba(153, 115, 77, 0.8))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8) 75%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 25%, rgba(153, 115, 77, 0.8))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 25%, rgba(153, 115, 77, 0.8) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, 25% hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 25%, rgba(153, 115, 77, 0.8) 75%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), 25% hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgb(26, 204, 26) 75%, rgba(153, 115, 77, 0.8) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4), hwb(30deg 30% 40% / .8) 25%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 75%, rgba(153, 115, 77, 0.8) 25%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 25%, hwb(30deg 30% 40% / .8) 75%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 25%, rgba(153, 115, 77, 0.8) 75%)`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 30%, hwb(30deg 30% 40% / .8) 90%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 30%, rgba(153, 115, 77, 0.8) 90%)`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 12.5%, hwb(30deg 30% 40% / .8) 37.5%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 12.5%, rgba(153, 115, 77, 0.8) 37.5%)`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 0%, hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 0%, rgba(153, 115, 77, 0.8))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / .4) 0%, hwb(30deg 30% 40% / .8))`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 0%, rgba(153, 115, 77, 0.8) 100%)`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(40deg 30% 40%), hwb(60deg 30% 40%))`, `color-mix(in hwb, rgb(153, 128, 77), rgb(153, 153, 77))`, 1);fuzzy_test_valid_color(`color-mix(in hwb, hwb(60deg 30% 40%), hwb(40deg 30% 40%))`, `color-mix(in hwb, rgb(153, 153, 77), rgb(153, 128, 77))`, 1);@@ -175,50 +180,53 @@fuzzy_test_valid_color(`color-mix(in hwb decreasing hue, hwb(20deg 30% 40%), hwb(320deg 30% 40%))`, `color-mix(in hwb decreasing hue, rgb(153, 102, 77), rgb(153, 77, 128))`, 1);fuzzy_test_valid_color(`color-mix(in hwb decreasing hue, hwb(320deg 30% 40%), hwb(20deg 30% 40%))`, `color-mix(in hwb decreasing hue, rgb(153, 77, 128), rgb(153, 102, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(none none none), hwb(none none none))`, `color-mix(in hwb, rgb(255, 0, 0), rgb(255, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(none none none), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(255, 0, 0), rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(none none none))`, `color-mix(in hwb, rgb(26, 204, 26), rgb(255, 0, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% none), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgb(26, 255, 26), rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% none))`, `color-mix(in hwb, rgb(26, 204, 26), rgb(255, 166, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(none 10% 20%), hwb(30deg none 40%))`, `color-mix(in hwb, rgb(204, 26, 26), rgb(153, 77, 0))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40%))`, `color-mix(in hwb, rgba(26, 204, 26, 0), rgb(153, 115, 77))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / 0.5))`, `color-mix(in hwb, rgba(26, 204, 26, 0), rgba(153, 115, 77, 0.5))`, 1);- fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))`, `color-mix(in hwb, rgba(26, 204, 26, 0), rgba(153, 115, 77, 0))`, 1);-- fuzzy_test_valid_color(`color-mix(in hwb, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, color(display-p3 0 1 0) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lch(100 116 334) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lch(0 116 334) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0))`);- fuzzy_test_valid_color(`color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0))`);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(none none none), hwb(none none none))`, `color-mix(in hwb, hwb(none none none), hwb(none none none))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(none none none), hwb(30deg 30% 40%))`, `color-mix(in hwb, hwb(none none none), rgb(153, 115, 77))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(none none none))`, `color-mix(in hwb, rgb(26, 204, 26), hwb(none none none))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% none), hwb(30deg 30% 40%))`, `color-mix(in hwb, hwb(120 10% none), rgb(153, 115, 77))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%), hwb(30deg 30% none))`, `color-mix(in hwb, rgb(26, 204, 26), hwb(30 30% none))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(none 10% 20%), hwb(30deg none 40%))`, `color-mix(in hwb, hwb(none 10% 20%), hwb(30 none 40%))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40%))`, `color-mix(in hwb, hwb(120 10% 20% / none), rgb(153, 115, 77))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / 0.5))`, `color-mix(in hwb, hwb(120 10% 20% / none), rgba(153, 115, 77, 0.5))`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / none), hwb(30deg 30% 40% / none))`, `color-mix(in hwb, hwb(120 10% 20% / none), hwb(30 30% 40% / none))`, 1);++ fuzzy_test_valid_color(`color-mix(in hwb, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lab(100 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lab(0 104.3 -50.9) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lch(100 116 334) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, lch(0 116 334) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, oklab(100 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklab(0 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, oklch(100 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklch(0 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklab(1 0.365 -0.16) 100%, rgb(0, 0, 0) 0%)`);+ fuzzy_test_valid_color(`color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`, `color-mix(in hwb, oklch(1 0.399 336.3) 100%, rgb(0, 0, 0) 0%)`);++ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20%) 0%, hwb(30deg 30% 40%) 0%)`, `color-mix(in hwb, rgb(26, 204, 26) 0%, rgb(153, 115, 77) 0%)`, 1);+ fuzzy_test_valid_color(`color-mix(in hwb, hwb(120deg 10% 20% / 0.4) 0%, hwb(30deg 30% 40% / 0.8) 0%)`, `color-mix(in hwb, rgba(26, 204, 26, 0.4) 0%, rgba(153, 115, 77, 0.8) 0%)`, 1);fuzzy_test_valid_color(`color-mix(hwb(120deg 10% 20%), hwb(30deg 30% 40%))`, `color-mix(rgb(26, 204, 26), rgb(153, 115, 77))`); // Missing interpolation method.// lch()fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30), lch(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 25%, lch(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lch, 25% lch(10 20 30deg), lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 25%, lch(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg), 25% lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 75%, lch(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg) 25%)`, `color-mix(in lch, lch(10 20 30) 75%, lch(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg) 75%)`, `color-mix(in lch, lch(10 20 30) 25%, lch(50 60 70))`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 25%, lch(50 60 70) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lch, 25% lch(10 20 30deg), lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 25%, lch(50 60 70) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg), 25% lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 75%, lch(50 60 70) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg), lch(50 60 70deg) 25%)`, `color-mix(in lch, lch(10 20 30) 75%, lch(50 60 70) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 25%, lch(50 60 70deg) 75%)`, `color-mix(in lch, lch(10 20 30) 25%, lch(50 60 70) 75%)`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 30%, lch(50 60 70deg) 90%)`, `color-mix(in lch, lch(10 20 30) 30%, lch(50 60 70) 90%)`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 12.5%, lch(50 60 70deg) 37.5%)`, `color-mix(in lch, lch(10 20 30) 12.5%, lch(50 60 70) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 0%, lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 0%, lch(50 60 70))`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg) 0%, lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30) 0%, lch(50 60 70) 100%)`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4), lch(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 25%, lch(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lch, 25% lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 25%, lch(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4), 25% lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 75%, lch(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8) 25%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 75%, lch(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8) 75%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 25%, lch(50 60 70 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 25%, lch(50 60 70 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lch, 25% lch(10 20 30deg / .4), lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 25%, lch(50 60 70 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4), 25% lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 75%, lch(50 60 70 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4), lch(50 60 70deg / .8) 25%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 75%, lch(50 60 70 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 25%, lch(50 60 70deg / .8) 75%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 25%, lch(50 60 70 / 0.8) 75%)`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 30%, lch(50 60 70deg / .8) 90%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 30%, lch(50 60 70 / 0.8) 90%)`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 12.5%, lch(50 60 70deg / .8) 37.5%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 12.5%, lch(50 60 70 / 0.8) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 0%, lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 0%, lch(50 60 70 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / .4) 0%, lch(50 60 70deg / .8))`, `color-mix(in lch, lch(10 20 30 / 0.4) 0%, lch(50 60 70 / 0.8) 100%)`);fuzzy_test_valid_color(`color-mix(in lch, lch(100 0 40deg), lch(100 0 60deg))`, `color-mix(in lch, lch(100 0 40), lch(100 0 60))`);fuzzy_test_valid_color(`color-mix(in lch, lch(100 0 60deg), lch(100 0 40deg))`, `color-mix(in lch, lch(100 0 60), lch(100 0 40))`);@@ -264,28 +272,32 @@fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg))`, `color-mix(in lch, lch(10 20 30 / none), lch(50 60 70))`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg / 0.5))`, `color-mix(in lch, lch(10 20 30 / none), lch(50 60 70 / 0.5))`);fuzzy_test_valid_color(`color-mix(in lch, lch(10 20 30deg / none), lch(50 60 70deg / none))`, `color-mix(in lch, lch(10 20 30 / none), lch(50 60 70 / none))`);++ fuzzy_test_valid_color(`color-mix(in lch, lch(10% 20 30deg) 0%, lch(50% 60 70deg) 0%)`, `color-mix(in lch, lch(10 20 30) 0%, lch(50 60 70) 0%)`);+ fuzzy_test_valid_color(`color-mix(in lch, lch(10% 20 30deg / .4) 0%, lch(50% 60 70deg / .8) 0%)`, `color-mix(in lch, lch(10 20 30 / 0.4) 0%, lch(50 60 70 / 0.8) 0%)`);+fuzzy_test_valid_color(`color-mix(lch(10 20 30), lch(50 60 70))`); // Missing interpolation method.// oklch()fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30), oklch(0.5 0.6 70))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 25%, oklch(0.5 0.6 70))`);- fuzzy_test_valid_color(`color-mix(in oklch, 25% oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 25%, oklch(0.5 0.6 70))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg), 25% oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 75%, oklch(0.5 0.6 70))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg) 25%)`, `color-mix(in oklch, oklch(0.1 0.2 30) 75%, oklch(0.5 0.6 70))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg) 75%)`, `color-mix(in oklch, oklch(0.1 0.2 30) 25%, oklch(0.5 0.6 70))`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 25%, oklch(0.5 0.6 70) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, 25% oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 25%, oklch(0.5 0.6 70) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg), 25% oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 75%, oklch(0.5 0.6 70) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg), oklch(0.5 0.6 70deg) 25%)`, `color-mix(in oklch, oklch(0.1 0.2 30) 75%, oklch(0.5 0.6 70) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 25%, oklch(0.5 0.6 70deg) 75%)`, `color-mix(in oklch, oklch(0.1 0.2 30) 25%, oklch(0.5 0.6 70) 75%)`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 30%, oklch(0.5 0.6 70deg) 90%)`, `color-mix(in oklch, oklch(0.1 0.2 30) 30%, oklch(0.5 0.6 70) 90%)`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 12.5%, oklch(0.5 0.6 70deg) 37.5%)`, `color-mix(in oklch, oklch(0.1 0.2 30) 12.5%, oklch(0.5 0.6 70) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 0%, oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 0%, oklch(0.5 0.6 70))`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg) 0%, oklch(0.5 0.6 70deg))`, `color-mix(in oklch, oklch(0.1 0.2 30) 0%, oklch(0.5 0.6 70) 100%)`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4), oklch(0.5 0.6 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 25%, oklch(0.5 0.6 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklch, 25% oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 25%, oklch(0.5 0.6 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), 25% oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 75%, oklch(0.5 0.6 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8) 25%)`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 75%, oklch(0.5 0.6 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8) 75%)`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 25%, oklch(0.5 0.6 70 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 25%, oklch(0.5 0.6 70 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, 25% oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 25%, oklch(0.5 0.6 70 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), 25% oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 75%, oklch(0.5 0.6 70 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4), oklch(0.5 0.6 70deg / .8) 25%)`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 75%, oklch(0.5 0.6 70 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 25%, oklch(0.5 0.6 70deg / .8) 75%)`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 25%, oklch(0.5 0.6 70 / 0.8) 75%)`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 30%, oklch(0.5 0.6 70deg / .8) 90%)`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 30%, oklch(0.5 0.6 70 / 0.8) 90%)`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 12.5%, oklch(0.5 0.6 70deg / .8) 37.5%)`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 12.5%, oklch(0.5 0.6 70 / 0.8) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 0%, oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 0%, oklch(0.5 0.6 70 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / .4) 0%, oklch(0.5 0.6 70deg / .8))`, `color-mix(in oklch, oklch(0.1 0.2 30 / 0.4) 0%, oklch(0.5 0.6 70 / 0.8) 100%)`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(1 0 40deg), oklch(1 0 60deg))`, `color-mix(in oklch, oklch(1 0 40), oklch(1 0 60))`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(1 0 60deg), oklch(1 0 40deg))`, `color-mix(in oklch, oklch(1 0 60), oklch(1 0 40))`);@@ -332,28 +344,31 @@fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg / 0.5))`, `color-mix(in oklch, oklch(0.1 0.2 30 / none), oklch(0.5 0.6 70 / 0.5))`);fuzzy_test_valid_color(`color-mix(in oklch, oklch(0.1 0.2 30deg / none), oklch(0.5 0.6 70deg / none))`, `color-mix(in oklch, oklch(0.1 0.2 30 / none), oklch(0.5 0.6 70 / none))`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(10% 20 30deg) 0%, oklch(50% 60 70deg) 0%)`, `color-mix(in oklch, oklch(0.1 20 30) 0%, oklch(0.5 60 70) 0%)`);+ fuzzy_test_valid_color(`color-mix(in oklch, oklch(10% 20 30deg / .4) 0%, oklch(50% 60 70deg / .8) 0%)`, `color-mix(in oklch, oklch(0.1 20 30 / 0.4) 0%, oklch(0.5 60 70 / 0.8) 0%)`);+fuzzy_test_valid_color(`color-mix(oklch(0.1 20 30), oklch(0.5 60 70))`); // Missing interpolation method.// lab()fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30), lab(50 60 70))`, `color-mix(in lab, lab(10 20 30), lab(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lab, 25% lab(10 20 30), lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30), 25% lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 75%, lab(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30), lab(50 60 70) 25%)`, `color-mix(in lab, lab(10 20 30) 75%, lab(50 60 70))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)`, `color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lab, 25% lab(10 20 30), lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30), 25% lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 75%, lab(50 60 70) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30), lab(50 60 70) 25%)`, `color-mix(in lab, lab(10 20 30) 75%, lab(50 60 70) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)`, `color-mix(in lab, lab(10 20 30) 25%, lab(50 60 70) 75%)`);fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 30%, lab(50 60 70) 90%)`, `color-mix(in lab, lab(10 20 30) 30%, lab(50 60 70) 90%)`);fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 12.5%, lab(50 60 70) 37.5%)`, `color-mix(in lab, lab(10 20 30) 12.5%, lab(50 60 70) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70))`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70))`, `color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70) 100%)`);fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4), lab(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 25%, lab(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lab, 25% lab(10 20 30 / .4), lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 25%, lab(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4), 25% lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 75%, lab(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8) 25%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 75%, lab(50 60 70 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8) 75%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 25%, lab(50 60 70 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 25%, lab(50 60 70 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lab, 25% lab(10 20 30 / .4), lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 25%, lab(50 60 70 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4), 25% lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 75%, lab(50 60 70 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4), lab(50 60 70 / .8) 25%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 75%, lab(50 60 70 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 25%, lab(50 60 70 / .8) 75%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 25%, lab(50 60 70 / 0.8) 75%)`);fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 30%, lab(50 60 70 / .8) 90%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 30%, lab(50 60 70 / 0.8) 90%)`);fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 12.5%, lab(50 60 70 / .8) 37.5%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 12.5%, lab(50 60 70 / 0.8) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 0%, lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 0%, lab(50 60 70 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / .4) 0%, lab(50 60 70 / .8))`, `color-mix(in lab, lab(10 20 30 / 0.4) 0%, lab(50 60 70 / 0.8) 100%)`);fuzzy_test_valid_color(`color-mix(in lab, lab(none none none), lab(none none none))`, `color-mix(in lab, lab(none none none), lab(none none none))`);fuzzy_test_valid_color(`color-mix(in lab, lab(none none none), lab(50 60 70))`, `color-mix(in lab, lab(none none none), lab(50 60 70))`);@@ -365,28 +380,31 @@fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / none), lab(50 60 70 / 0.5))`, `color-mix(in lab, lab(10 20 30 / none), lab(50 60 70 / 0.5))`);fuzzy_test_valid_color(`color-mix(in lab, lab(10 20 30 / none), lab(50 60 70 / none))`, `color-mix(in lab, lab(10 20 30 / none), lab(50 60 70 / none))`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10% 20 30) 0%, lab(50% 60 70) 0%)`, `color-mix(in lab, lab(10 20 30) 0%, lab(50 60 70) 0%)`);+ fuzzy_test_valid_color(`color-mix(in lab, lab(10% 20 30 / .4) 0%, lab(50% 60 70 / .8) 0%)`, `color-mix(in lab, lab(10 20 30 / 0.4) 0%, lab(50 60 70 / 0.8) 0%)`);+fuzzy_test_valid_color(`color-mix(lab(10 20 30), lab(50 60 70))`); // Missing interpolation method.// oklab()fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in oklab, 25% oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3), 25% oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 75%, oklab(0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7) 25%)`, `color-mix(oklab(0.1 0.2 0.3) 75%, oklab(0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)`, `color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, 25% oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3), 25% oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 75%, oklab(0.5 0.6 0.7) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7) 25%)`, `color-mix(oklab(0.1 0.2 0.3) 75%, oklab(0.5 0.6 0.7) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)`, `color-mix(oklab(0.1 0.2 0.3) 25%, oklab(0.5 0.6 0.7) 75%)`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 30%, oklab(0.5 0.6 0.7) 90%)`, `color-mix(oklab(0.1 0.2 0.3) 30%, oklab(0.5 0.6 0.7) 90%)`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 12.5%, oklab(0.5 0.6 0.7) 37.5%)`, `color-mix(oklab(0.1 0.2 0.3) 12.5%, oklab(0.5 0.6 0.7) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 0%, oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 0%, oklab(0.5 0.6 0.7))`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3) 0%, oklab(0.5 0.6 0.7))`, `color-mix(oklab(0.1 0.2 0.3) 0%, oklab(0.5 0.6 0.7) 100%)`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4), oklab(0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 25%, oklab(0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklab, 25% oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 25%, oklab(0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), 25% oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 75%, oklab(0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8) 25%)`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 75%, oklab(0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8) 75%)`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 25%, oklab(0.5 0.6 0.7 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 25%, oklab(0.5 0.6 0.7 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, 25% oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 25%, oklab(0.5 0.6 0.7 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), 25% oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 75%, oklab(0.5 0.6 0.7 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4), oklab(0.5 0.6 0.7 / .8) 25%)`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 75%, oklab(0.5 0.6 0.7 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 25%, oklab(0.5 0.6 0.7 / .8) 75%)`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 25%, oklab(0.5 0.6 0.7 / 0.8) 75%)`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 30%, oklab(0.5 0.6 0.7 / .8) 90%)`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 30%, oklab(0.5 0.6 0.7 / 0.8) 90%)`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 12.5%, oklab(0.5 0.6 0.7 / .8) 37.5%)`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 12.5%, oklab(0.5 0.6 0.7 / 0.8) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 0%, oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 0%, oklab(0.5 0.6 0.7 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / .4) 0%, oklab(0.5 0.6 0.7 / .8))`, `color-mix(oklab(0.1 0.2 0.3 / 0.4) 0%, oklab(0.5 0.6 0.7 / 0.8) 100%)`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(none none none), oklab(none none none))`, `color-mix(oklab(none none none), oklab(none none none))`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(none none none), oklab(0.5 0.6 0.7))`, `color-mix(oklab(none none none), oklab(0.5 0.6 0.7))`);@@ -398,6 +416,9 @@fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7 / 0.5))`, `color-mix(oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7 / 0.5))`);fuzzy_test_valid_color(`color-mix(in oklab, oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7 / none))`, `color-mix(oklab(0.1 0.2 0.3 / none), oklab(0.5 0.6 0.7 / none))`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(10% 20 30) 0%, oklab(50% 60 70) 0%)`, `color-mix(oklab(0.1 20 30) 0%, oklab(0.5 60 70) 0%)`);+ fuzzy_test_valid_color(`color-mix(in oklab, oklab(10% 20 30 / .4) 0%, oklab(50% 60 70 / .8) 0%)`, `color-mix(oklab(0.1 20 30 / 0.4) 0%, oklab(0.5 60 70 / 0.8) 0%)`);+fuzzy_test_valid_color(`color-mix(oklab(0.1 0.2 0.3), oklab(0.5 0.6 0.7))`); // Missing interpolation method.for (const colorSpace of [ "srgb", "srgb-linear", "display-p3", "display-p3-linear", "a98-rgb", "prophoto-rgb", "rec2020", "xyz", "xyz-d50", "xyz-d65" ]) {@@ -406,20 +427,20 @@fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3), color(${resultColorSpace} 0.5 0.6 0.7))`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, 50% color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3), color(${resultColorSpace} 0.5 0.6 0.7))`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3), 50% color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3), color(${resultColorSpace} 0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 25%, color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 25%, color(${resultColorSpace} 0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7) 25%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 75%, color(${resultColorSpace} 0.5 0.6 0.7))`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 25%, color(${colorSpace} .5 .6 .7) 75%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 25%, color(${resultColorSpace} 0.5 0.6 0.7))`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 25%, color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 25%, color(${resultColorSpace} 0.5 0.6 0.7) 75%)`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7) 25%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 75%, color(${resultColorSpace} 0.5 0.6 0.7) 25%)`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 25%, color(${colorSpace} .5 .6 .7) 75%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 25%, color(${resultColorSpace} 0.5 0.6 0.7) 75%)`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 30%, color(${colorSpace} .5 .6 .7) 90%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 30%, color(${resultColorSpace} 0.5 0.6 0.7) 90%)`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 12.5%, color(${colorSpace} .5 .6 .7) 37.5%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 12.5%, color(${resultColorSpace} 0.5 0.6 0.7) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 0%, color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 0%, color(${resultColorSpace} 0.5 0.6 0.7))`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 0%, color(${colorSpace} .5 .6 .7))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 0%, color(${resultColorSpace} 0.5 0.6 0.7) 100%)`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .5), color(${colorSpace} .5 .6 .7 / .8))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.5), color(${resultColorSpace} 0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 25%, color(${colorSpace} .5 .6 .7 / .8))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 25%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4), color(${colorSpace} .5 .6 .7 / .8) 25%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 75%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8))`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 25%, color(${colorSpace} .5 .6 .7 / .8) 75%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 25%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 25%, color(${colorSpace} .5 .6 .7 / .8))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 25%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 75%)`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4), color(${colorSpace} .5 .6 .7 / .8) 25%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 75%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 25%)`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 25%, color(${colorSpace} .5 .6 .7 / .8) 75%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 25%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 75%)`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 30%, color(${colorSpace} .5 .6 .7 / .8) 90%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 30%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 90%)`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 12.5%, color(${colorSpace} .5 .6 .7 / .8) 37.5%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 12.5%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 37.5%)`);- fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 0%, color(${colorSpace} .5 .6 .7 / .8))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 0%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8))`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 0%, color(${colorSpace} .5 .6 .7 / .8))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 0%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 100%)`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} 2 3 4 / 5), color(${colorSpace} 4 6 8 / 10))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 2 3 4), color(${resultColorSpace} 4 6 8))`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} -2 -3 -4), color(${colorSpace} -4 -6 -8))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} -2 -3 -4), color(${resultColorSpace} -4 -6 -8))`);@@ -435,24 +456,28 @@fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / none), color(${colorSpace} .5 .6 .7 / 0.5))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / none), color(${resultColorSpace} 0.5 0.6 0.7 / 0.5))`);fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / none), color(${colorSpace} .5 .6 .7 / none))`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / none), color(${resultColorSpace} 0.5 0.6 0.7 / none))`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3) 0%, color(${colorSpace} .5 .6 .7) 0%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3) 0%, color(${resultColorSpace} 0.5 0.6 0.7) 0%)`);+ fuzzy_test_valid_color(`color-mix(in ${colorSpace}, color(${colorSpace} .1 .2 .3 / .4) 0%, color(${colorSpace} .5 .6 .7 / .8) 0%)`, `color-mix(in ${resultColorSpace}, color(${resultColorSpace} 0.1 0.2 0.3 / 0.4) 0%, color(${resultColorSpace} 0.5 0.6 0.7 / 0.8) 0%)`);+fuzzy_test_valid_color(`color-mix(color(${colorSpace} .1 .2 .3), color(${colorSpace} .5 .6 .7))`, `color-mix(color(${resultColorSpace} .1 .2 .3), color(${resultColorSpace} .5 .6 .7))`); // Missing interpolation method.}// Test percent normalizationfuzzy_test_valid_color(`color-mix(in srgb, red 50%, blue 50%)`, `color-mix(in srgb, red, blue)`) // both 50%- fuzzy_test_valid_color(`color-mix(in srgb, red 10%, blue 90%)`, `color-mix(in srgb, red 10%, blue)`) // sum to 100%+ fuzzy_test_valid_color(`color-mix(in srgb, red 10%, blue 90%)`, `color-mix(in srgb, red 10%, blue 90%)`) // sum to 100%fuzzy_test_valid_color(`color-mix(in srgb, red 50%, blue 40%)`, `color-mix(in srgb, red 50%, blue 40%)`) // only one is 50% (p1)fuzzy_test_valid_color(`color-mix(in srgb, red 40%, blue 50%)`, `color-mix(in srgb, red 40%, blue 50%)`) // only one is 50% (p2)- fuzzy_test_valid_color(`color-mix(in srgb, red 30%, blue 40%)`, `color-mix(in srgb, red 30%, blue 40%)`) // sum to less than 100- fuzzy_test_valid_color(`color-mix(in srgb, red 75%, blue 75%)`, `color-mix(in srgb, red 75%, blue 75%)`) // sum to more than 100+ fuzzy_test_valid_color(`color-mix(in srgb, red 30%, blue 40%)`, `color-mix(in srgb, red 30%, blue 40%)`) // sum to less than 100%+ fuzzy_test_valid_color(`color-mix(in srgb, red 75%, blue 75%)`, `color-mix(in srgb, red 75%, blue 75%)`) // sum to more than 100%+ fuzzy_test_valid_color(`color-mix(in srgb, red 0% , blue 0%)`, `color-mix(in srgb, red 0%, blue 0%)`) // sum to 0%fuzzy_test_valid_color(`color-mix(in srgb, red calc(10%), blue 50%)`, `color-mix(in srgb, red calc(10%), blue 50%)`) // one is `calc()` (p1)fuzzy_test_valid_color(`color-mix(in srgb, red 50%, blue calc(10%))`, `color-mix(in srgb, red 50%, blue calc(10%))`) // one is `calc()` (p2)fuzzy_test_valid_color(`color-mix(in srgb, red calc(10%), blue calc(90%))`, `color-mix(in srgb, red calc(10%), blue calc(90%))`) // both are `calc()`fuzzy_test_valid_color(`color-mix(in srgb, red 50%, blue)`, `color-mix(in srgb, red, blue)`) // only p1 specified, is 50%- fuzzy_test_valid_color(`color-mix(in srgb, red 10%, blue)`, `color-mix(in srgb, red 10%, blue)`) // only p1 specified+ fuzzy_test_valid_color(`color-mix(in srgb, red 10%, blue)`, `color-mix(in srgb, red 10%, blue 90%)`) // only p1 specifiedfuzzy_test_valid_color(`color-mix(in srgb, red calc(50%), blue)`, `color-mix(in srgb, red calc(50%), blue)`) // only p1 specified, is `calc()`fuzzy_test_valid_color(`color-mix(in srgb, red, blue 50%)`, `color-mix(in srgb, red, blue)`) // only p2 specified, is 50%- fuzzy_test_valid_color(`color-mix(in srgb, red, blue 90%)`, `color-mix(in srgb, red 10%, blue)`) // only p2 specified+ fuzzy_test_valid_color(`color-mix(in srgb, red, blue 90%)`, `color-mix(in srgb, red 10%, blue 90%)`) // only p2 specifiedfuzzy_test_valid_color(`color-mix(in srgb, red, blue calc(50%))`, `color-mix(in srgb, red, blue calc(50%))`) // only p2 specified, is `calc()`fuzzy_test_valid_color(`color-mix(in srgb, red, blue)`, `color-mix(in srgb, red, blue)`) // neither is specified@@ -468,6 +493,8 @@fuzzy_test_valid_color(`color-mix(in srgb, red, green 25%, blue 25%)`, `color-mix(in srgb, red 50%, green 25%, blue 25%)`);fuzzy_test_valid_color(`color-mix(in srgb, red, green, blue, white)`, `color-mix(in srgb, red, green, blue, white)`);fuzzy_test_valid_color(`color-mix(in srgb, currentcolor, red, blue)`, `color-mix(in srgb, currentcolor, red, blue)`);+ fuzzy_test_valid_color(`color-mix(in srgb, red 0%)`, `color-mix(in srgb, red 0%)`);+ fuzzy_test_valid_color(`color-mix(in srgb, red 0%, green 0%, blue 0%)`, `color-mix(in srgb, red 0%, green 0%, blue 0%)`);</script></body></html>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hsl.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hsl.htmlindex c2adb9b52b9..4431731625b 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hsl.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hsl.html@@ -9,29 +9,30 @@<script src="../../../resources/testharness.js"></script><script src="../../../resources/testharnessreport.js"></script><script src="../../../css/support/parsing-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script></head><body><script>tests = [["hsl(120 30% 50%)", "rgb(89, 166, 89)"],["hsl(120 30% 50% / 0.5)", "rgba(89, 166, 89, 0.5)"],- ["hsl(none none none)", "rgb(0, 0, 0)"],+ ["hsl(none none none)", "hsl(none none none)"],["hsl(0 0% 0%)", "rgb(0, 0, 0)"],- ["hsl(none none none / none)", "rgba(0, 0, 0, 0)"],+ ["hsl(none none none / none)", "hsl(none none none / none)"],["hsl(0 0% 0% / 0)", "rgba(0, 0, 0, 0)"],- ["hsla(none none none)", "rgb(0, 0, 0)"],+ ["hsla(none none none)", "hsl(none none none)"],["hsla(0 0% 0%)", "rgb(0, 0, 0)"],- ["hsla(none none none / none)", "rgba(0, 0, 0, 0)"],+ ["hsla(none none none / none)", "hsl(none none none / none)"],["hsla(0 0% 0% / 0)", "rgba(0, 0, 0, 0)"],- ["hsl(120 none none)", "rgb(0, 0, 0)"],+ ["hsl(120 none none)", "hsl(120 none none)"],["hsl(120 0% 0%)", "rgb(0, 0, 0)"],- ["hsl(120 80% none)", "rgb(0, 0, 0)"],+ ["hsl(120 80% none)", "hsl(120 80% none)"],["hsl(120 80% 0%)", "rgb(0, 0, 0)"],- ["hsl(120 none 50%)", "rgb(128, 128, 128)"],+ ["hsl(120 none 50%)", "hsl(120 none 50%)"],["hsl(120 0% 50%)", "rgb(128, 128, 128)"],- ["hsl(120 100% 50% / none)", "rgba(0, 255, 0, 0)"],+ ["hsl(120 100% 50% / none)", "hsl(120 100% 50% / none)"],["hsl(120 100% 50% / 0)", "rgba(0, 255, 0, 0)"],- ["hsl(none 100% 50%)", "rgb(255, 0, 0)"],+ ["hsl(none 100% 50%)", "hsl(none 100% 50%)"],["hsl(0 100% 50%)", "rgb(255, 0, 0)"],// Test with number components.@@ -41,11 +42,11 @@ tests = [["hsl(120 30% 50 / 0.5)", "rgba(89, 166, 89, 0.5)"],["hsl(120 30 50%)", "rgb(89, 166, 89)"],["hsl(120 30 50% / 0.5)", "rgba(89, 166, 89, 0.5)"],- ["hsl(120 none 50)", "rgb(128, 128, 128)"],- ["hsl(120 none 50 / 0.5)", "rgba(128, 128, 128, 0.5)"],- ["hsl(120 30 none)", "rgb(0, 0, 0)"],- ["hsl(120 30 none / 0.5)", "rgba(0, 0, 0, 0.5)"],- ["hsl(120 30 50 / none)", "rgba(89, 166, 89, 0)"],+ ["hsl(120 none 50)", "hsl(120 none 50%)"],+ ["hsl(120 none 50 / 0.5)", "hsl(120 none 50% / 0.5)"],+ ["hsl(120 30 none)", "hsl(120 30% none)"],+ ["hsl(120 30 none / 0.5)", "hsl(120 30% none / 0.5)"],+ ["hsl(120 30 50 / none)", "hsl(120 30% 50% / none)"],// Test parse-time clamp of negative saturation to zero["hsl(0 -50% 40%)", "rgb(102, 102, 102)"],@@ -53,14 +54,17 @@ tests = [["hsl(0 -50 40%)", "rgb(102, 102, 102)"],["hsl(30 -50 60)", "rgb(153, 153, 153)"],- // Test non-finite values. calc(infinity) goes to upper bound while calc(-infinity) and NaN go to the lower bound.- // See: https://github.com/w3c/csswg-drafts/issues/8629- ["hsl(calc(infinity) 100% 50%)", "rgb(255, 0, 0)"], // hsl(360 100% 50%)+ // In hsl(calc(-infinity) 0 0) or hsl(calc(infinity) 0 0), the <hue> component is again normalized to 0 degrees.+ // See: https://drafts.csswg.org/css-color-4/#example-hue-normalization+ ["hsl(calc(infinity) 100% 50%)", "rgb(255, 0, 0)"], // hsl(0 100% 50%)["hsl(calc(-infinity) 100% 50%)", "rgb(255, 0, 0)"], // hsl(0 100% 50%)["hsl(calc(0 / 0) 100% 50%)", "rgb(255, 0, 0)"], // hsl(0 100% 50%)["hsl(90 50% 50% / calc(infinity))", "rgb(128, 191, 64)"], // hsl(90 50% 50%)["hsl(90 50% 50% / calc(-infinity))", "rgba(128, 191, 64, 0)"], // hsl(90 50% 50% / 0)+ // NaN does not escape a top-level calculation; it’s censored into a zero value+ // See: https://drafts.csswg.org/css-values-4/#calc-error-constants["hsl(90 50% 50% / calc(0 / 0))", "rgba(128, 191, 64, 0)"], // hsl(90 50% 50% / 0)+ ["hsl(90 50% 50% / calc(NaN))", "rgba(128, 191, 64, 0)"], // hsl(90 50% 50% / 0)// calc(50% + (sign(1em - 10px) * 10%)) cannot be evaluated eagerly because font relative units are not yet known at parse time.["hsl(calc(50deg + (sign(1em - 10px) * 10deg)), 0%, 0%, 50%)", "hsl(calc(50deg + (10deg * sign(1em - 10px))) 0 0 / 0.5)"],@@ -86,7 +90,7 @@ tests = [];for (const test of tests) {- test_valid_value("color", test[0], test[1], test[2] ? `[${test[2]}]` : undefined);+ fuzzy_test_valid_color(test[0], test[1]);}</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hwb.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hwb.htmlindex ea363924538..b430673deff 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hwb.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-hwb.html@@ -9,25 +9,26 @@<script src="../../../resources/testharness.js"></script><script src="../../../resources/testharnessreport.js"></script><script src="../../../css/support/parsing-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script></head><body><script>tests = [["hwb(120 30% 50%)", "rgb(77, 128, 77)"],["hwb(120 30% 50% / 0.5)", "rgba(77, 128, 77, 0.5)"],- ["hwb(none none none)", "rgb(255, 0, 0)"],+ ["hwb(none none none)", "hwb(none none none)"],["hwb(0 0% 0%)", "rgb(255, 0, 0)"],- ["hwb(none none none / none)", "rgba(255, 0, 0, 0)"],+ ["hwb(none none none / none)", "hwb(none none none / none)"],["hwb(0 0% 0% / 0)", "rgba(255, 0, 0, 0)"],- ["hwb(120 none none)", "rgb(0, 255, 0)"],+ ["hwb(120 none none)", "hwb(120 none none)"],["hwb(120 0% 0%)", "rgb(0, 255, 0)"],- ["hwb(120 80% none)", "rgb(204, 255, 204)"],+ ["hwb(120 80% none)", "hwb(120 80% none)"],["hwb(120 80% 0%)", "rgb(204, 255, 204)"],- ["hwb(120 none 50%)", "rgb(0, 128, 0)"],+ ["hwb(120 none 50%)", "hwb(120 none 50%)"],["hwb(120 0% 50%)", "rgb(0, 128, 0)"],- ["hwb(120 30% 50% / none)", "rgba(77, 128, 77, 0)"],+ ["hwb(120 30% 50% / none)", "hwb(120 30% 50% / none)"],["hwb(120 30% 50% / 0)", "rgba(77, 128, 77, 0)"],- ["hwb(none 100% 50% / none)", "rgba(170, 170, 170, 0)"],+ ["hwb(none 100% 50% / none)", "hwb(none 100% 50% / none)"],["hwb(0 100% 50% / 0)", "rgba(170, 170, 170, 0)"],// Test with number components.@@ -37,25 +38,28 @@ tests = [["hwb(120 30% 50 / 0.5)", "rgba(77, 128, 77, 0.5)"],["hwb(120 30 50%)", "rgb(77, 128, 77)"],["hwb(120 30 50% / 0.5)", "rgba(77, 128, 77, 0.5)"],- ["hwb(120 none 50)", "rgb(0, 128, 0)"],- ["hwb(120 none 50 / 0.5)", "rgba(0, 128, 0, 0.5)"],- ["hwb(120 30 none)", "rgb(77, 255, 77)"],- ["hwb(120 30 none / 0.5)", "rgba(77, 255, 77, 0.5)"],- ["hwb(120 30 50 / none)", "rgba(77, 128, 77, 0)"],+ ["hwb(120 none 50)", "hwb(120 none 50%)"],+ ["hwb(120 none 50 / 0.5)", "hwb(120 none 50% / 0.5)"],+ ["hwb(120 30 none)", "hwb(120 30% none)"],+ ["hwb(120 30 none / 0.5)", "hwb(120 30% none / 0.5)"],+ ["hwb(120 30 50 / none)", "hwb(120 30% 50% / none)"],// Test that rounding happens properly. hwb(320deg 30% 40%) in sRGB has a blue// channel of exactly one-half.// 0.5 * 255 = 127.5. This value should be rounded UP to 128, not down to 127.["hwb(320deg 30% 40%)", "rgb(153, 77, 128)"],- // Test non-finite values. calc(infinity) goes to upper bound while calc(-infinity) and NaN go to the lower bound.- // See: https://github.com/w3c/csswg-drafts/issues/8629- ["hwb(calc(infinity) 20% 10%)", "rgb(230, 51, 51)"], // hwb(360 20% 10%)+ // In hsl(calc(-infinity) 0 0) or hsl(calc(infinity) 0 0), the <hue> component is again normalized to 0 degrees.+ // See: https://drafts.csswg.org/css-color-4/#example-hue-normalization+ ["hwb(calc(infinity) 20% 10%)", "rgb(230, 51, 51)"], // hwb(0 20% 10%)["hwb(calc(-infinity) 20% 10%)", "rgb(230, 51, 51)"], // hwb(0 20% 10%)["hwb(calc(0 / 0) 20% 10%)", "rgb(230, 51, 51)"], // hwb(0 20% 10%)["hwb(90 20% 10% / calc(infinity))", "rgb(140, 230, 51)"], // hwb(90 20% 10%)["hwb(90 20% 10% / calc(-infinity))", "rgba(140, 230, 51, 0)"], // hwb(90 20% 10% / 0)+ // NaN does not escape a top-level calculation; it’s censored into a zero value+ // See: https://drafts.csswg.org/css-values-4/#calc-error-constants["hwb(90 20% 10% / calc(0 / 0))", "rgba(140, 230, 51, 0)"], // hwb(90 20% 10% / 0)+ ["hwb(90 20% 10% / calc(NaN))", "rgba(140, 230, 51, 0)"], // hsl(90 50% 50% / 0)// calc(50% + (sign(1em - 10px) * 10%)) cannot be evaluated eagerly because font relative units are not yet known at parse time.["hwb(calc(110deg + (sign(1em - 10px) * 10deg)) 30% 50% / 50%)", "hwb(calc(110deg + (10deg * sign(1em - 10px))) 30 50 / 0.5)"],@@ -65,7 +69,7 @@ tests = [];for (const test of tests) {- test_valid_value("color", test[0], test[1]);+ fuzzy_test_valid_color(test[0], test[1]);}</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-relative-color.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-relative-color.htmlindex 19f72d297b0..cf89fa29b8b 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-relative-color.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-relative-color.html@@ -112,11 +112,10 @@fuzzy_test_valid_color(`${rgbFunction}(from rebeccapurple r g b / none)`, `rgb(from rebeccapurple r g b / none)`);fuzzy_test_valid_color(`${rgbFunction}(from rgb(20% 40% 60% / 80%) r g none / alpha)`, `rgb(from rgba(51, 102, 153, 0.8) r g none / alpha)`);fuzzy_test_valid_color(`${rgbFunction}(from rgb(20% 40% 60% / 80%) r g b / none)`, `rgb(from rgba(51, 102, 153, 0.8) r g b / none)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_valid_color(`${rgbFunction}(from rgb(none none none) r g b)`, `rgb(from rgb(0, 0, 0) r g b)`);- fuzzy_test_valid_color(`${rgbFunction}(from rgb(none none none / none) r g b / alpha)`, `rgb(from rgba(0, 0, 0, 0) r g b / alpha)`);- fuzzy_test_valid_color(`${rgbFunction}(from rgb(20% none 60%) r g b)`, `rgb(from rgb(51, 0, 153) r g b)`);- fuzzy_test_valid_color(`${rgbFunction}(from rgb(20% 40% 60% / none) r g b / alpha)`, `rgb(from rgba(51, 102, 153, 0) r g b / alpha)`);+ fuzzy_test_valid_color(`${rgbFunction}(from rgb(none none none) r g b)`, `rgb(from color(srgb none none none) r g b)`);+ fuzzy_test_valid_color(`${rgbFunction}(from rgb(none none none / none) r g b / alpha)`, `rgb(from color(srgb none none none / none) r g b / alpha)`);+ fuzzy_test_valid_color(`${rgbFunction}(from rgb(20% none 60%) r g b)`, `rgb(from color(srgb 0.2 none 0.6) r g b)`);+ fuzzy_test_valid_color(`${rgbFunction}(from rgb(20% 40% 60% / none) r g b / alpha)`, `rgb(from color(srgb 0.2 0.4 0.6 / none) r g b / alpha)`);// Testing with 'currentColor'fuzzy_test_valid_color(`${rgbFunction}(from currentColor r g b)`, `rgb(from currentcolor r g b)`);@@ -188,12 +187,11 @@fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg 20% 50% / .5) h s none / alpha)`, `hsl(from rgba(102, 153, 102, 0.5) h s none / alpha)`);fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg 20% 50% / .5) h s l / none)`, `hsl(from rgba(102, 153, 102, 0.5) h s l / none)`);fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg 20% 50% / .5) none s l / alpha)`, `hsl(from rgba(102, 153, 102, 0.5) none s l / alpha)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_valid_color(`${hslFunction}(from hsl(none none none) h s l)`, `hsl(from rgb(0, 0, 0) h s l)`);- fuzzy_test_valid_color(`${hslFunction}(from hsl(none none none / none) h s l / alpha)`, `hsl(from rgba(0, 0, 0, 0) h s l / alpha)`);- fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg none 50% / .5) h s l)`, `hsl(from rgba(128, 128, 128, 0.5) h s l)`);- fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg 20% 50% / none) h s l / alpha)`, `hsl(from rgba(102, 153, 102, 0) h s l / alpha)`);- fuzzy_test_valid_color(`${hslFunction}(from hsl(none 20% 50% / .5) h s l / alpha)`, `hsl(from rgba(153, 102, 102, 0.5) h s l / alpha)`);+ fuzzy_test_valid_color(`${hslFunction}(from hsl(none none none) h s l)`, `hsl(from hsl(none none none) h s l)`);+ fuzzy_test_valid_color(`${hslFunction}(from hsl(none none none / none) h s l / alpha)`, `hsl(from hsl(none none none / none) h s l / alpha)`);+ fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg none 50% / .5) h s l)`, `hsl(from hsl(120 none 50% / 0.5) h s l)`);+ fuzzy_test_valid_color(`${hslFunction}(from hsl(120deg 20% 50% / none) h s l / alpha)`, `hsl(from hsl(120 20% 50% / none) h s l / alpha)`);+ fuzzy_test_valid_color(`${hslFunction}(from hsl(none 20% 50% / .5) h s l / alpha)`, `hsl(from hsl(none 20% 50% / 0.5) h s l / alpha)`);// Testing with 'currentColor'fuzzy_test_valid_color(`${hslFunction}(from currentColor h s l)`, `hsl(from currentcolor h s l)`);@@ -265,12 +263,11 @@fuzzy_test_valid_color(`hwb(from hwb(120deg 20% 50% / .5) h w none / alpha)`, `hwb(from rgba(51, 128, 51, 0.5) h w none / alpha)`);fuzzy_test_valid_color(`hwb(from hwb(120deg 20% 50% / .5) h w b / none)`, `hwb(from rgba(51, 128, 51, 0.5) h w b / none)`);fuzzy_test_valid_color(`hwb(from hwb(120deg 20% 50% / .5) none w b / alpha)`, `hwb(from rgba(51, 128, 51, 0.5) none w b / alpha)`);- // FIXME: Clarify with spec editors if 'none' should pass through to the constants.- fuzzy_test_valid_color(`hwb(from hwb(none none none) h w b)`, `hwb(from rgb(255, 0, 0) h w b)`);- fuzzy_test_valid_color(`hwb(from hwb(none none none / none) h w b / alpha)`, `hwb(from rgba(255, 0, 0, 0) h w b / alpha)`);- fuzzy_test_valid_color(`hwb(from hwb(120deg none 50% / .5) h w b)`, `hwb(from rgba(0, 128, 0, 0.5) h w b)`);- fuzzy_test_valid_color(`hwb(from hwb(120deg 20% 50% / none) h w b / alpha)`, `hwb(from rgba(51, 128, 51, 0) h w b / alpha)`);- fuzzy_test_valid_color(`hwb(from hwb(none 20% 50% / .5) h w b / alpha)`, `hwb(from rgba(128, 51, 51, 0.5) h w b / alpha)`);+ fuzzy_test_valid_color(`hwb(from hwb(none none none) h w b)`, `hwb(from hwb(none none none) h w b)`);+ fuzzy_test_valid_color(`hwb(from hwb(none none none / none) h w b / alpha)`, `hwb(from hwb(none none none / none) h w b / alpha)`);+ fuzzy_test_valid_color(`hwb(from hwb(120deg none 50% / .5) h w b)`, `hwb(from hwb(120 none 50% / 0.5) h w b)`);+ fuzzy_test_valid_color(`hwb(from hwb(120deg 20% 50% / none) h w b / alpha)`, `hwb(from hwb(120 20% 50% / none) h w b / alpha)`);+ fuzzy_test_valid_color(`hwb(from hwb(none 20% 50% / .5) h w b / alpha)`, `hwb(from hwb(none 20% 50% / 0.5) h w b / alpha)`);// Testing with 'currentColor'fuzzy_test_valid_color(`hwb(from currentColor h w b)`, `hwb(from currentcolor h w b)`);diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-rgb.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-rgb.htmlindex 96b75d3de67..2201cfe3ac2 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-rgb.html+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/parsing/color-valid-rgb.html@@ -9,26 +9,28 @@<script src="../../../resources/testharness.js"></script><script src="../../../resources/testharnessreport.js"></script><script src="../../../css/support/parsing-testcommon.js"></script>+<script src="../../../css/support/color-testcommon.js"></script></head><body><script>tests = [- ["rgb(none none none)", "rgb(0, 0, 0)"],- ["rgb(none none none / none)", "rgba(0, 0, 0, 0)"],- ["rgb(128 none none)", "rgb(128, 0, 0)"],- ["rgb(128 none none / none)", "rgba(128, 0, 0, 0)"],- ["rgb(none none none / .5)", "rgba(0, 0, 0, 0.5)"],- ["rgb(20% none none)", "rgb(51, 0, 0)"],- ["rgb(20% none none / none)", "rgba(51, 0, 0, 0)"],- ["rgb(none none none / 50%)", "rgba(0, 0, 0, 0.5)"],- ["rgba(none none none)", "rgb(0, 0, 0)"],- ["rgba(none none none / none)", "rgba(0, 0, 0, 0)"],- ["rgba(128 none none)", "rgb(128, 0, 0)"],- ["rgba(128 none none / none)", "rgba(128, 0, 0, 0)"],- ["rgba(none none none / .5)", "rgba(0, 0, 0, 0.5)"],- ["rgba(20% none none)", "rgb(51, 0, 0)"],- ["rgba(20% none none / none)", "rgba(51, 0, 0, 0)"],- ["rgba(none none none / 50%)", "rgba(0, 0, 0, 0.5)"],+ ["rgb(none none none)", "color(srgb none none none)"],+ ["rgb(none none none / none)", "color(srgb none none none / none)"],+ ["rgb(128 none none)", "color(srgb 0.50196078 none none)"],+ ["rgb(128 none none / none)", "color(srgb 0.50196078 none none / none)"],+ ["rgb(none none none / .5)", "color(srgb none none none / 0.5)"],+ ["rgb(20% none none)", "color(srgb 0.2 none none)"],+ ["rgb(20% none none / none)", "color(srgb 0.2 none none / none)"],+ ["rgb(none none none / 50%)", "color(srgb none none none / 0.5)"],+ ["rgba(none none none)", "color(srgb none none none)"],+ ["rgba(none none none / none)", "color(srgb none none none / none)"],+ ["rgba(128 none none)", "color(srgb 0.50196078 none none)"],+ ["rgba(128 none none / none)", "color(srgb 0.501961 none none / none)"],+ ["rgba(none none none / .5)", "color(srgb none none none / 0.5)"],+ ["rgba(20% none none)", "color(srgb 0.2 none none)"],+ ["rgba(20% none none / none)", "color(srgb 0.2 none none / none)"],+ ["rgba(none none none / 50%)", "color(srgb none none none / 0.5)"],+["rgb(-2 3 4)", "rgb(0, 3, 4)"],["rgb(-20% 20% 40%)", "rgb(0, 51, 102)"],["rgb(257 30 40)", "rgb(255, 30, 40)"],@@ -99,7 +101,7 @@ tests = [];for (const test of tests) {- test_valid_value("color", test[0], test[1], test[2] ? `[${test[2]}]` : undefined);+ fuzzy_test_valid_color(test[0], test[1]);}</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-color/system-color-consistency.html b/Tests/LibWeb/Text/input/wpt-import/css/css-color/system-color-consistency.htmlnew file mode 100644index 00000000000..02910987fb1--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-color/system-color-consistency.html@@ -0,0 +1,79 @@+<!DOCTYPE html>+<meta charset="utf-8">+<title>CSS Color 4: System color consistency</title>+<link rel="author" title="Jan Keitel" href="mailto:[email protected]">+<link rel="help" href="https://www.w3.org/TR/css-color-4/#css-system-colors">+<meta name="assert" content="computed style of form elements is consistent with definition of system colors">+<script src="../../resources/testharness.js"></script>+<script src="../../resources/testharnessreport.js"></script>+<script src="../../css/support/computed-testcommon.js"></script>+<div style="display: none">+ <div id="target"></div>+ <!-- Reference elements -->+ <!-- Buttons -->+ <div id="buttons">+ <button name="button"></button><input type="submit" name="submit button">+ <input type="reset" name="reset button"><input type="color" name="color picker">+ </div>+ <!-- Input elements -->+ <div id="fields">+ <input type="text" name="text field"><input type="password" name="password field">+ <input type="email" name="email field"><input type="number" name="number field">+ <input type="date" name="date field">+ <textarea name="text area"></textarea>+ </div>+ <mark id="mark">Marked text</mark>+ <!-- Link -->+ <a href="#" id="link">Link</a>+ <div id="canvas" style="color: CanvasText; background-color: Canvas">Canvas Colors</div>+</div>+<script>+ function test_not_canvas(color, colorScheme) {+ test(function() {+ let target = document.getElementById("target");+ target.style.color = color;++ let canvas = document.getElementById("canvas");+ assert_not_equals(getComputedStyle(target).color, getComputedStyle(canvas).backgroundColor, `${color} should not match Canvas`);+ }, `${color} should not match Canvas in ${colorScheme} mode`);+ }++ ['light', 'dark'].forEach(colorScheme => {+ document.documentElement.style.colorScheme = colorScheme;++ // Buttons+ for (let element of document.getElementById("buttons").children) {+ style = getComputedStyle(element);+ test_computed_value('color', 'ButtonBorder', style.getPropertyValue('border-color'), `resolves to the same color as the border-color of a ${element.name} (${colorScheme})`);+ test_computed_value('color', 'ButtonFace', style.getPropertyValue('background-color'), `resolves to the same color as the background-color of a ${element.name} (${colorScheme})`);+ test_computed_value('color', 'ButtonText', style.getPropertyValue('color'), `resolves to the same color as text on a ${element.name} (${colorScheme})`);+ }++ // CanvasText+ style = getComputedStyle(document.getElementsByTagName('html')[0]);+ test_computed_value('color', 'CanvasText', style.getPropertyValue('color'), `has the same color as the color of the html element (${colorScheme})`);++ // Field and FieldText+ for (let element of document.getElementById("fields").children) {+ style = getComputedStyle(element);+ test_computed_value('color', 'Field', style.getPropertyValue('background-color'), `resolves to the same color as the background-color of a ${element.name} (${colorScheme})`);+ test_computed_value('color', 'FieldText', style.getPropertyValue('color'), `resolves to the same color as text on a ${element.name} (${colorScheme})`);+ }++ // Mark and MarkText+ style = getComputedStyle(document.getElementById('mark'));+ test_computed_value('color', 'Mark', style.getPropertyValue('background-color'), `has the same color as the background-color of a mark element (${colorScheme})`);+ test_computed_value('color', 'MarkText', style.getPropertyValue('color'), `has the same color as the color of a mark element (${colorScheme})`);++ // LinkText+ style = getComputedStyle(document.getElementById('link'));+ test_computed_value('color', 'LinkText', style.getPropertyValue('color'), `has the same color as the color of an anchor element (${colorScheme})`);++ // These colors are only text colors and do not have corresponding+ // backgrounds, so they should not match the canvas background (as+ // otherwise they'd be invisible)+ test_not_canvas("LinkText", colorScheme);+ test_not_canvas("ActiveText", colorScheme);+ test_not_canvas("VisitedText", colorScheme);+ });+</script>diff --git a/Tests/LibWeb/Text/input/wpt-import/css/support/color-testcommon.js b/Tests/LibWeb/Text/input/wpt-import/css/support/color-testcommon.jsindex 060f251f0c1..3f1cdd2a998 100644--- a/Tests/LibWeb/Text/input/wpt-import/css/support/color-testcommon.js+++ b/Tests/LibWeb/Text/input/wpt-import/css/support/color-testcommon.js@@ -50,16 +50,17 @@ function set_up_fuzzy_color_test(epsilon) {* @param {string} computed The expected computed color. If omitted, defaults* to the default test_computed_value test, as* fuzziness is unnecessary.- * @param {object} epsilon Epsilon for comparison of numeric values.+ * @param {number} epsilon Epsilon for comparison of numeric values.+ * @param {string} titleExtra Additional information to put in test output.*/-function fuzzy_test_computed_color(specified, computed, epsilon) {+function fuzzy_test_computed_color(specified, computed, epsilon, titleExtra) {if (!computed) {- test_computed_value("color", specified);+ test_computed_value("color", specified, undefined, titleExtra);return;}- test_computed_value("color", specified, computed, undefined /* titleExtra */, {comparisonFunction: set_up_fuzzy_color_test(epsilon)});+ test_computed_value("color", specified, computed, titleExtra, {comparisonFunction: set_up_fuzzy_color_test(epsilon)});}/**@@ -70,16 +71,17 @@ function fuzzy_test_computed_color(specified, computed, epsilon) {* @param {string} computed The expected computed color. If omitted, defaults* to the default test_computed_value test, as* fuzziness is unnecessary.- * @param {object} epsilon Epsilon for comparison of numeric values.+ * @param {number} epsilon Epsilon for comparison of numeric values.+ * @param {string} titleExtra Additional information to put in test output.*/-function fuzzy_test_computed_color_property(property, specified, computed, epsilon) {+function fuzzy_test_computed_color_property(property, specified, computed, epsilon, titleExtra) {if (!computed) {- test_computed_value(property, specified);+ test_computed_value(property, specified, undefined, titleExtra);return;}- test_computed_value(property, specified, computed, undefined /* titleExtra */, {comparisonFunction: set_up_fuzzy_color_test(epsilon)});+ test_computed_value(property, specified, computed, titleExtra, {comparisonFunction: set_up_fuzzy_color_test(epsilon)});}/**@@ -89,7 +91,7 @@ function fuzzy_test_computed_color_property(property, specified, computed, epsil* @param {string} parsed The expected parsed color. If omitted, defaults* to the default test_valid_value test, as* fuzziness is unnecessary.- * @param {object} epsilon Epsilon for comparison of numeric values.+ * @param {number} epsilon Epsilon for comparison of numeric values.*/function fuzzy_test_valid_color(specified, parsed, epsilon) {if (!parsed) {@@ -108,7 +110,7 @@ function fuzzy_test_valid_color(specified, parsed, epsilon) {* @param {string} parsed The expected parsed color. If omitted, defaults* to the default test_valid_value test, as* fuzziness is unnecessary.- * @param {object} epsilon Epsilon for comparison of numeric values.+ * @param {number} epsilon Epsilon for comparison of numeric values.*/function fuzzy_test_valid_color_property(property, specified, parsed, epsilon) {if (!parsed) {