Commit 67a45474 authored by David Bokan's avatar David Bokan Committed by Commit Bot

Disable SubframePrintPageLayout unit test

This test passes today by accident of the fact that the iframe is the
exact size necessary to be promoted to the root scroller. This indicates
the test is failing in a realistic environment since the root scroller
promition isn't yet shipped.

Bug: 841602
Change-Id: I10c68e7f2f0d3c2d00536d278f7f6ed6d5978ba0
Reviewed-on: https://chromium-review.googlesource.com/1053350Reviewed-by: default avatarWei Li <weili@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558825}
parent 9abf20e4
......@@ -389,9 +389,11 @@ TEST_F(PrintContextFrameTest, BasicPrintPageLayout) {
EXPECT_EQ(node->OffsetWidth(), 800);
}
// This tests that we don't resize or re-layout subframes in printed
// content.
TEST_F(PrintContextFrameTest, SubframePrintPageLayout) {
// This tests that we don't resize or re-layout subframes in printed content.
// TODO(weili): This test fails when the iframe isn't the root scroller - e.g.
// Adding ScopedImplicitRootScrollerForTest disabler(false);
// https://crbug.com/841602.
TEST_F(PrintContextFrameTest, DISABLED_SubframePrintPageLayout) {
SetBodyInnerHTML(R"HTML(
<div style='border: 0px; margin: 0px; background-color: #0000FF;
width:800px; height:400px'></div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment