mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
The selector matching code bypassed the pseudo-element type check for `::part()` selectors to support compound selectors like `::part(foo)::before`. This caused bare ::part() declarations to leak into unrelated pseudo-elements like ::selection. Fix this by finding any additional pseudo-element beyond ::part() in the selector and verifying it matches the target.
3 lines
32 B
Plaintext
3 lines
32 B
Plaintext
rgb(255, 0, 0)
|
|
rgba(0, 0, 0, 0)
|