Truly independent web browser
LibWeb: Use the specified powerless hue epsilons when mixing colors
Andreas Kling5fb259876354
diff --git a/Libraries/LibWeb/Rust/src/css/color_interpolation.rs b/Libraries/LibWeb/Rust/src/css/color_interpolation.rsindex 75957eb32c0..5c004954023 100644--- a/Libraries/LibWeb/Rust/src/css/color_interpolation.rs+++ b/Libraries/LibWeb/Rust/src/css/color_interpolation.rs@@ -196,30 +196,6 @@ fn substitute_missing_components(}}-fn mark_powerless_hue_after_conversion(- source_type: u8,- target_type: u8,- components: [f32; 4],- missing: &mut [bool; 4],-) {- if source_type == target_type {- return;- }- // NB: Achromatic colors converted through the sRGB -> XYZ-D65 -> XYZ-D50 -> Lab -> LCH chain accumulate- // floating-point error of ~0.016 in the chroma component due to the Bradford chromatic adaptation matrices.- // This is the worst case for all color conversion types, so the threshold is large enough to account for this.- const ACHROMATIC_THRESHOLD: f32 = 0.02;- let powerless = match target_type {- color_conversion::HSL => components[1].abs() < ACHROMATIC_THRESHOLD,- color_conversion::HWB => components[1] + components[2] >= 1.0 - ACHROMATIC_THRESHOLD,- color_conversion::LCH | color_conversion::OKLCH => components[1].abs() < ACHROMATIC_THRESHOLD,- _ => false,- };- if powerless {- missing[hue_index(target_type).unwrap()] = true;- }-}-fn retained_number(value: f32) -> RetainedStyleValueData {RetainedStyleValueData::from_arc(Arc::new(StyleValueData::Number { value: value as f64 }))}@@ -396,10 +372,32 @@ fn convert_for_interpolation(color: &ResolvedColor, target_type: u8, is_polar: b];source_missing[..3].copy_from_slice(&missing);}- let components = color_conversion::convert(color.color_type, target_type, source_components)?;+ let mut components = color_conversion::convert(color.color_type, target_type, source_components)?;let mut missing = carry_forward_missing_components(source_missing, color.color_type, target_type);- if is_polar {- mark_powerless_hue_after_conversion(color.color_type, target_type, components, &mut missing);+ if is_polar && color.color_type != target_type {+ // https://drafts.csswg.org/css-color-4/#powerless+ // However, if a color is automatically produced by color space conversion, then any powerless components in+ // the result must instead be set to missing, instead of whatever value was produced by the conversion+ // process.+ let scale = if matches!(target_type, color_conversion::HSL | color_conversion::HWB) {+ 100.0+ } else {+ 1.0+ };+ let mut target_components = [+ f64::from(components[0]),+ f64::from(components[1]) * scale,+ f64::from(components[2]) * scale,+ ];+ let mut target_missing = [missing[0], missing[1], missing[2]];+ make_powerless_hue_missing(target_type, &mut target_components, &mut target_missing);+ components = [+ target_components[0] as f32,+ (target_components[1] / scale) as f32,+ (target_components[2] / scale) as f32,+ components[3],+ ];+ missing[..3].copy_from_slice(&target_missing);}Some((components, missing))}diff --git a/Libraries/LibWeb/Rust/src/css/color_resolution.rs b/Libraries/LibWeb/Rust/src/css/color_resolution.rsindex aa583bf0c54..d38b32c19a7 100644--- a/Libraries/LibWeb/Rust/src/css/color_resolution.rs+++ b/Libraries/LibWeb/Rust/src/css/color_resolution.rs@@ -1264,16 +1264,17 @@ pub(crate) fn make_powerless_hue_missing(color_type: u8, components: &mut [f64;// hue component as powerless if the chroma (or other measure of colorfulness, such as saturation in hsl)// is less than or equal to the epsilon (ε) specified for that color space.let (hue_index, colorfulness_index, epsilon) = match color_type {- ct::HSL => (0, 1, 0.001),+ ct::HSL => (0, 1, 0.001_f64),ct::LCH => (2, 1, 0.0015),ct::OKLCH => (2, 1, 0.000004),ct::HWB => {// For hwb follow these steps instead:+ // NB: Components are stored in single precision, so they are compared at that precision.let sum = components[1] + components[2];- if sum >= 99.999 {+ if sum as f32 >= 99.999_f32 {missing[0] = true;// 1. if W + B is greater than or equal to ε and W + B is less than 100- if sum < 100.0 {+ if (sum as f32) < 100.0 {// 1.1. if W and B are not missingif !missing[1] && !missing[2] {// 1.1.1. set B to 100 - W@@ -1296,7 +1297,7 @@ pub(crate) fn make_powerless_hue_missing(color_type: u8, components: &mut [f64;_ => return,};let colorfulness = components[colorfulness_index];- if colorfulness <= epsilon {+ if colorfulness as f32 <= epsilon as f32 {missing[hue_index] = true;// When changing a powerless hue component to a missing component, the chroma (or other measure of// colorfulness, such as saturation in hsl; see analogous components) is set to zero to avoid amplifyingdiff --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.txtindex 6e92dfb9451..df46b75a2cc 100644--- 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.txt@@ -2,8 +2,8 @@ Harness status: OKFound 678 tests-675 Pass-3 Fail+677 Pass+1 FailPass Property color value 'hsl(from hsl(none 50% 50%) h s l)'Pass Property color value 'hsl(from hsl(180 none 50%) h s l)'Pass Property color value 'hsl(from hsl(180 50% none) h s l)'@@ -220,7 +220,7 @@ 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 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))'@@ -264,7 +264,7 @@ Pass Property color value 'color-mix(in hwb, oklab(0.5 none 0.1))'Pass Property color value 'color-mix(in hwb, oklab(0.5 0.1 none))'Pass Property color value 'color-mix(in hwb, oklab(none none 0.1))'Pass 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))'+Pass Property color value 'color-mix(in hwb, oklab(none 0.1 none))'Pass Property color value 'color-mix(in hwb, oklab(none none none))'Pass Property color value 'color-mix(in hwb, rgb(none none none))'Pass Property color value 'color-mix(in hwb, color(display-p3 none none none))'diff --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.txtindex be321257382..228566d215e 100644--- 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.txt@@ -2,8 +2,8 @@ Harness status: OKFound 570 tests-523 Pass-47 Fail+555 Pass+15 FailPass 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)'@@ -33,9 +33,9 @@ Pass Property color value 'hsl(from lch(0 0 180) h s l)'Pass 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)'Pass 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.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.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)'Pass Property color value 'hsl(from oklch(0.2 0 180) h s l)'@@ -76,7 +76,7 @@ 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, 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))'@@ -85,7 +85,7 @@ 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, 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))'@@ -94,13 +94,13 @@ 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, 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))'+Pass Property color value 'color-mix(in hsl, color(display-p3 0.50000333 0.49999445 0.49999517), hsl(11 33 44))'+Pass Property color value 'color-mix(in hsl, color(display-p3 0.49999645 0.50000513 0.50000531), hsl(11 33 44))'Pass Property color value 'color-mix(in hsl, hsl(0 50% 50%))'Pass Property color value 'color-mix(in hsl, hsl(180 0 50%))'Pass Property color value 'color-mix(in hsl, hsl(180 50% 0))'@@ -118,7 +118,7 @@ Pass Property color value 'color-mix(in hsl, hwb(180 100% 100%))'Pass Property color value 'color-mix(in hsl, hwb(0 25% 100%))'Pass Property color value 'color-mix(in hsl, hwb(0 100% 100%))'Pass 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%))'+Pass Property color value 'color-mix(in hsl, hwb(180 49.998% 50%))'Pass Property color value 'color-mix(in hsl, lch(0 20 180))'Pass Property color value 'color-mix(in hsl, lch(20 0 180))'Pass Property color value 'color-mix(in hsl, lch(20 20 0))'@@ -127,7 +127,7 @@ Pass Property color value 'color-mix(in hsl, lch(20 0 0))'Pass Property color value 'color-mix(in hsl, lch(0 20 0))'Pass Property color value 'color-mix(in hsl, lch(0 0 0))'Pass 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))'+Pass Property color value 'color-mix(in hsl, lch(20 0.00151 180))'Pass Property color value 'color-mix(in hsl, oklch(0 0.2 180))'Pass Property color value 'color-mix(in hsl, oklch(0.2 0 180))'Pass Property color value 'color-mix(in hsl, oklch(0.2 0.2 0))'@@ -136,13 +136,13 @@ Pass Property color value 'color-mix(in hsl, oklch(0.2 0 0))'Pass Property color value 'color-mix(in hsl, oklch(0 0.2 0))'Pass Property color value 'color-mix(in hsl, oklch(0 0 0))'Pass 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))'+Pass Property color value 'color-mix(in hsl, oklch(0.2 0.0000041 180))'Pass Property color value 'color-mix(in hsl, rgb(0 0 0))'Pass Property color value 'color-mix(in hsl, color(display-p3 0 0 0))'Pass Property color value 'color-mix(in hsl, lab(0 0 0))'Pass 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 'color-mix(in hsl, color(display-p3 0.50000333 0.49999445 0.49999517))'+Pass 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)'Pass Property color value 'hwb(from hsl(180 0 50%) h w b)'Pass Property color value 'hwb(from hsl(180 50% 0) h w b)'@@ -150,7 +150,7 @@ Pass Property color value 'hwb(from hsl(0 0 50%) h w b)'Pass Property color value 'hwb(from hsl(180 0 0) h w b)'Pass Property color value 'hwb(from hsl(0 50% 0) h w b)'Pass 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.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)'@@ -176,7 +176,7 @@ Pass Property color value 'hwb(from lch(0 0 180) h w b)'Pass 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)'Pass 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.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)'Pass Property color value 'hwb(from oklch(0.2 0 180) h w b)'@@ -204,7 +204,7 @@ 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, 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))'@@ -230,7 +230,7 @@ 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, 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))'@@ -239,13 +239,13 @@ 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, 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))'+Pass Property color value 'color-mix(in hwb, color(display-p3 0.50000333 0.49999445 0.49999517), hwb(11 33 44))'+Pass Property color value 'color-mix(in hwb, color(display-p3 0.49999645 0.50000513 0.50000531), hwb(11 33 44))'Pass Property color value 'color-mix(in hwb, hsl(0 50% 50%))'Pass Property color value 'color-mix(in hwb, hsl(180 0 50%))'Pass Property color value 'color-mix(in hwb, hsl(180 50% 0))'@@ -254,7 +254,7 @@ Pass Property color value 'color-mix(in hwb, hsl(180 0 0))'Pass Property color value 'color-mix(in hwb, hsl(0 50% 0))'Pass Property color value 'color-mix(in hwb, hsl(0 0 0))'Pass 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%))'+Pass Property color value 'color-mix(in hwb, hsl(180 0.0011% 50%))'Pass Property color value 'color-mix(in hwb, hwb(0 25% 25%))'Pass Property color value 'color-mix(in hwb, hwb(180 100% 25%))'Pass Property color value 'color-mix(in hwb, hwb(180 25% 100%))'@@ -264,7 +264,7 @@ Pass Property color value 'color-mix(in hwb, hwb(0 25% 100%))'Pass Property color value 'color-mix(in hwb, hwb(0 100% 100%))'Pass Property color value 'color-mix(in hwb, hwb(180 99.999% 0%))'Pass 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))'+Pass Property color value 'color-mix(in hwb, hsl(from hwb(180 99.999% none) h s l))'Pass Property color value 'color-mix(in hwb, hwb(180 99.998% 0%))'Pass Property color value 'color-mix(in hwb, hwb(180 0% 99.999%))'Pass Property color value 'color-mix(in hwb, hwb(180 none 99.999%))'@@ -280,7 +280,7 @@ Pass Property color value 'color-mix(in hwb, lch(20 0 0))'Pass Property color value 'color-mix(in hwb, lch(0 20 0))'Pass Property color value 'color-mix(in hwb, lch(0 0 0))'Pass 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))'+Pass Property color value 'color-mix(in hwb, lch(20 0.00151 180))'Pass Property color value 'color-mix(in hwb, oklch(0 0.2 180))'Pass Property color value 'color-mix(in hwb, oklch(0.2 0 180))'Pass Property color value 'color-mix(in hwb, oklch(0.2 0.2 0))'@@ -289,13 +289,13 @@ Pass Property color value 'color-mix(in hwb, oklch(0.2 0 0))'Pass Property color value 'color-mix(in hwb, oklch(0 0.2 0))'Pass Property color value 'color-mix(in hwb, oklch(0 0 0))'Pass 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))'+Pass Property color value 'color-mix(in hwb, oklch(0.8 0.0000041 180))'Pass Property color value 'color-mix(in hwb, rgb(0 0 0))'Pass Property color value 'color-mix(in hwb, color(display-p3 0 0 0))'Pass Property color value 'color-mix(in hwb, lab(0 0 0))'Pass 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))'+Pass Property color value 'color-mix(in hwb, color(display-p3 0.50000333 0.49999445 0.49999517))'+Pass Property color value 'color-mix(in hwb, color(display-p3 0.49999645 0.50000513 0.50000531))'Pass Property color value 'lch(from hsl(0 50% 50%) l c h)'Pass Property color value 'lch(from hsl(180 0 50%) l c h)'Pass Property color value 'lch(from hsl(180 50% 0) l c h)'@@ -394,7 +394,7 @@ Pass Property color value 'color-mix(in lch, color(display-p3 0 0 0), lch(11 33Pass 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))'+Pass Property color value 'color-mix(in lch, color(display-p3 0.18932064 0.18941374 0.18938824), lch(11 33 44))'Pass Property color value 'color-mix(in lch, hsl(0 50% 50%))'Pass Property color value 'color-mix(in lch, hsl(180 0 50%))'Pass Property color value 'color-mix(in lch, hsl(180 50% 0))'@@ -436,7 +436,7 @@ Pass Property color value 'color-mix(in lch, color(display-p3 0 0 0))'Pass Property color value 'color-mix(in lch, lab(0 0 0))'Pass Property color value 'color-mix(in lch, oklab(0 0 0))'Pass 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))'+Pass Property color value 'color-mix(in lch, color(display-p3 0.18932064 0.18941374 0.18938824))'Pass Property color value 'oklch(from hsl(0 50% 50%) l c h)'Pass Property color value 'oklch(from hsl(180 0 50%) l c h)'Pass Property color value 'oklch(from hsl(180 50% 0) l c h)'@@ -466,9 +466,9 @@ Pass Property color value 'oklch(from lch(0 0 180) l c h)'Pass 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)'Pass 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)'+Pass 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)'+Pass 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)'@@ -530,8 +530,8 @@ 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))'+Pass Property color value 'color-mix(in oklch, color(display-p3 0.08626827 0.08598627 0.08606127), oklch(0.11 0.33 0.44))'+Pass Property color value 'color-mix(in oklch, color(display-p3 0.08588134 0.08626534 0.08616334), oklch(0.11 0.33 0.44))'Pass Property color value 'color-mix(in oklch, hsl(0 50% 50%))'Pass Property color value 'color-mix(in oklch, hsl(180 0 50%))'Pass Property color value 'color-mix(in oklch, hsl(180 50% 0))'@@ -573,4 +573,4 @@ Pass Property color value 'color-mix(in oklch, color(display-p3 0 0 0))'Pass Property color value 'color-mix(in oklch, lab(0 0 0))'Pass 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 file+Pass Property color value 'color-mix(in oklch, color(display-p3 0.08588134 0.08626534 0.08616334))'\ No newline at end of file