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 margin: 20px; | 10 margin: 20px; |
11 height: 150px; | 11 height: 150px; |
12 width: 300px; | 12 width: 300px; |
13 -webkit-box-shadow: 0 0 20px black; | 13 -webkit-box-shadow: 0 0 20px black; |
14 } | 14 } |
15 | 15 |
16 #box { | 16 #box { |
17 height: 100px; | 17 height: 100px; |
18 width: 100px; | 18 width: 100px; |
19 background-color: blue; | 19 background-color: blue; |
20 } | 20 } |
21 | 21 |
22 .composited { | 22 .composited { |
23 -webkit-transform: translateZ(0); | 23 transform: translateZ(0); |
24 } | 24 } |
25 | 25 |
26 </style> | 26 </style> |
27 <script type="text/javascript" charset="utf-8"> | 27 <script type="text/javascript" charset="utf-8"> |
28 if (window.testRunner) { | 28 if (window.testRunner) { |
29 testRunner.dumpAsText(); | 29 testRunner.dumpAsText(); |
30 testRunner.waitUntilDone(); | 30 testRunner.waitUntilDone(); |
31 } | 31 } |
32 | 32 |
33 function doTest() | 33 function doTest() |
(...skipping 15 matching lines...) Expand all Loading... |
49 | 49 |
50 <div id="box"></div> | 50 <div id="box"></div> |
51 | 51 |
52 <!-- Test with already-composited iframe contents, and iframe itself composi
ted. --> | 52 <!-- Test with already-composited iframe contents, and iframe itself composi
ted. --> |
53 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> | 53 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> |
54 | 54 |
55 <p>When the parent document becomes composited, the layer trees should get c
onnected together.</p> | 55 <p>When the parent document becomes composited, the layer trees should get c
onnected together.</p> |
56 <pre id="layers">Layer tree appears here in DRT.</pre> | 56 <pre id="layers">Layer tree appears here in DRT.</pre> |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |