Skip to content

Commit aeca132

Browse files
Clarifying the two sheets
1 parent b576c09 commit aeca132

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

source

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68426,10 +68426,16 @@ interface <dfn interface>HTMLTemplateElement</dfn> : <span>HTMLElement</span> {
6842668426
<span>default script fetch options</span>, <var>settingsObject</var>, "<code
6842768427
data-x="">client</code>", true, and with the following steps given <var>result</var>:</p>
6842868428
<ul>
68429-
<li><p>If <var>result</var> is null, then <span>continue</span>.</p></li>
68430-
<li><p>Extract the <code>CSSStyleSheet</code> from <var>result</var>'s <span
68431-
data-x="concept-script-record">record</span> and <span>replaceSync</span> on the
68432-
underlying <code>CSSStyleSheet</code> with the contents of <var>result</var>.</p></li>
68429+
<li><p>If <var>result</var> is null, then abort these steps.</p></li>
68430+
<li><p>Let <var>fetchedSheet</var> be the <code>CSSStyleSheet</code> extracted from
68431+
<var>result</var>'s <span
68432+
data-x="concept-script-record">record</span>.</p></li>
68433+
<li><p>Let <var>existingSheet</var> be the <code>CSSStyleSheet</code> extracted from
68434+
<var>moduleScript</var>'s <span
68435+
data-x="concept-script-record">record</span>.</p></li>
68436+
<li><p>Call <span>replaceSync</span> on <var>existingSheet</var> given the
68437+
<span data-x="concept-CSSStyleSheet-CSS-text">CSS text</span> of
68438+
<var>fetchedSheet</var>.</p></li>
6843368439
</ul>
6843468440
</li>
6843568441
</ul>

0 commit comments

Comments
 (0)