OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../resources/run-after-display.js"></script> | 4 <script src="../../resources/run-after-display.js"></script> |
5 <script> | 5 <script> |
6 function test() | 6 function test() |
7 { | 7 { |
8 if (window.testRunner) { | 8 if (window.testRunner) { |
9 testRunner.waitUntilDone(); | 9 testRunner.waitUntilDone(); |
10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 /* nodes that do not have layers */ | 31 /* nodes that do not have layers */ |
32 .c { outline: solid green 1px } | 32 .c { outline: solid green 1px } |
33 </style> | 33 </style> |
34 </head> | 34 </head> |
35 <body onload="test()"> | 35 <body onload="test()"> |
36 Tests that moving a layer inside a transformed layer works. | 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. | 37 The test passes if it completes without failing any assertions in Debug mode. |
38 <div> | 38 <div> |
39 <div style="position:absolute; top:50px" class="a"> | 39 <div style="position:absolute; top:50px" class="a"> |
40 <div style="-webkit-transform:translate(27px, 47px); -webkit-transform:rot
ate(30deg)" class="a"> | 40 <div style="transform:translate(27px, 47px); transform:rotate(30deg)" clas
s="a"> |
41 <div style="opacity: 0.8; width:50px; height:50px" class="b"></div> | 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:7
px" id="innerLayer" class="a"> | 42 <div style="position:absolute; width:20px; height:20px; left: 4px; top:7
px" id="innerLayer" class="a"> |
43 <div style="position:relative; width:15px; height:15px" class="a"></di
v> | 43 <div style="position:relative; width:15px; height:15px" class="a"></di
v> |
44 </div> | 44 </div> |
45 <div style="opacity: 0.8; width:50px; height:50px" class="b"></div> | 45 <div style="opacity: 0.8; width:50px; height:50px" class="b"></div> |
46 </div> | 46 </div> |
47 </div> | 47 </div> |
48 </div> | 48 </div> |
49 </body> | 49 </body> |
50 </html | 50 </html |
OLD | NEW |