From 191a88c92e1f80a7bb439b064a63fbd043204226 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Thu, 11 Jun 2020 14:40:50 -0700 Subject: [PATCH] Addressed annevk's comments --- dom.bs | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/dom.bs b/dom.bs index e41ad2a6a..a9a677ae1 100644 --- a/dom.bs +++ b/dom.bs @@ -5899,6 +5899,7 @@ dictionary ShadowRootInit { dictionary GetInnerHTMLOptions { boolean includeShadowRoots = true; + sequence<ShadowRoot> closedRoots; }; @@ -6735,7 +6736,7 @@ invoked, must run these steps: steps:
    -
  1. Let shadow be shadow host's shadow root. +

  2. Let shadow be this's shadow root.

  3. If shadow is null or its mode is "closed", then return null.

  4. @@ -6747,10 +6748,10 @@ steps: shadow host, mode, and delegates focus, run these steps:

      -
    1. If this's namespace is not the HTML namespace, +

    2. If shadow host's namespace is not the HTML namespace, then throw a "{{NotSupportedError!!exception}}" {{DOMException}}. -

    3. If this's local name is not a +

    4. If shadow host's local name is not a


    @@ -6925,7 +6927,8 @@ for this.

    The getInnerHTML(options) method, when invoked, must return the result of running HTML fragment serialization algorithm, -given this as node and options.includeShadowRoots as include shadow roots. +given this as node, options.includeShadowRoots as include shadow roots, +and options.closedRoots as closed shadow roots.

    The insertAdjacentElement(where, element)