Skip to content

Commit 7d21798

Browse files
TimothyGuannevk
authored andcommitted
Make document.open() set the document to no-quirks
Per investigation in #3818, this change aligns the behavior of document.open() with Chrome and Safari. Tests: web-platform-tests/wpt#10679. Closes #3831.
1 parent 3d9b41d commit 7d21798

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source

+2
Original file line numberDiff line numberDiff line change
@@ -90994,6 +90994,8 @@ document.body.appendChild(frame)</code></pre>
9099490994
<li><p>If <var>document</var>'s <span>iframe load in progress</span> flag is set, then set
9099590995
<var>document</var>'s <span>mute iframe load</span> flag.</p></li>
9099690996

90997+
<li><p>Set <var>document</var> to <span>no-quirks mode</span>.</p></li>
90998+
9099790999
<li><p>Create a new <span>HTML parser</span> and associate it with <var>document</var>. This is a
9099891000
<dfn>script-created parser</dfn> (meaning that it can be closed by the <code
9099991001
data-x="dom-document-open">document.open()</code> and <code

0 commit comments

Comments
 (0)