Upgrade Stylo to 2025-02-03 (#35289)

* Upgrade Stylo to 2025-02-03

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

* Fixup for https://phabricator.services.mozilla.com/D233218

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

* Fixup for https://phabricator.services.mozilla.com/D233758

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

* Fixup for https://phabricator.services.mozilla.com/D231255

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

* Update test expectations

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

---------

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-02-05 03:35:58 +01:00 committed by GitHub
parent e2bb772669
commit fdbfecf7dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 44 additions and 197 deletions

View file

@ -26,12 +26,6 @@
[e.style['color'\] = "rgb(from oklch(0 0.399 336.3) r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(from rebeccapurple calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(from rgb(20%, 40%, 60%, 80%) calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "hsl(from color(display-p3 0 1 0) h s l / alpha)" should set the property value]
expected: FAIL
@ -59,12 +53,6 @@
[e.style['color'\] = "hsl(from oklch(0 0.399 336.3) h s l)" should set the property value]
expected: FAIL
[e.style['color'\] = "hsl(from rebeccapurple calc(h) calc(s) calc(l))" should set the property value]
expected: FAIL
[e.style['color'\] = "hsl(from rgb(20%, 40%, 60%, 80%) calc(h) calc(s) calc(l) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "hwb(from color(display-p3 0 1 0) h w b / alpha)" should set the property value]
expected: FAIL
@ -92,18 +80,6 @@
[e.style['color'\] = "hwb(from oklch(0 0.399 336.3) h w b)" should set the property value]
expected: FAIL
[e.style['color'\] = "hwb(from rebeccapurple calc(h) calc(w) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "hwb(from rgb(20%, 40%, 60%, 80%) calc(h) calc(w) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(from lab(25 20 50) calc(l) calc(a) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "lab(from lab(25 20 50 / 40%) calc(l) calc(a) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(from oklab(25 20 50) l a b)" should set the property value]
expected: FAIL
@ -272,12 +248,6 @@
[e.style['color'\] = "lch(from lch(.7 45 30 / 40%) l c c / alpha)" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(from lch(0.7 45 30) calc(l) calc(c) calc(h))" should set the property value]
expected: FAIL
[e.style['color'\] = "lch(from lch(0.7 45 30 / 40%) calc(l) calc(c) calc(h) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(from oklch(0.7 45 30) l c h)" should set the property value]
expected: FAIL
@ -452,60 +422,6 @@
[e.style['color'\] = "oklch(from oklch(.7 45 30 / 40%) alpha c c / alpha)" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(srgb 0.7 0.5 0.3) srgb calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(srgb 0.7 0.5 0.3 / 40%) srgb calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(srgb-linear 0.7 0.5 0.3) srgb-linear calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(srgb-linear 0.7 0.5 0.3 / 40%) srgb-linear calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(a98-rgb 0.7 0.5 0.3) a98-rgb calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(a98-rgb 0.7 0.5 0.3 / 40%) a98-rgb calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(rec2020 0.7 0.5 0.3) rec2020 calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(rec2020 0.7 0.5 0.3 / 40%) rec2020 calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(prophoto-rgb 0.7 0.5 0.3) prophoto-rgb calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(prophoto-rgb 0.7 0.5 0.3 / 40%) prophoto-rgb calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(display-p3 0.7 0.5 0.3) display-p3 calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(display-p3 0.7 0.5 0.3 / 40%) display-p3 calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(xyz 7 -20.5 100) xyz calc(x) calc(y) calc(z))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(xyz 7 -20.5 100 / 40%) xyz calc(x) calc(y) calc(z) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(xyz-d50 7 -20.5 100) xyz-d50 calc(x) calc(y) calc(z))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(xyz-d50 7 -20.5 100 / 40%) xyz-d50 calc(x) calc(y) calc(z) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(xyz-d65 7 -20.5 100) xyz-d65 calc(x) calc(y) calc(z))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from color(xyz-d65 7 -20.5 100 / 40%) xyz-d65 calc(x) calc(y) calc(z) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(from oklab(1 0.365 -0.16) r g b)" should set the property value]
expected: FAIL
@ -527,12 +443,6 @@
[e.style['color'\] = "oklab(from oklab(0.25 0.2 0.5) l a b / .35)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(from oklab(0.25 0.2 0.5) calc(l) calc(a) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(from oklab(0.25 0.2 0.5 / 40%) calc(l) calc(a) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklab(from oklab(.7 0.45 0.3) alpha b a / l)" should set the property value]
expected: FAIL
@ -563,12 +473,6 @@
[e.style['color'\] = "oklch(from oklch(.7 0.45 30 / 40%) l c c / alpha)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(from oklch(0.7 0.45 30) calc(l) calc(c) calc(h))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(from oklch(0.7 0.45 30 / 40%) calc(l) calc(c) calc(h) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(from oklch(.7 0.45 30) alpha c h / l)" should set the property value]
expected: FAIL
@ -623,23 +527,8 @@
[e.style['color'\] = "color(from color-mix(in xyz, color(xyz-d65 0.7 0.5 0.3), color(xyz-d65 0.7 0.5 0.3)) xyz-d65 x y z / alpha)" should set the property value]
expected: FAIL
[e.style['color'\] = "rgba(from rebeccapurple calc(r) calc(g) calc(b))" should set the property value]
expected: FAIL
[e.style['color'\] = "rgba(from rgb(20%, 40%, 60%, 80%) calc(r) calc(g) calc(b) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "hsla(from rebeccapurple calc(h) calc(s) calc(l))" should set the property value]
expected: FAIL
[e.style['color'\] = "hsla(from rgb(20%, 40%, 60%, 80%) calc(h) calc(s) calc(l) / calc(alpha))" should set the property value]
expected: FAIL
[e.style['color'\] = "color(from rebeccapurple srgb r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(from color(srgb 0.4 0.2 0.6) r g b)" should set the property value]
expected: FAIL
[e.style['color'\] = "oklch(from red calc(1 / l) c h)" should set the property value]
expected: FAIL

View file

@ -1,36 +0,0 @@
[color-stops-parsing.html]
[linear-gradient(black) [ parsable \]]
expected: FAIL
[linear-gradient(black 0%) [ parsable \]]
expected: FAIL
[repeating-linear-gradient(black) [ parsable \]]
expected: FAIL
[repeating-linear-gradient(black 0%) [ parsable \]]
expected: FAIL
[radial-gradient(black) [ parsable \]]
expected: FAIL
[radial-gradient(black 0%) [ parsable \]]
expected: FAIL
[repeating-radial-gradient(black) [ parsable \]]
expected: FAIL
[repeating-radial-gradient(black 0%) [ parsable \]]
expected: FAIL
[conic-gradient(black) [ parsable \]]
expected: FAIL
[conic-gradient(black 0%) [ parsable \]]
expected: FAIL
[repeating-conic-gradient(black) [ parsable \]]
expected: FAIL
[repeating-conic-gradient(black 0%) [ parsable \]]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-005.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-006.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[gradient-single-stop-007.html]
expected: FAIL

View file

@ -4,9 +4,3 @@
[e.style['content'\] = "-webkit-image-set(linear-gradient(black, white) 1x, 'example.png' 4x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "image-set(linear-gradient(red) 1x)" should set the property value]
expected: FAIL
[e.style['background-image'\] = "-webkit-image-set(linear-gradient(red) 1x)" should set the property value]
expected: FAIL