@@ -3135,7 +3135,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
3135
3135
<li><dfn data-x-href="https://dom.spec.whatwg.org/#concept-node-document">node document</dfn> concept</li>
3136
3136
<li><dfn data-x="concept-document-type" data-x-href="https://dom.spec.whatwg.org/#concept-document-type">document type</dfn> concept</li>
3137
3137
<li><dfn data-x="concept-DocumentFragment-host" data-x-href="https://dom.spec.whatwg.org/#concept-documentfragment-host">host</dfn> concept</li>
3138
- <li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-root">shadow root</dfn> concept, and its <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-delegates-focus">delegates focus</dfn> and <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-available-to-element-internals">available to element internals</dfn>.</li>
3138
+ <li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-root">shadow root</dfn> concept, and its <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-delegates-focus">delegates focus</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-available-to-element-internals">available to element internals</dfn>, and <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-clonable">clonable </dfn>.</li>
3139
3139
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#element-shadow-host">shadow host</dfn> concept</li>
3140
3140
<li><dfn data-x-href="https://dom.spec.whatwg.org/#interface-htmlcollection"><code>HTMLCollection</code></dfn> interface, its
3141
3141
<dfn data-x="dom-HTMLCollection-length" data-x-href="https://dom.spec.whatwg.org/#dom-htmlcollection-length"><code>length</code></dfn> attribute, and its
@@ -63197,6 +63197,7 @@ not-slash = %x0000-002E / %x0030-10FFFF
63197
63197
<dd><span>Global attributes</span></dd>
63198
63198
<dd><code data-x="attr-template-shadowrootmode">shadowrootmode</code></dd>
63199
63199
<dd><code data-x="attr-template-shadowrootdelegatesfocus">shadowrootdelegatesfocus</code></dd>
63200
+ <dd><code data-x="attr-template-shadowrootclonable">shadowrootclonable</code></dd>
63200
63201
<dt><span
63201
63202
data-x="concept-element-accessibility-considerations">Accessibility considerations</span>:</dt>
63202
63203
<dd><a href="https://w3c.github.io/html-aria/#el-template">For authors</a>.</dd>
@@ -63210,6 +63211,7 @@ interface <dfn interface>HTMLTemplateElement</dfn> : <span>HTMLElement</span> {
63210
63211
readonly attribute <span>DocumentFragment</span> <span data-x="dom-template-content">content</span>;
63211
63212
[<span>CEReactions</span>] attribute DOMString <span data-x="dom-template-shadowrootmode">shadowRootMode</span>;
63212
63213
[<span>CEReactions</span>] attribute boolean <span data-x="dom-template-shadowrootdelegatesfocus">shadowRootDelegatesFocus</span>;
63214
+ [<span>CEReactions</span>] attribute boolean <span data-x="dom-template-shadowrootclonable">shadowRootClonable</span>;
63213
63215
};</code></pre>
63214
63216
</dd>
63215
63217
<dd w-dev>Uses <code>HTMLTemplateElement</code>.</dd>
@@ -63250,6 +63252,10 @@ interface <dfn interface>HTMLTemplateElement</dfn> : <span>HTMLElement</span> {
63250
63252
data-x="attr-template-shadowrootdelegatesfocus">shadowrootdelegatesfocus</code></dfn> content
63251
63253
attribute is a <span>boolean attribute</span>.</p>
63252
63254
63255
+ <p>The <dfn element-attr for="template"><code
63256
+ data-x="attr-template-shadowrootclonable">shadowrootclonable</code></dfn> content
63257
+ attribute is a <span>boolean attribute</span>.</p>
63258
+
63253
63259
<p>The <span>template contents</span> of a <code>template</code> element <a
63254
63260
href="#template-syntax">are not children of the element itself</a>.</p>
63255
63261
@@ -63391,6 +63397,12 @@ interface <dfn interface>HTMLTemplateElement</dfn> : <span>HTMLElement</span> {
63391
63397
data-x="attr-template-shadowrootdelegatesfocus">shadowrootdelegatesfocus</code> content
63392
63398
attribute.</p>
63393
63399
63400
+ <p>The <dfn><code
63401
+ data-x="dom-template-shadowrootclonable">shadowRootClonable</code></dfn> IDL attribute
63402
+ must <span>reflect</span> the <code
63403
+ data-x="attr-template-shadowrootclonable">shadowrootclonable</code> content
63404
+ attribute.</p>
63405
+
63394
63406
<hr>
63395
63407
63396
63408
<p>The <span data-x="concept-node-clone-ext">cloning steps</span> for a <code>template</code>
@@ -126130,9 +126142,14 @@ document.body.appendChild(text);
126130
126142
attribute, then let <var>declarative shadow delegates focus</var> be true. Otherwise let
126131
126143
it be false.</p></li>
126132
126144
126145
+ <li><p>If <var>template start tag</var> had a
126146
+ <code data-x="attr-template-shadowrootclonable">shadowrootclonable</code>
126147
+ attribute, then let <var>clonable</var> be true. Otherwise let it be false.</p></li>
126148
+
126133
126149
<li><p><span data-x="concept-attach-a-shadow-root">Attach a shadow root</span> with
126134
- <var>declarative shadow host element</var>, <var>declarative shadow mode</var>, true,
126135
- <var>declarative shadow delegates focus</var>, and "<code data-x="">named</code>".</p></li>
126150
+ <var>declarative shadow host element</var>, <var>declarative shadow mode</var>,
126151
+ <var>clonable>, <var>declarative shadow delegates focus</var>, and
126152
+ "<code data-x="">named</code>".</p></li>
126136
126153
126137
126154
<li>
126138
126155
<p>If an exception was thrown by <span data-x="concept-attach-a-shadow-root">attach a
@@ -138966,10 +138983,15 @@ interface <dfn interface>External</dfn> {
138966
138983
<td> "<code data-x="">open</code>";
138967
138984
"<code data-x="">closed</code>"
138968
138985
<tr>
138969
- <th> <code data-x="">shadowrootdelegatesfocus</code>
138970
- <td> <code data-x="attr-template-shadowrootdelegatesfocus">template</code>
138971
- <td> Sets <span>delegates focus</span> on a declarative shadow root
138972
- <td> <span>Boolean attribute</span>
138986
+ <th> <code data-x="">shadowrootdelegatesfocus</code>
138987
+ <td> <code data-x="attr-template-shadowrootdelegatesfocus">template</code>
138988
+ <td> Sets <span>delegates focus</span> on a declarative shadow root
138989
+ <td> <span>Boolean attribute</span>
138990
+ <tr>
138991
+ <th> <code data-x="">shadowrootclonable</code>
138992
+ <td> <code data-x="attr-template-shadowrootclonable">template</code>
138993
+ <td> Sets <span>clonable</span> on a declarative shadow root
138994
+ <td> <span>Boolean attribute</span>
138973
138995
<tr>
138974
138996
<th> <code data-x="">shape</code>
138975
138997
<td> <code data-x="attr-area-shape">area</code>
0 commit comments