OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <script src="../../resources/run-after-display.js"></script> | 5 <script src="../../resources/run-after-display.js"></script> |
6 <style type="text/css" media="screen"> | 6 <style type="text/css" media="screen"> |
7 iframe { | 7 iframe { |
8 border: 10px solid black; | 8 border: 10px solid black; |
9 padding: 5px; | 9 padding: 5px; |
10 height: 150px; | 10 height: 150px; |
11 width: 300px; | 11 width: 300px; |
12 -webkit-box-shadow: 0 0 20px black; | 12 -webkit-box-shadow: 0 0 20px black; |
13 } | 13 } |
14 .box { | 14 .box { |
15 height: 200px; | 15 height: 200px; |
16 width: 200px; | 16 width: 200px; |
17 margin: 10px; | 17 margin: 10px; |
18 padding: 5px; | 18 padding: 5px; |
19 background-color: blue; | 19 background-color: blue; |
20 -webkit-transform: translateZ(0); | 20 transform: translateZ(0); |
21 overflow:hidden; | 21 overflow:hidden; |
22 } | 22 } |
23 .box:hover { | 23 .box:hover { |
24 -webkit-transform: none; | 24 transform: none; |
25 } | 25 } |
26 </style> | 26 </style> |
27 <script type="text/javascript" charset="utf-8"> | 27 <script type="text/javascript" charset="utf-8"> |
28 | 28 |
29 if (window.testRunner) { | 29 if (window.testRunner) { |
30 testRunner.dumpAsText(); | 30 testRunner.dumpAsText(); |
31 testRunner.waitUntilDone(); | 31 testRunner.waitUntilDone(); |
32 } | 32 } |
33 | 33 |
34 function doTest() | 34 function doTest() |
(...skipping 15 matching lines...) Expand all Loading... |
50 | 50 |
51 <!-- The nested iframe should disappear when we set it to "diplay:none". --> | 51 <!-- The nested iframe should disappear when we set it to "diplay:none". --> |
52 <div id="invisible"> | 52 <div id="invisible"> |
53 <iframe src="resources/intermediate-frame.html"></iframe> | 53 <iframe src="resources/intermediate-frame.html"></iframe> |
54 </div> | 54 </div> |
55 <div class="box"> | 55 <div class="box"> |
56 </div> | 56 </div> |
57 <pre id="layers">Layer tree appears here in DRT.</pre> | 57 <pre id="layers">Layer tree appears here in DRT.</pre> |
58 </body> | 58 </body> |
59 </html> | 59 </html> |
OLD | NEW |