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

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

So just to be clear here - you'd prefer I move this definition (lines 6890-6894) to the HTML spec, but leave the IDL that defines `getInnerHTML` here in DOM. Is that right? Would you mind pointing me to another example that auto-magically links over to HTML from the IDL like this, so I can copy it? I looked through the [IDL Index](https://dom.spec.whatwg.org/#idl-index) but didn't find any such examples. I'm sure I missed them.

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

Received on Friday, 4 December 2020 01:23:19 UTC