- From: Rasmus Schultz <notifications@github.com>
- Date: Mon, 26 Sep 2022 08:26:51 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 26 September 2022 15:27:04 UTC
> I think that the closest practical solution to this is the shadow dom with the imperative slot api. I don't think this is viable as an *alternative* - but since this API is already spec'ed and [has concensus](https://chromestatus.com/feature/5711021289242624), a spec for generic DOM reordering should probably reference this. > `// even iframes will behave as if nothing happened` The [proposal](https://github.com/WICG/webcomponents/blob/gh-pages/proposals/Imperative-Shadow-DOM-Distribution-API.md) makes no mention of preserving state of iframes, input elements, etc. - it doesn't look like this was spec'ed? So if it happens to work that way, that could be just luck. A generic DOM API likely needs to carefully spec this behavior. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/891#issuecomment-1258214829 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/891/1258214829@github.com>
Received on Monday, 26 September 2022 15:27:04 UTC