Skip to content

Commit 48cd393

Browse files
committed
Editorial: relocate "stopped parsing" step for non-DOM documents
As pointed out in #125 (comment), it was quite hard to discover how the load event fired on iframes containing error documents or other "inline content that doesn't have a DOM". This was because the step that did this was, for some reason, located outside of the main list of algorithm steps. Update to follow the same pattern as used for media documents, of locating the step inline.
1 parent aacb0df commit 48cd393

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

source

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111825,6 +111825,9 @@ new PaymentRequest(…); // Allowed to use
111825111825
the normal <code>Document</code> rendering rules, or mutate <var>document</var> until it
111826111826
represents the content the user agent wants to render.</p></li>
111827111827

111828+
<li><p>Act as if the user agent had <span data-x="stop parsing">stopped parsing</span>
111829+
<var>document</var>.</p></li>
111830+
111828111831
<li><p>Return <var>document</var>.</p></li>
111829111832
</ol>
111830111833

@@ -111839,11 +111842,6 @@ new PaymentRequest(&hellip;); // Allowed to use
111839111842
algorithm</span> from getting confused, and so are set to default values.</p>
111840111843
</div>
111841111844

111842-
<div algorithm>
111843-
<p>Once the page has been set up, the user agent must act as if it had <span data-x="stop
111844-
parsing">stopped parsing</span>.</p>
111845-
</div>
111846-
111847111845

111848111846
<h4 id="loading-documents">Finishing the loading process</h4>
111849111847

0 commit comments

Comments
 (0)