- From: Bruce B. Anderson <notifications@github.com>
- Date: Sun, 01 Jan 2023 15:34:25 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 1 January 2023 23:34:38 UTC
**Correction**: Actually, the demo illustrates the unexpected behavior, but is consistent across all three browsers. The reason I saw a difference between the browsers, is I needed to turn off streaming in Safari in this [library](https://github.com/bahrus/stream-orator/blob/baseline/StreamOrator.ts), because Safari doesn't currently upgrade web components when streaming HTML into the Shadow DOM. So I set the content using innerHTML in lieu of streaming, just for Safari. So if we clone a template with a form into a shadow root, nested forms are okay. If we stream HTML into a shadow root, they are also okay. It's only when we use innerHTML where the nested forms get stripped. Is there a reason for this odd inconsistency? -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/981#issuecomment-1368566287 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/981/1368566287@github.com>
Received on Sunday, 1 January 2023 23:34:38 UTC