Add support for the ::slotted selector (#35352)

* bump stylo

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Update WPT expectations

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-02-07 09:47:56 +01:00 committed by GitHub
parent 5cd4012e79
commit 7a6953bc08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 148 deletions

View file

@ -1,27 +1,3 @@
[parse-slotted.html]
["::slotted(bar)" should be a valid selector]
expected: FAIL
["::slotted([attr=\\"foo\\"\])" should be a valid selector]
expected: FAIL
["::slotted(*)" should be a valid selector]
expected: FAIL
["::slotted(.class)" should be a valid selector]
expected: FAIL
["::slotted(:not(foo))" should be a valid selector]
expected: FAIL
["::slotted(:not(:nth-last-of-type(2)):not([slot=\\"foo\\"\]))" should be a valid selector]
expected: FAIL
["::slotted(:first-child)" should be a valid selector]
expected: FAIL
["::slotted(:hover)" should be a valid selector]
expected: FAIL
["::slotted(:has(:first-child:last-child))" should be a valid selector]
expected: FAIL