upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / compositing / self-painting-layers2.html
1 <!DOCTYPE html>
2 <html>
3   <head>
4     <title>Self painting layers</title>
5
6     <style type="text/css" media="screen">
7
8     .container {
9       overflow: hidden;
10       width: 300px;
11       border: 1px solid black;
12     }
13     
14     </style>
15     <script type="text/javascript" charset="utf-8">
16       if (window.layoutTestController) {
17           layoutTestController.dumpAsText();
18           layoutTestController.waitUntilDone();
19       }
20
21       function testOnLoad()
22       {
23         window.setTimeout(function() {
24           if (window.layoutTestController)
25             layoutTestController.notifyDone();
26         }, 0);
27       }
28       
29       window.addEventListener('load', function() {
30         var video = document.getElementById('video');
31         video.addEventListener('loadeddata', testOnLoad, false);
32         video.src = 'resources/video.' + (video.canPlayType('video/ogg') ? 'ogv' : 'mp4');
33       }, false);
34     </script>
35   </head>
36   <body>
37
38       <p>This test should not assert in debug builds.</p>
39       <div class="container">
40           <video id="video" width="300" height="200"></video>
41       </div>
42
43   </body>
44 </html>