3 This test verifies that content is visible when the viewport is larger than the initial containing block.
6 internals
.settings
.setViewportEnabled(true);
7 internals
.settings
.setViewportMetaEnabled(true);
9 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
26 background-color: #
8f8;
29 <meta name=
"viewport" content=
"width=800, minimum-scale=0.8, initial-scale=1, maximum-scale=1.25">
30 <div class=
"box"></div>
32 if (window
.testRunner
) {
33 testRunner
.dumpAsTextWithPixelResults();
34 testRunner
.waitUntilDone();
36 runAfterLayoutAndPaint(function() {
37 internals
.setPageScaleFactor(0.8);
38 if (window
.testRunner
)
39 testRunner
.notifyDone();