Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML: document.open() and quirks mode #10679

Merged
merged 6 commits into from
Aug 28, 2018
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Apr 27, 2018

No description provided.

@wpt-pr-bot wpt-pr-bot requested review from ayg, jdm, jgraham and zqzhang April 27, 2018 12:27
@foolip
Copy link
Member

foolip commented Apr 27, 2018

w3c-test:mirror

@TimothyGu TimothyGu force-pushed the annevk/document-open-quirks branch from 575bc64 to 928ef30 Compare July 19, 2018 19:44
@wpt-pr-bot wpt-pr-bot requested review from domenic, foolip, sideshowbarker and zcorpan and removed request for ayg July 19, 2018 19:44
@TimothyGu TimothyGu self-assigned this Jul 31, 2018
Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % comment

assert_equals(frame.contentDocument.compatMode, "CSS1Compat");
}, "document.open() and quirks mode (iframe, new doctype)");

// Test derived from quirks/blocks-ignore-line-height.html.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's enough here to figure out that the test isn't really about the layout size of those divs, but can you spell out that this is all because there's no way to directly test if one is in limited quirks mode, and that this test is only valid on the assumption that the one linked here passes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Member

@zcorpan zcorpan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % foolip's comment

TimothyGu added a commit to TimothyGu/html that referenced this pull request Aug 27, 2018
Per investigation in whatwg#3818, this change aligns the behavior of
document.open() with Chrome and Safari.

Tests: web-platform-tests/wpt#10679
@annevk annevk merged commit 5c0f55e into master Aug 28, 2018
@annevk annevk deleted the annevk/document-open-quirks branch August 28, 2018 06:55
annevk pushed a commit to whatwg/html that referenced this pull request Aug 28, 2018
Per investigation in #3818, this change aligns the behavior of
document.open() with Chrome and Safari.

Tests: web-platform-tests/wpt#10679.

Closes #3831.
mustaqahmed pushed a commit to mustaqahmed/html that referenced this pull request Feb 15, 2019
Per investigation in whatwg#3818, this change aligns the behavior of
document.open() with Chrome and Safari.

Tests: web-platform-tests/wpt#10679.

Closes whatwg#3831.
mustaqahmed pushed a commit to mustaqahmed/html that referenced this pull request Feb 15, 2019
Per investigation in whatwg#3818, this change aligns the behavior of
document.open() with Chrome and Safari.

Tests: web-platform-tests/wpt#10679.

Closes whatwg#3831.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants