diff --git a/source b/source index abebcd5f3da..819d5b9ab3f 100644 --- a/source +++ b/source @@ -3366,8 +3366,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The encoding (herein the character encoding), mode, - custom element registry, - allow declarative shadow roots, and + custom element registry, and content type of a Document
  • The distinction between XML documents and HTML documents
  • @@ -104529,10 +104528,6 @@ interface NotRestoredReasons {
    about base URL
    creatorBaseURL
    -
    allow declarative shadow - roots
    -
    true
    -
    custom element registry
    a new CustomElementRegistry object
    @@ -111363,10 +111358,6 @@ location.href = '#foo';
    about base URL
    navigationParams's about base URL
    -
    allow declarative shadow - roots
    -
    true
    -
    custom element registry
    a new CustomElementRegistry object
    @@ -123879,10 +123870,6 @@ enum DOMParserSupportedType { is disabled.

    -
  • Set document's allow declarative shadow roots to - true.

  • -
  • Parse HTML from a string given document and compliantHTML.

  • @@ -136616,6 +136603,9 @@ dictionary StorageEventInit : EventInit {

    The frameset-ok flag is set to "ok" when the parser is created. It is set to "not ok" after certain tokens are seen.

    +

    The allow declarative shadow roots flag can be enabled to support the + shadowrootmode attribute.

    + @@ -140296,9 +140286,7 @@ document.body.appendChild(text); data-x="attr-template-shadowrootmode">shadowrootmode is not in the None state; -
  • document's allow declarative shadow - roots is true; or
  • +
  • the allow declarative shadow roots flag is enabled; or
  • the adjusted current node is not the topmost element in the stack of open elements,
  • @@ -144533,12 +144521,11 @@ console.assert(container.firstChild instanceof SuperP); document is in limited-quirks mode, then set document's mode to "limited-quirks".

    -
  • If allowDeclarativeShadowRoots is true, then set document's allow declarative shadow roots to - true.

  • -
  • Create a new HTML parser, and associate it with document.

  • +
  • If allowDeclarativeShadowRoots is true, then set the HTML parser's + allow declarative shadow roots flag to enabled.

  • +
  • Set the state of the HTML parser's tokenization stage as follows, switching on the context element: