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 .composited { | 16 .composited { |
17 -webkit-transform: translateZ(0); | 17 transform: translateZ(0); |
18 } | 18 } |
19 | 19 |
20 </style> | 20 </style> |
21 <script type="text/javascript" charset="utf-8"> | 21 <script type="text/javascript" charset="utf-8"> |
22 if (window.testRunner) { | 22 if (window.testRunner) { |
23 testRunner.dumpAsText(); | 23 testRunner.dumpAsText(); |
24 testRunner.waitUntilDone(); | 24 testRunner.waitUntilDone(); |
25 } | 25 } |
26 | 26 |
27 function doTest() | 27 function doTest() |
(...skipping 12 matching lines...) Expand all Loading... |
40 </script> | 40 </script> |
41 </head> | 41 </head> |
42 <body> | 42 <body> |
43 | 43 |
44 <!-- Test with already-composited iframe contents, and iframe itself composi
ted. --> | 44 <!-- Test with already-composited iframe contents, and iframe itself composi
ted. --> |
45 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> | 45 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> |
46 | 46 |
47 <pre id="layers">Layer tree appears here in DRT.</pre> | 47 <pre id="layers">Layer tree appears here in DRT.</pre> |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |