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

@domenic 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>.

`partial interface Element {}` is what I anticipated too. I don't think we're going to stop using partial interfaces any time soon (for `Document` alone, that would basically require merging the HTML and DOM specs). That also matches how https://w3c.github.io/DOM-Parsing/#extensions-to-the-element-interface works.

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

Received on Thursday, 17 December 2020 17:33:00 UTC