mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +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-valid.html]
|
||||
[e.style['background-image'\] = "linear-gradient(30deg, color(srgb 1 0 0), blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['background-image'\] = "linear-gradient(to right bottom, color(srgb 1 0 0), blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['background-image'\] = "linear-gradient(in lab, red, blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
@@ -815,15 +809,6 @@
|
||||
[e.style['background-image'\] = "linear-gradient(in oklch decreasing hue to right bottom, color(srgb 1 0 0), blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['background-image'\] = "radial-gradient(50px, color(srgb 1 0 0), blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['background-image'\] = "radial-gradient(ellipse 50% 40em, color(srgb 1 0 0), blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['background-image'\] = "radial-gradient(at right center, color(srgb 1 0 0), blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['background-image'\] = "radial-gradient(in lab, red, blue)" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user