OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style type="text/css"> | 3 <style type="text/css"> |
4 .composited { | 4 .composited { |
5 -webkit-transform: translateZ(0); | 5 -webkit-transform: translateZ(0); |
6 } | 6 } |
7 </style> | 7 </style> |
8 <script type="text/javascript"> | 8 <script type="text/javascript"> |
9 if (window.testRunner) | 9 if (window.testRunner) |
10 testRunner.dumpAsText(); | 10 testRunner.dumpAsText(); |
11 | 11 |
12 function doTest() { | 12 function doTest() { |
13 if (window.testRunner && window.internals) | 13 if (window.testRunner && window.internals) |
14 document.getElementById('layertree').innerText = window.inte
rnals.layerTreeAsText(document); | 14 document.getElementById('layertree').innerText = window.inte
rnals.layerTreeAsText(document); |
15 } | 15 } |
16 window.addEventListener('load', doTest, false); | 16 window.addEventListener('load', doTest, false); |
17 </script> | 17 </script> |
18 </head> | 18 </head> |
19 <body> | 19 <body> |
20 <!-- Composited control element. --> | 20 <!-- Composited control element. --> |
21 <!-- Control elements are rendered by native theme. -> | 21 <!-- Control elements are rendered by native theme. -> |
22 <!-- GraphicsLayer::contentsOpaque for control element should be false.
--> | 22 <!-- GraphicsLayer::contentsOpaque for control element should be false.
--> |
23 <input class="composited" type="button" value="Composited Button"> | 23 <input class="composited" type="button" value="Composited Button"> |
24 | 24 |
25 <pre id="layertree"></pre> | 25 <pre id="layertree"></pre> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |