26b4e4ff43b611efc9c57cbbff6a0ec68ece4e5d
[WebKit-https.git] / LayoutTests / fast / frames / flattening / media-query-growing-content.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>This tests that media query can't get into an ever-growing cycle.</title>
5 <script>
6 if (window.testRunner)
7     testRunner.dumpAsText();
8 if (window.internals)
9     internals.settings.setFrameFlattening("FullyEnabled");
10
11 function runTest() {
12     if (window.testRunner) {
13         testRunner.waitUntilDone();
14         setTimeout(function() {
15             testRunner.notifyDone();
16         }, 50);
17     }
18 }
19 </script>
20 </head>
21 <body>
22 <iframe onload="runTest()" src="./resources/media-query-min-height-with-flattening.html"></iframe>
23 <div id=testResult></div>
24 </body>
25 </html>