Enable relative color syntax (#34897)

Upgrades Stylo to https://github.com/servo/stylo/pull/107

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-01-08 10:07:44 -08:00 committed by GitHub
parent a94c0c04a6
commit 51a1aeb535
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 12 additions and 6377 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -25,57 +25,3 @@
[Property color value 'rgb(from oklch(0 0.399 336.3) r g b)']
expected: FAIL
[Property color value 'hsl(from color(display-p3 0 1 0) h s l / alpha)']
expected: FAIL
[Property color value 'hsl(from lab(100 104.3 -50.9) h s l)']
expected: FAIL
[Property color value 'hsl(from lab(0 104.3 -50.9) h s l)']
expected: FAIL
[Property color value 'hsl(from lch(100 116 334) h s l)']
expected: FAIL
[Property color value 'hsl(from lch(0 116 334) h s l)']
expected: FAIL
[Property color value 'hsl(from oklab(1 0.365 -0.16) h s l)']
expected: FAIL
[Property color value 'hsl(from oklab(0 0.365 -0.16) h s l)']
expected: FAIL
[Property color value 'hsl(from oklch(1 0.399 336.3) h s l)']
expected: FAIL
[Property color value 'hsl(from oklch(0 0.399 336.3) h s l)']
expected: FAIL
[Property color value 'hwb(from color(display-p3 0 1 0) h w b / alpha)']
expected: FAIL
[Property color value 'hwb(from lab(100 104.3 -50.9) h w b)']
expected: FAIL
[Property color value 'hwb(from lab(0 104.3 -50.9) h w b)']
expected: FAIL
[Property color value 'hwb(from lch(100 116 334) h w b)']
expected: FAIL
[Property color value 'hwb(from lch(0 116 334) h w b)']
expected: FAIL
[Property color value 'hwb(from oklab(1 0.365 -0.16) h w b)']
expected: FAIL
[Property color value 'hwb(from oklab(0 0.365 -0.16) h w b)']
expected: FAIL
[Property color value 'hwb(from oklch(1 0.399 336.3) h w b)']
expected: FAIL
[Property color value 'hwb(from oklch(0 0.399 336.3) h w b)']
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-a98rgb-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-displayp3-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-hsl-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-hsl-02.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-hwb-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-lab-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-lch-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-oklab-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-oklch-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-prophoto-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-rec2020-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-rec2020-02.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-rgb-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-rgb-02.html]
expected: FAIL

View file

@ -1,3 +0,0 @@
[relative-currentcolor-visited-getcomputedstyle.html]
[Property background-color value 'rgb(from currentcolor r g b)' should not leak :visited for computed style]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-xyzd50-01.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[relative-currentcolor-xyzd65-01.html]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.fillStyle.relativecolor.currentcolor.html]
[Relative color works as color input with currentcolor]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.fillStyle.relativecolor.html]
[Relative color works as color input]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.strokeStyle.relativecolor.html]
[Relative color works as color input]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.fillStyle.relativecolor.html]
[Relative color works as color input]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.fillStyle.relativecolor.worker.html]
[Relative color works as color input]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.strokeStyle.relativecolor.html]
[Relative color works as color input]
expected: FAIL

View file

@ -1,3 +0,0 @@
[2d.strokeStyle.relativecolor.worker.html]
[Relative color works as color input]
expected: FAIL