Enable new color functions from CSS Color 4 (#30752)

I will need to do most of the work anyways during the style updates,
so by enabling this it will be easier to detect mistakes.

Also, canvas colors are now parsed as <color>, precisely to support
these new features. This is according to the HTML spec:
https://html.spec.whatwg.org/multipage/infrastructure.html#parsed-as-a-css-color-value
This commit is contained in:
Oriol Brufau 2023-11-20 17:15:43 +01:00 committed by GitHub
parent 868d84d8ee
commit 61af8fb56d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
220 changed files with 75 additions and 4283 deletions

View file

@ -12,7 +12,7 @@ use canvas_traits::canvas::{
FillRule, LineCapStyle, LineJoinStyle, LinearGradientStyle, RadialGradientStyle,
RepetitionStyle, TextAlign, TextBaseline,
};
use cssparser::{Color as CSSColor, Parser, ParserInput, RGBA};
use cssparser::{Parser, ParserInput, RGBA};
use euclid::default::{Point2D, Rect, Size2D, Transform2D};
use euclid::vec2;
use ipc_channel::ipc::{self, IpcSender, IpcSharedMemory};
@ -22,10 +22,15 @@ use pixels::PixelFormat;
use profile_traits::ipc as profiled_ipc;
use script_traits::ScriptMsg;
use servo_url::{ImmutableOrigin, ServoUrl};
use style::context::QuirksMode;
use style::parser::ParserContext;
use style::properties::longhands::font_variant_caps::computed_value::T as FontVariantCaps;
use style::properties::style_structs::Font;
use style::stylesheets::{CssRuleType, Origin};
use style::values::computed::font::FontStyle;
use style::values::specified::color::Color;
use style_traits::values::ToCss;
use style_traits::ParsingMode;
use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::codegen::Bindings::CanvasRenderingContext2DBinding::{
@ -1665,40 +1670,45 @@ impl CanvasState {
}
}
fn parse_color(canvas: Option<&HTMLCanvasElement>, string: &str) -> Result<RGBA, ()> {
pub fn parse_color(canvas: Option<&HTMLCanvasElement>, string: &str) -> Result<RGBA, ()> {
let mut input = ParserInput::new(string);
let mut parser = Parser::new(&mut input);
let color = CSSColor::parse(&mut parser);
if parser.is_exhausted() {
match color {
Ok(CSSColor::Rgba(rgba)) => Ok(rgba),
Ok(CSSColor::CurrentColor) => {
let url = ServoUrl::parse("about:blank").unwrap();
let context = ParserContext::new(
Origin::Author,
&url,
Some(CssRuleType::Style),
ParsingMode::DEFAULT,
QuirksMode::NoQuirks,
None,
None,
);
match Color::parse_and_compute(&context, &mut parser, None) {
Some(color) => {
// TODO: https://github.com/whatwg/html/issues/1099
// Reconsider how to calculate currentColor in a display:none canvas
// TODO: will need to check that the context bitmap mode is fixed
// once we implement CanvasProxy
let canvas = match canvas {
let current_color = match canvas {
// https://drafts.css-houdini.org/css-paint-api/#2d-rendering-context
// Whenever "currentColor" is used as a color in the PaintRenderingContext2D API,
// it is treated as opaque black.
None => return Ok(RGBA::new(0, 0, 0, 1.0)),
Some(ref canvas) => &**canvas,
};
None => RGBA::new(0, 0, 0, 1.0),
Some(ref canvas) => {
let canvas_element = canvas.upcast::<Element>();
match canvas_element.style() {
Some(ref s) if canvas_element.has_css_layout_box() => {
Ok(s.get_inherited_text().color)
s.get_inherited_text().color
},
_ => Ok(RGBA::new(0, 0, 0, 1.0)),
_ => RGBA::new(0, 0, 0, 1.0),
}
},
_ => Err(()),
}
} else {
Err(())
};
Ok(color.into_rgba(current_color))
},
None => Err(()),
}
}

View file

@ -5,9 +5,9 @@
use canvas_traits::canvas::{
CanvasGradientStop, FillOrStrokeStyle, LinearGradientStyle, RadialGradientStyle,
};
use cssparser::{Color as CSSColor, Parser, ParserInput, RGBA};
use dom_struct::dom_struct;
use crate::canvas_state::parse_color;
use crate::dom::bindings::cell::DomRefCell;
use crate::dom::bindings::codegen::Bindings::CanvasRenderingContext2DBinding::CanvasGradientMethods;
use crate::dom::bindings::error::{Error, ErrorResult};
@ -53,17 +53,9 @@ impl CanvasGradientMethods for CanvasGradient {
return Err(Error::IndexSize);
}
let mut input = ParserInput::new(&color);
let mut parser = Parser::new(&mut input);
let color = CSSColor::parse(&mut parser);
let color = if parser.is_exhausted() {
match color {
Ok(CSSColor::Rgba(rgba)) => rgba,
Ok(CSSColor::CurrentColor) => RGBA::new(0, 0, 0, 1.0),
_ => return Err(Error::Syntax),
}
} else {
return Err(Error::Syntax);
let color = match parse_color(None, &color) {
Ok(color) => color,
Err(_) => return Err(Error::Syntax),
};
self.stops.borrow_mut().push(CanvasGradientStop {

View file

@ -30,7 +30,7 @@ fn allow_color_mix() -> bool {
#[cfg(feature = "gecko")]
return static_prefs::pref!("layout.css.color-mix.enabled");
#[cfg(feature = "servo")]
return false;
return true;
}
#[inline]
@ -38,7 +38,7 @@ fn allow_more_color_4() -> bool {
#[cfg(feature = "gecko")]
return static_prefs::pref!("layout.css.more_color_4.enabled");
#[cfg(feature = "servo")]
return false;
return true;
}
impl ColorMix {

View file

@ -269,60 +269,24 @@
[CSS Transitions: property <box-shadow> from [10px 20px yellow, 5px 10px green\] to [inset 5px 10px green, 15px 20px blue\] at (0.3) should be [10px 20px yellow, 5px 10px green\]]
expected: FAIL
[CSS Transitions: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (-0.3) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0.3) should be [10px 10px 10px 10px oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0.6) should be [10px 10px 10px 10px oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (1) should be [10px 10px 10px 10px oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (1.5) should be [10px 10px 10px 10px oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (-0.3) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0.3) should be [10px 10px 10px 10px oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0.6) should be [10px 10px 10px 10px oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (1) should be [10px 10px 10px 10px oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (1.5) should be [10px 10px 10px 10px oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (-0.3) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0.3) should be [10px 10px 10px 10px oklab(0.3 0 0)\]]
expected: FAIL
[CSS Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (0.6) should be [10px 10px 10px 10px oklab(0.6 0 0)\]]
expected: FAIL
[CSS Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (1) should be [10px 10px 10px 10px oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (1.5) should be [10px 10px 10px 10px oklab(1 0 0)\]]
expected: FAIL
[Web Animations: property <box-shadow> from [10px 10px 10px 10px rgb(0 0 0)\] to [10px 10px 10px 10px color(srgb 1 1 1)\] at (-0.3) should be [10px 10px 10px 10px oklab(0 0 0)\]]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-background-repaint-parent.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-background-repaint.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-border-repaint-parent.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-border-repaint.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-outline-repaint-parent.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-outline-repaint.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[a98rgb-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[a98rgb-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[a98rgb-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[a98rgb-004.html]
expected: FAIL

View file

@ -92,57 +92,30 @@
[Web Animations: property <color> from [inherit\] to [green\] at (1.5) should be [rgb(0, 192, 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
@ -164,57 +137,30 @@
[Web Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
@ -236,57 +182,30 @@
[Web Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (-0.3) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0) should be [oklab(0 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.3) should be [oklab(0.3 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (0.6) should be [oklab(0.6 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1.5 0 0)\]]
expected: FAIL
@ -452,38 +371,11 @@
[Web Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(150 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[Web Animations: property <color> from [rgb(0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[Web Animations: property <color> from [color(srgb 0 0 0)\] to [rgb(255 255 255)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Transitions with transition: all: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[CSS Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL
[Web Animations: property <color> from [color(srgb 0 0 0)\] to [color(srgb 1 1 1)\] at (1.5) should be [oklab(1 0 0)\]]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-currentcolor-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[color-mix-currentcolor-nested-for-color-property.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-non-srgb-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-percents-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[color-mix-percents-02.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[display-p3-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[display-p3-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[display-p3-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[display-p3-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[display-p3-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[display-p3-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lab-008.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[lab-l-over-100-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[lab-l-over-100-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[lch-008.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[lch-l-over-100-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[lch-l-over-100-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-008.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklab-009.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[oklab-l-over-1-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[oklab-l-over-1-2.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-008.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[oklch-011.html]
expected: FAIL

View file

@ -1,43 +1,4 @@
[color-valid-color-function.html]
[e.style['color'\] = "color(srgb 0% 0% 0%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 10% 10% 10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb .2 .2 25%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 0% 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 20% 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 20% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 400% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 50% -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 50% -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 50% -200)" should set the property value]
expected: FAIL
@ -56,33 +17,6 @@
[e.style['color'\] = "color(srgb / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 200 200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 200 200 200 / 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb -200 -200 -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb -200 -200 -200 / -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 200% 200% 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb 200% 200% 200% / 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb -200% -200% -200% / -200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb none none none / none)" should set the property value]
expected: FAIL
@ -98,45 +32,6 @@
[e.style['color'\] = "color(srgb 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 0% 0% 0%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 10% 10% 10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear .2 .2 25%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 0% 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 20% 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 20% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 400% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 50% -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 50% -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 50% -200)" should set the property value]
expected: FAIL
@ -155,33 +50,6 @@
[e.style['color'\] = "color(srgb-linear / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 200 200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 200 200 200 / 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear -200 -200 -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear -200 -200 -200 / -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 200% 200% 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear 200% 200% 200% / 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear -200% -200% -200% / -200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(srgb-linear none none none / none)" should set the property value]
expected: FAIL
@ -197,45 +65,6 @@
[e.style['color'\] = "color(srgb-linear 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 0% 0% 0%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 10% 10% 10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb .2 .2 25%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 0% 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 20% 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 20% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 400% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 50% -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 50% -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 50% -200)" should set the property value]
expected: FAIL
@ -254,33 +83,6 @@
[e.style['color'\] = "color(a98-rgb / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 200 200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 200 200 200 / 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb -200 -200 -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb -200 -200 -200 / -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 200% 200% 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb 200% 200% 200% / 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb -200% -200% -200% / -200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(a98-rgb none none none / none)" should set the property value]
expected: FAIL
@ -296,45 +98,6 @@
[e.style['color'\] = "color(a98-rgb 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 0% 0% 0%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 10% 10% 10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 .2 .2 25%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 0% 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 20% 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 20% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 400% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 50% -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 50% -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 50% -200)" should set the property value]
expected: FAIL
@ -353,33 +116,6 @@
[e.style['color'\] = "color(rec2020 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 200 200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 200 200 200 / 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 -200 -200 -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 -200 -200 -200 / -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 200% 200% 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 200% 200% 200% / 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 -200% -200% -200% / -200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(rec2020 none none none / none)" should set the property value]
expected: FAIL
@ -395,45 +131,6 @@
[e.style['color'\] = "color(rec2020 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 0% 0% 0%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 10% 10% 10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb .2 .2 25%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 0% 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 20% 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 20% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 400% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 50% -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 50% -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 50% -200)" should set the property value]
expected: FAIL
@ -452,33 +149,6 @@
[e.style['color'\] = "color(prophoto-rgb / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 200 200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 200 200 200 / 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb -200 -200 -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb -200 -200 -200 / -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 200% 200% 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb 200% 200% 200% / 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb -200% -200% -200% / -200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(prophoto-rgb none none none / none)" should set the property value]
expected: FAIL
@ -494,45 +164,6 @@
[e.style['color'\] = "color(prophoto-rgb 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 0% 0% 0%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 10% 10% 10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 .2 .2 25%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 0% 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 20% 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 20% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 400% 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 50% -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 50% -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 50% -200)" should set the property value]
expected: FAIL
@ -551,33 +182,6 @@
[e.style['color'\] = "color(display-p3 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 200 200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 200 200 200 / 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 -200 -200 -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 -200 -200 -200 / -200)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 200% 200% 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 200% 200% 200% / 200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 -200% -200% -200% / -200%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 calc(50% * 3) calc(-150% / 3) calc(50%) / calc(-50% * 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(display-p3 none none none / none)" should set the property value]
expected: FAIL
@ -593,48 +197,6 @@
[e.style['color'\] = "color(display-p3 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 1 1 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 1 1 1 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz -1 -1 -1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0.1 0.1 0.1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 10 10 10)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz .2 .2 .25)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz .20 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz .20 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz 1 1)" should set the property value]
expected: FAIL
@ -653,9 +215,6 @@
[e.style['color'\] = "color(xyz / 50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz none none none / none)" should set the property value]
expected: FAIL
@ -671,48 +230,6 @@
[e.style['color'\] = "color(xyz 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 1 1 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 1 1 1 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 -1 -1 -1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0.1 0.1 0.1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 10 10 10)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 .2 .2 .25)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 .20 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 .20 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 1 1)" should set the property value]
expected: FAIL
@ -731,9 +248,6 @@
[e.style['color'\] = "color(xyz-d50 / 50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d50 none none none / none)" should set the property value]
expected: FAIL
@ -749,48 +263,6 @@
[e.style['color'\] = "color(xyz-d50 0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 1 1 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 1 1 1 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 -1 -1 -1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0.1 0.1 0.1)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 10 10 10)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 .2 .2 .25)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 .20 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 .20 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 1 1)" should set the property value]
expected: FAIL
@ -809,9 +281,6 @@
[e.style['color'\] = "color(xyz-d65 / 50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 calc(0.5 + 1) calc(0.5 - 1) calc(0.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(xyz-d65 none none none / none)" should set the property value]
expected: FAIL

View file

@ -1,52 +1,10 @@
[color-valid-lab.html]
[e.style['color'\] = "lab(0 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(20 0 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(20 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(400 0 10/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(50 -160 160)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(50 -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(-40 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(50 -20 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(50 0 -20)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(calc(50 * 3) calc(0.5 - 1) calc(1.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(calc(-50 * 3) calc(0.5 + 1) calc(-1.5) / calc(-0.5 * 2))" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(none none none / none)" should set the property value]
expected: FAIL
@ -62,15 +20,6 @@
[e.style['color'\] = "lab(0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0 0 0 / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(20 0 10/0.5)" should set the property value]
expected: FAIL
@ -86,15 +35,6 @@
[e.style['color'\] = "oklab(50 -200 200)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0 0 0 / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0 0 0 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0 0 0 / 300%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(-40 0 0)" should set the property value]
expected: FAIL
@ -125,66 +65,9 @@
[e.style['color'\] = "oklab(0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(0 0 0deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(0 0 0deg / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(0 0 0deg / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(100 230 0deg / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(20 50 20deg/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(20 50 20deg/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 20deg / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 20deg / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 1.28rad)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 380deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 -340deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 740deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 -700deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(-40 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(20 -20 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 20 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(10 20 -700)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(calc(50 * 3) calc(0.5 - 1) calc(20deg * 2) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(calc(-50 * 3) calc(0.5 + 1) calc(-20deg * 2) / calc(-0.5 * 2))" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(none none none / none)" should set the property value]
expected: FAIL
@ -200,15 +83,6 @@
[e.style['color'\] = "lch(0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0 0 0deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0 0 0deg / 1)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0 0 0deg / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(100 230 0deg / 0.5)" should set the property value]
expected: FAIL
@ -245,9 +119,6 @@
[e.style['color'\] = "oklch(20 -20 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0 0 0 / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(10 20 20 / 110%)" should set the property value]
expected: FAIL
@ -275,87 +146,18 @@
[e.style['color'\] = "oklch(0 0 0 / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.2 0 0.1/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.2 0 0.1/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(4 0 0.1/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.5 -1.6 1.6)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.5 -2 2)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(-0.4 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.5 -2 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.5 0 -2)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(calc(0.5 * 3) calc(0.5 - 1) calc(1.5) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(calc(-0.5 * 3) calc(0.5 + 1) calc(-1.5) / calc(-0.5 * 2))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(0.2 none none / none)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(1 2.3 0deg / 0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.2 0.5 20deg/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.2 0.5 20deg/50%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 20deg / -10%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 20deg / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 1.28rad)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 380deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 -340deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 740deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 -700deg)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(-4 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.2 -0.2 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 20 / 110%)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.1 0.2 -700)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(calc(0.5 * 3) calc(0.5 - 1) calc(20deg * 2) / calc(-0.5 + 1))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(calc(-0.5 * 3) calc(0.5 + 1) calc(-20deg * 2) / calc(-0.5 * 2))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(0.2 none none / none)" should set the property value]
expected: FAIL
@ -418,15 +220,3 @@
[e.style['color'\] = "oklch(calc(0 / 0) 0 0)" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(20% -50% 90%/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(20% 70% -80%/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(20% 80% 10/0.5)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(20% 60% 10/0.5)" should set the property value]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-007.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-008.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-009.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-010.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-011.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-012.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[predefined-016.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[prophoto-rgb-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[prophoto-rgb-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[prophoto-rgb-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[prophoto-rgb-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[prophoto-rgb-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[rec2020-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[rec2020-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[rec2020-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[rec2020-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[rec2020-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[srgb-linear-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[srgb-linear-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[srgb-linear-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[srgb-linear-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[xyz-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[xyz-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[xyz-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[xyz-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[xyz-005.html]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more