Video is not started even if play button has been pressed.
[framework/web/webkit-efl.git] / LayoutTests / fast / layers / nested-layers-4.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function test()
6 {
7     document.body.offsetTop;
8     if (window.testRunner) {
9         testRunner.display();
10         testRunner.dumpAsText();
11         finish();
12     } else {
13         window.setTimeout(finish, 50);
14     }
15 }
16
17 function finish()
18 {
19     var innerLayer = document.getElementById('innerLayer');
20     innerLayer.style.left = '19px';
21     innerLayer.style.top = '23px';
22 }
23 </script>
24 <style>
25 /* nodes that have layers and are containers for their children */
26 .a { outline: solid blue 1px }
27
28 /* nodes that have layers but are not containers for their children */
29 .b { outline: solid red 1px }
30
31 /* nodes that do not have layers */
32 .c { outline: solid green 1px }
33 </style>
34 </head>
35 <body onload="test()">
36   Tests that moving a layer inside a transformed layer works.
37   The test passes if it completes without failing any assertions in Debug mode.
38   <div>
39     <div style="position:absolute; top:50px" class="a">
40       <div style="-webkit-transform:translate(27px, 47px); -webkit-transform:rotate(30deg)" class="a">
41         <div style="opacity: 0.8; width:50px; height:50px" class="b"></div>
42         <div style="position:absolute; width:20px; height:20px; left: 4px; top:7px" id="innerLayer" class="a">
43           <div style="position:relative; width:15px; height:15px" class="a"></div>
44         </div>
45         <div style="opacity: 0.8; width:50px; height:50px" class="b"></div>
46       </div>
47     </div>
48   </div>
49 </body>
50 </html