Skip to content

Stop :autofill matching every element - #196

Merged
jdalton merged 1 commit into
dperini:masterfrom
jdalton:fix/autofill-nop
Sep 6, 2026
Merged

Stop :autofill matching every element#196
jdalton merged 1 commit into
dperini:masterfrom
jdalton:fix/autofill-nop

Conversation

@jdalton

@jdalton jdalton commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Fix

Route :autofill and :-webkit-autofill through the guarded host matcher from merged #178. Ordinary elements no longer match automatically, and the compiler continues validating the rest of the selector. Genuine autofill state stays live; unsupported or delegating hosts fall back safely.

Tests

Focused regressions cover both aliases, empty results, matching and selection, changing host state, selector suffixes, unsupported native selectors, and bounded recursion. Tests use direct ESM default imports from the generated CommonJS module.

The full local Docker CI workflow passes on current master, including Node, Chromium, both WPT builds, package compatibility, and unchanged coverage thresholds.

@jdalton
jdalton merged commit 7af2512 into dperini:master Sep 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant