Re: [WICG/webcomponents] Reference Target: How to handle events fired on the reference target by related elements? (Issue #1098)

Westbrook left a comment (WICG/webcomponents#1098)

We SHOULD NOT scope these things out.

This is 100% where `refereneTargetMap` would come in and allow people to decide what things to map through or not. I might even go so far as to say that were these attributes of high interest in _not_ mapping, that they would point to the `referenceTargetExcludes` or similar idea that a couple of people brought up through the course.

Would it be bonkers to add a "referenced" event that rather than composing through the whole DOM tree created an event path that only included the `host` and the `target` elements, and as such listing only those two in its `composedPath()`?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1098#issuecomment-2795489027
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1098/2795489027@github.com>

Received on Friday, 11 April 2025 00:29:32 UTC