File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -19311,6 +19311,14 @@ mod tests {
1931119311 ".foo { color: color-mix(in srgb, blue, currentColor); }",
1931219312 ".foo{color:color-mix(in srgb,blue,currentColor)}",
1931319313 );
19314+ minify_test(
19315+ ".foo { color: color-mix(in srgb, accentcolor, blue); }",
19316+ ".foo{color:color-mix(in srgb,accentcolor,blue)}",
19317+ );
19318+ minify_test(
19319+ ".foo { color: color-mix(in srgb, blue, accentcolor); }",
19320+ ".foo{color:color-mix(in srgb,blue,accentcolor)}",
19321+ );
1931419322
1931519323 // regex for converting web platform tests:
1931619324 // test_computed_value\(.*?, `(.*?)`, `(.*?)`\);
Original file line number Diff line number Diff line change @@ -3253,7 +3253,9 @@ impl CssColor {
32533253 + From < OKLCH >
32543254 + Copy ,
32553255 {
3256- if matches ! ( self , CssColor :: CurrentColor ) || matches ! ( other, CssColor :: CurrentColor ) {
3256+ if matches ! ( self , CssColor :: CurrentColor | CssColor :: System ( ..) )
3257+ || matches ! ( other, CssColor :: CurrentColor | CssColor :: System ( ..) )
3258+ {
32573259 return Err ( ( ) ) ;
32583260 }
32593261
You can’t perform that action at this time.
0 commit comments