none-components-treated-as-zero.html

PASSExpected18 of 18 subtests pass999 ms

Details

Test
/css/css-color/none-components-treated-as-zero.html
Harness
OK

Subtests

StatusSubtestMessage
PASS'lab(50 50 none)' paints the same as 'lab(50 50 0)'
PASS'lab(50 none 50)' paints the same as 'lab(50 0 50)'
PASS'lab(none 50 50)' paints the same as 'lab(0 50 50)'
PASS'oklab(0.5 0.1 none)' paints the same as 'oklab(0.5 0.1 0)'
PASS'oklab(0.5 none 0.1)' paints the same as 'oklab(0.5 0 0.1)'
PASS'lch(50 50 none)' paints the same as 'lch(50 50 0)'
PASS'lch(50 none 180)' paints the same as 'lch(50 0 180)'
PASS'oklch(0.7 0.15 none)' paints the same as 'oklch(0.7 0.15 0)'
PASS'oklch(0.7 none 180)' paints the same as 'oklch(0.7 0 180)'
PASS'color(display-p3 1 none 0)' paints the same as 'color(display-p3 1 0 0)'
PASS'color(display-p3 none 1 0)' paints the same as 'color(display-p3 0 1 0)'
PASS'color(rec2020 1 none 0)' paints the same as 'color(rec2020 1 0 0)'
PASS'color(a98-rgb 1 none 0)' paints the same as 'color(a98-rgb 1 0 0)'
PASS'color(prophoto-rgb 1 none 0)' paints the same as 'color(prophoto-rgb 1 0 0)'
PASS'color(xyz 0.3 none 0.3)' paints the same as 'color(xyz 0.3 0 0.3)'
PASS'color(srgb-linear 1 none 0)' paints the same as 'color(srgb-linear 1 0 0)'
PASS'lab(50 50 50 / none)' paints the same as 'lab(50 50 50 / 0)'
PASS'oklch(0.7 0.15 180 / none)' paints the same as 'oklch(0.7 0.15 180 / 0)'