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