Skip to content

test(framework): add composed-root-event regression fixture#238

Merged
mohamedmansour merged 1 commit intomainfrom
chore/extra-test
Apr 15, 2026
Merged

test(framework): add composed-root-event regression fixture#238
mohamedmansour merged 1 commit intomainfrom
chore/extra-test

Conversation

@mohamedmansour
Copy link
Copy Markdown
Contributor

@mohamedmansour mohamedmansour commented Apr 15, 2026

Tests that custom events with composed:true from deeply nested shadow DOM components (grandchild → parent → grandparent) correctly reach the grandparent's @event root handler on .

The fixture has 3 components: test-grandparent (listens via root event), test-parent (passthrough), test-child (emits composed event on click). All 4 tests pass — the framework's correctly handles composed events that pierce shadow boundaries.

Tests that custom events with composed:true from deeply nested shadow DOM
components (grandchild → parent → grandparent) correctly reach the
grandparent's @event root handler on <template shadowrootmode>.

The fixture has 3 components: test-grandparent (listens via root event),
test-parent (passthrough), test-child (emits composed event on click).
All 4 tests pass — the framework's \ correctly handles composed
events that pierce shadow boundaries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mohamedmansour mohamedmansour requested a review from a team April 15, 2026 01:58
@mohamedmansour mohamedmansour merged commit 293d409 into main Apr 15, 2026
21 checks passed
@mohamedmansour mohamedmansour deleted the chore/extra-test branch April 15, 2026 04:06
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.

2 participants