@@ -5764,6 +5764,9 @@ enum ShadowRootMode { "open", "closed" };
5764
5764
<p> <a for=/>Shadow roots</a> have an associated <dfn for=ShadowRoot>mode</dfn> ("<code> open</code> "
5765
5765
or "<code> closed</code> ").</p>
5766
5766
5767
+ <p> <a for=/>Shadow roots</a> have an associated <dfn export for=ShadowRoot>delegates focus</dfn> .
5768
+ It is initially set to false.</p>
5769
+
5767
5770
<p> <a for=/>Shadow roots</a> 's associated <a for=DocumentFragment>host</a> is never null.</p>
5768
5771
<!-- If we ever change this, e.g., add a ShadowRoot object constructor, that would have serious
5769
5772
consequences for innerHTML. -->
@@ -5907,6 +5910,7 @@ interface Element : Node {
5907
5910
5908
5911
dictionary ShadowRootInit {
5909
5912
required ShadowRootMode mode;
5913
+ boolean delegatesFocus = false;
5910
5914
};
5911
5915
</pre>
5912
5916
@@ -6805,6 +6809,9 @@ invoked, must run these steps:
6805
6809
is <a>context object</a> 's <a for=Node>node document</a> , <a for=DocumentFragment>host</a> is
6806
6810
<a>context object</a> , and <a for=ShadowRoot>mode</a> is <var> init</var> 's {{ShadowRootInit/mode}} .
6807
6811
6812
+ <li><p> Set <var> shadow</var> 's <a for=ShadowRoot>delegates focus</a> to <var>init</var>' s
6813
+ {{ShadowRootInit/delegatesFocus}} .
6814
+
6808
6815
<li><p> Set <a>context object</a> 's <a for=Element>shadow root</a> to <var> shadow</var> .
6809
6816
6810
6817
<li><p> Return <var> shadow</var> .
@@ -10217,6 +10224,7 @@ prosody—Gab<!-- riel --> Vereable<!-- Gaston --> <!-- Croft -->Context(,
10217
10224
Pierre-Marie Dartus,
10218
10225
Ra'Shaun Stovall (Snuggs),
10219
10226
Rafael Weinstein,
10227
+ Rakina Zata Amni,
10220
10228
Richard Bradshaw,
10221
10229
Rick Byers,
10222
10230
Rick Waldron,
0 commit comments