| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>This tests that media query can't get into an ever-growing cycle.</title> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| if (window.internals) |
| internals.settings.setFrameFlattening("FullyEnabled"); |
| |
| function runTest() { |
| if (window.testRunner) { |
| testRunner.waitUntilDone(); |
| setTimeout(function() { |
| testRunner.notifyDone(); |
| }, 50); |
| } |
| } |
| </script> |
| </head> |
| <body> |
| <iframe onload="runTest()" src="./resources/media-query-min-height-with-flattening.html"></iframe> |
| <div id=testResult></div> |
| </body> |
| </html> |