Skip to content

Commit

Permalink
Closed shadow roots can be serializable too
Browse files Browse the repository at this point in the history
I missed this in review but my understanding of the discussion we had around #8867 was that the contract would be the same for open and closed shadow roots.
  • Loading branch information
annevk committed Apr 8, 2024
1 parent ebbb1c0 commit 432ad78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -131239,10 +131239,8 @@ document.body.appendChild(text);
<p>If one of the following is true:</p>

<ul>
<li><p><var>serializableShadowRoots</var> is true, <var>shadow</var>'s
<span data-x="shadow-serializable">serializable</span> is true, and <var>shadow</var>'s
<span data-x="concept-shadow-root-mode">mode</span> is "<code data-x="">open</code>";
or</p></li>
<li><p><var>serializableShadowRoots</var> is true and <var>shadow</var>'s
<span data-x="shadow-serializable">serializable</span> is true; or</p></li>

<li><p><var>shadowRoots</var> contains <var>shadow</var>,</p></li>
</ul>
Expand Down

0 comments on commit 432ad78

Please sign in to comment.