4 <style type="text/css" media="screen">
7 top: -10px; /* overlap composited layer */
10 background-color: white;
11 text-indent: -10000px;
17 transform: translateZ(0);
22 -webkit-transition: opacity 0.1s;
25 <script type="text/javascript" charset="utf-8">
26 if (window.testRunner) {
27 testRunner.waitUntilDone();
28 testRunner.dumpAsText();
33 // At the end of this fade we are interested in the size of .test in the layer dump.
34 // It should be constrained to the size of the view, so not tiled.
35 var fader = document.getElementById('fading');
36 fader.addEventListener('webkitTransitionEnd', fadeDone, false);
37 document.getElementById('fading').style.opacity = 1;
42 if (window.testRunner) {
43 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
44 testRunner.notifyDone();
52 <!-- Go into compositing. -->
53 <div class="compositing"></div>
63 <pre id="layers">Layer tree goes here in DRT</pre>
65 window.onload = startFade;