style: Add support for is() and where() selectors (#34066)

Additionally, changes now need to be made to `servo.css` in order to
ensure that `<button>` text is centered the same way that it is for
`<input type=button>`. In the past the rule for centering text for the
latter was ignored because it used `:is()`.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-11-19 15:05:46 +01:00 committed by GitHub
parent 975e2ae859
commit 0eda2de19f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 12 additions and 393 deletions

View file

@ -14,15 +14,9 @@
[:link as scoping root]
expected: FAIL
[:visited as scoping root]
expected: FAIL
[:not(:visited) as scoping root]
expected: FAIL
[:not(:link) as scoping root]
expected: FAIL
[:link as scoping root, :scope]
expected: FAIL