mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
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:
committed by
Tim Ledbetter
parent
5387c923ca
commit
202c55bf28
Notes:
github-actions[bot]
2025-07-04 17:11:37 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/202c55bf286 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5302 Reviewed-by: https://github.com/tcl3 ✅
@@ -0,0 +1,14 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 8 tests
|
||||
|
||||
6 Pass
|
||||
2 Fail
|
||||
Pass :state() parsing passes
|
||||
Pass :state() parsing failures
|
||||
Pass deprecated :--state parsing failures
|
||||
Fail :state(foo) serialization
|
||||
Pass :state(foo) in simple cases
|
||||
Pass :state(foo) and other pseudo classes
|
||||
Fail :state(foo) and ::part()
|
||||
Pass :state(foo) and :host()
|
||||
Reference in New Issue
Block a user