mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
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:
@@ -1,10 +1,4 @@
|
||||
[gradient-interpolation-method-computed.html]
|
||||
[Property background-image value 'linear-gradient(30deg, color(srgb 1 0 0), blue)']
|
||||
expected: FAIL
|
||||
|
||||
[Property background-image value 'linear-gradient(to right bottom, color(srgb 1 0 0), blue)']
|
||||
expected: FAIL
|
||||
|
||||
[Property background-image value 'linear-gradient(in lab, red, blue)']
|
||||
expected: FAIL
|
||||
|
||||
@@ -815,15 +809,6 @@
|
||||
[Property background-image value 'linear-gradient(in oklch decreasing hue to right bottom, color(srgb 1 0 0), blue)']
|
||||
expected: FAIL
|
||||
|
||||
[Property background-image value 'radial-gradient(50px, color(srgb 1 0 0), blue)']
|
||||
expected: FAIL
|
||||
|
||||
[Property background-image value 'radial-gradient(ellipse 50% 40em, color(srgb 1 0 0), blue)']
|
||||
expected: FAIL
|
||||
|
||||
[Property background-image value 'radial-gradient(at right center, color(srgb 1 0 0), blue)']
|
||||
expected: FAIL
|
||||
|
||||
[Property background-image value 'radial-gradient(in lab, red, blue)']
|
||||
expected: FAIL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user