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

jakearchibald left a comment (WICG/webcomponents#1098)

I haven't fully processed the above, but this might be an interesting case:

```html
<!-- outside -->
<x-form id="xForm">
  <template shadowrootmode="open" shadowrootreferencetarget="thing">
    <!-- shadow1 -->
    <inner-thing id="thing">
      <template shadowrootmode="open" shadowrootreferencetarget="form">
        <!-- shadow2 -->
        <form id="form"></form>
      </template>
    </inner-thing>
  </template>
</x-form>
<label>Name: <input form="x-form" /></label>
```

Would the `submit` event be visible within `shadow1`?

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

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

Received on Tuesday, 15 April 2025 08:44:13 UTC