mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
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:
parent
975e2ae859
commit
0eda2de19f
22 changed files with 12 additions and 393 deletions
|
@ -2,9 +2,6 @@
|
|||
[Single scope]
|
||||
expected: FAIL
|
||||
|
||||
[Scope can not match its own root without :scope]
|
||||
expected: FAIL
|
||||
|
||||
[Selecting self with :scope]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -26,15 +23,9 @@
|
|||
[Multiple scopes from same @scope-rule, only one limited]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple scopes from same @scope-rule, both limited]
|
||||
expected: FAIL
|
||||
|
||||
[Nested scopes]
|
||||
expected: FAIL
|
||||
|
||||
[Nested scopes, reverse]
|
||||
expected: FAIL
|
||||
|
||||
[Nested scopes, with to-selector]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -47,21 +38,9 @@
|
|||
[Simulated inclusive scoping limit]
|
||||
expected: FAIL
|
||||
|
||||
[Scope with no elements]
|
||||
expected: FAIL
|
||||
|
||||
[:scope direct adjacent sibling]
|
||||
expected: FAIL
|
||||
|
||||
[:scope indirect adjacent sibling]
|
||||
expected: FAIL
|
||||
|
||||
[Relative selector inside @scope]
|
||||
expected: FAIL
|
||||
|
||||
[:scope in two different compounds]
|
||||
expected: FAIL
|
||||
|
||||
[Scope root with :has()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue