- Universal selectors now return early only when no non-pseudo class, ID, or attribute requirements exist.

- Added computed-style and direct matcher tests for *.foo, *[href], and plain *.
This commit is contained in:
Martín Lucas Golini
2026-07-10 01:44:16 -03:00
parent 6b4179b896
commit 4150eb2df6
3 changed files with 64 additions and 3 deletions
@@ -307,6 +307,8 @@ Expected:
# Phase 3: Fix Universal Selector Early Return
**Status: Implemented**
## Motivation
`StyleSheetSelectorRule::matches()` currently returns true early for `*` when `applyPseudo == false`.