Skip to content

Commit

Permalink
Signpost that debate on some script document mismatches
Browse files Browse the repository at this point in the history
This adds a pointer to #2137, which remains somewhat contested, to the
relevant parts of the prepare and execute algorithms for scripts.
  • Loading branch information
domenic committed Dec 13, 2019
1 parent 85ca3ea commit 755d74f
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -58655,8 +58655,13 @@ o............A....e
<li><p>Set the element's <span>preparation-time document</span> to its <span>node
document</span>.</p>

<li><p>If <var>parser document</var> is non-null, and <var>parser document</var> is not equal to
the element's <span>preparation-time document</span>, then return.</p></li>
<li>
<p>If <var>parser document</var> is non-null, and <var>parser document</var> is not equal to
the element's <span>preparation-time document</span>, then return.</p>

<p class="XXX">This step is not interoperable and is under debate: see <a
href="https://github.com/whatwg/html/issues/2137">issue #2137</a>.</p>
</li>

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

Expand Down Expand Up @@ -59044,9 +59049,14 @@ o............A....e
<ol>
<li><p>Let <var>document</var> be <var>scriptElement</var>'s <span>node document</span>.</p></li>

<li><p>If <var>scriptElement</var>'s <var>parser document</var> is non-null, and
<var>scriptElement</var>'s <var>parser document</var> is not equal to <var>document</var>, then
return.</p></li>
<li>
<p>If <var>scriptElement</var>'s <var>parser document</var> is non-null, and
<var>scriptElement</var>'s <var>parser document</var> is not equal to <var>document</var>, then
return.</p>

<p class="XXX">This step is not interoperable and is under debate: see <a
href="https://github.com/whatwg/html/issues/2137">issue #2137</a>.</p>
</li>

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

0 comments on commit 755d74f

Please sign in to comment.