File tree Expand file tree Collapse file tree 1 file changed +25
-3
lines changed
Expand file tree Collapse file tree 1 file changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -139538,7 +139538,7 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139538139538 <li>
139539139539 <p>If <var>element</var> has a <code data-x="attr-contentname">contentname</code> attribute
139540139540 set to a non-empty value and <var>adjusted insertion location</var> is inside a
139541- <code>template</code> element whose <code
139541+ <code>template</code> element which is not <span>connected</span> and whose <code
139542139542 data-x="attr-template-contentmethod">contentmethod</code> attribute is not in the <span
139543139543 data-x="attr-contentmethod-none-state">None</span> state:</p>
139544139544
@@ -139588,8 +139588,30 @@ dictionary <dfn dictionary>StorageEventInit</dfn> : <span>EventInit</span> {
139588139588 </ol>
139589139589 </li>
139590139590
139591- <li><p>Otherwise, this is a <span data-x="parse-error-contentname-not-found">contentname-not-found</span>
139592- <span>parse error</span>.</p></li>
139591+ <li>
139592+ <p>Otherwise:</p>
139593+
139594+ <ol>
139595+ <li><p>This is a <span
139596+ data-x="parse-error-contentname-not-found">contentname-not-found</span> <span>parse
139597+ error</span>.</p></li>
139598+
139599+ <li><p><span>Assert</span>: <var>template</var> is the <span>current node</span>.</p></li>
139600+
139601+ <li><p>Pop the <span>current node</span> off the <span>stack of open
139602+ elements</span>.</p></li>
139603+
139604+ <li><p>Run <span>insert an element at the adjusted insertion location</span> with
139605+ <var>template</var>.</p></li>
139606+
139607+ <li>
139608+ <p>Push <var>template</var> onto the <span>stack of open elements</span>.</p>
139609+
139610+ <p class="note">The above steps undo the effect of the <i>onlyAddToElementStack</i> argument
139611+ from the <span>insert a foreign element</span> call that created <var>template</var>,
139612+ inserting it where it would have been inserted otherwise. This is to signal an error.</p>
139613+ </ol>
139614+ </li>
139593139615 </ol>
139594139616 </li>
139595139617
You can’t perform that action at this time.
0 commit comments