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

No, we should also move the IDL. HTML will define all of `innerHTML`, including that.

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

Received on Friday, 4 December 2020 08:05:48 UTC