Skip to content

Commit 78b37fb

Browse files
committed
Signpost the debate on some script document mismatches
This adds a pointer to #2137, which remains somewhat contested, to the relevant parts of the prepare and execute algorithms for scripts.
1 parent a0ea966 commit 78b37fb

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

source

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59211,8 +59211,13 @@ o............A....e
5921159211
<li><p>Set the element's <span>preparation-time document</span> to its <span>node
5921259212
document</span>.</p>
5921359213

59214-
<li><p>If <var>parser document</var> is non-null, and <var>parser document</var> is not equal to
59215-
the element's <span>preparation-time document</span>, then return.</p></li>
59214+
<li>
59215+
<p>If <var>parser document</var> is non-null, and <var>parser document</var> is not equal to
59216+
the element's <span>preparation-time document</span>, then return.</p>
59217+
59218+
<p class="XXX">This step is not interoperable and is under debate: see <a
59219+
href="https://github.com/whatwg/html/issues/2137">issue #2137</a>.</p>
59220+
</li>
5921659221

5921759222
<li id="script-processing-noscript">
5921859223

@@ -59600,9 +59605,14 @@ o............A....e
5960059605
<ol>
5960159606
<li><p>Let <var>document</var> be <var>scriptElement</var>'s <span>node document</span>.</p></li>
5960259607

59603-
<li><p>If <var>scriptElement</var>'s <var>parser document</var> is non-null, and
59604-
<var>scriptElement</var>'s <var>parser document</var> is not equal to <var>document</var>, then
59605-
return.</p></li>
59608+
<li>
59609+
<p>If <var>scriptElement</var>'s <var>parser document</var> is non-null, and
59610+
<var>scriptElement</var>'s <var>parser document</var> is not equal to <var>document</var>, then
59611+
return.</p>
59612+
59613+
<p class="XXX">This step is not interoperable and is under debate: see <a
59614+
href="https://github.com/whatwg/html/issues/2137">issue #2137</a>.</p>
59615+
</li>
5960659616

5960759617
<li><p>If <span data-x="concept-script-script">the script's script</span> is null for
5960859618
<var>scriptElement</var>, then <span data-x="concept-event-fire">fire an event</span> named <code

0 commit comments

Comments
 (0)