LibWeb/CSS: Implement the :state(foo) pseudo-class

This matches custom elements that have `foo` in their custom states set.

The 2 test failures here are because we don't support `::part()` yet.
This commit is contained in:
Sam Atkins
2025-07-04 15:18:08 +01:00
committed by Tim Ledbetter
parent 5387c923ca
commit 202c55bf28
Notes: github-actions[bot] 2025-07-04 17:11:37 +00:00
12 changed files with 503 additions and 2 deletions

View File

@@ -155,6 +155,9 @@
"stalled": {
"argument": ""
},
"state": {
"argument": "<ident>"
},
"suboptimal-value": {
"argument": ""
},