Re: [whatwg/dom] Add declarative Shadow DOM features (#892)

@annevk commented on this pull request.



> @@ -6835,9 +6887,15 @@ for <a>this</a>.
  <dd><p><a>Throw</a> a "{{SyntaxError!!exception}}" {{DOMException}}.
 </dl>
 
+<p>The
+<dfn method for=Element><code>getInnerHTML(<var>options</var>)</code></dfn>
+method, when invoked, must return the result of running <a>HTML fragment serialization algorithm</a>,
+given <a>this</a> as <var>node</var>, <i>options.includeShadowRoots</i> as <i>include shadow roots</i>,
+and <i>options.closedRoots</i> as <i>closed shadow roots</i>.

My thought was that HTML would have `partial interface Element {}` to extend this interface, but having said that, that's also a thing we're considering to stop doing. Hmm. (We definitely don't want to move all of `Element`.)

-- 
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_r545115529

Received on Thursday, 17 December 2020 14:07:32 UTC