Skip to content

Align selector invalidation trigger contracts - #845

Merged
wieslawsoltes merged 1 commit into
mainfrom
fix/selector-trigger-plan-contract-844
Sep 20, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
fix/selector-trigger-plan-contract-844

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Problem

State pseudo-class invalidation tests expected ordinary outer compounds to carry forward routes to final subjects, while the runtime compares the changed trigger first and then traverses the selector's remaining combinators. Following the test expectation broke structural selector invalidation.

Change

Align :link, :local-link, functional local-link, and :target-within plan assertions with the trigger-first runtime contract. Reverse routes inside relational selectors remain unchanged.

Validation

  • webscene_selector_parser_tests passes in the focused native build.
  • Existing link/local-link WPT contracts cover actual href, document URL, sibling, and relational recascade behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant