Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / absolute-positioned-video-crash.html
bloba54a28a1e10a57fb1879f6b9baf995ac2dd40d46
1 <!DOCTYPE html>
2 <body onload="reloadOnce()">
3 <div>This test passes if it doesn't crash.</div>
4 <video style="position: absolute" poster="../fast/images/resources/green.jpg"><source></video>
5 <script>
6 document.body.offsetHeight;
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 function reloadOnce() {
12 var searchParameter = "?done";
13 if (window.location.search == searchParameter) {
14 if (window.testRunner)
15 testRunner.notifyDone();
16 } else {
17 if (window.testRunner)
18 testRunner.waitUntilDone();
19 window.location = window.location + searchParameter;
22 </script>
23 </body>