- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 23 Feb 2021 18:08:29 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 24 February 2021 02:08:42 UTC
@rniwa commented on this pull request. > @@ -5828,6 +5855,11 @@ dictionary ShadowRootInit { required ShadowRootMode mode; boolean delegatesFocus = false; }; + +dictionary GetInnerHTMLOptions { + boolean includeShadowRoots = true; + sequence<ShadowRoot> closedRoots; So that people don't accidentally use this variant instead of innerHTML. We really shouldn't be encouraging people to serialize contents of shadow roots. Just like `Element.prototype.shadowRoot` should only be used when it's absolutely necessary, this variant of innerHTML should only be used when it's absolutely necessary. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/892#discussion_r581563730
Received on Wednesday, 24 February 2021 02:08:42 UTC