Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / border-radius-mask-video-crash.html
blob1e7fecd1771d3221e533367c3b74b3b81fa5f60e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .rounded {
6 border-radius: 200px;
8 </style>
9 <script>
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
15 function canPlay() {
16 setTimeout('addRounded()', 200);
18 function addRounded() {
19 theVideo.classList.add('rounded');
20 theVideo.src = "empty_file";
21 setTimeout(function() {
22 document.getElementById('description').innerText += ' - PASS';
23 if (window.testRunner)
24 testRunner.notifyDone();
25 }, 0);
27 </script>
28 </head>
29 <body>
30 <div id="description">This sometimes causes a crash</div>
31 <video id="theVideo" src='../../media/resources/frame_size_change.webm' oncanplaythrough='canPlay();'></video>
32 </body>
33 </html>