Make Servo compatible with Stylo with prefers-color-scheme support (#34423)

* Make Servo compatible with Stylo with prefer-color-scheme support

Signed-off-by: Nico Burns <nico@nicoburns.com>

Update imports to work with deduped version of stylo PR

Signed-off-by: Nico Burns <nico@nicoburns.com>

Switch back to stylo main branch

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Fix unit tests

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Update text expectations

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
Nico Burns 2024-11-30 02:48:28 +13:00 committed by GitHub
parent 19a7e95a6a
commit 2dbda69534
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 26 additions and 24 deletions

View file

@ -8,9 +8,6 @@
[Should be parseable in a CSS stylesheet: '(prefers-color-scheme)']
expected: FAIL
[Check that prefer-color-scheme evaluates to true in the boolean context]
expected: FAIL
[Should be parseable in a CSS stylesheet: '(prefers-color-scheme: dark)']
expected: FAIL
@ -19,12 +16,3 @@
[Should be parseable in JS: '(prefers-color-scheme: light)']
expected: FAIL
[Should be known: '(prefers-color-scheme)']
expected: FAIL
[Should be known: '(prefers-color-scheme: light)']
expected: FAIL
[Should be known: '(prefers-color-scheme: dark)']
expected: FAIL