12 background-color: lightblue;
17 background-color: lightgreen;
28 transform: translateZ(1px);
32 if (window.testRunner) {
33 testRunner.waitUntilDone();
34 internals.settings.setLayerSquashingEnabled(true);
36 requestAnimationFrame(function() {
37 requestAnimationFrame(function() {
38 document.getElementById('target1').classList.add('visible');
39 document.getElementById('target2').classList.add('visible');
40 setTimeout(function() {
41 if (window.testRunner)
42 testRunner.notifyDone();
49 <!-- This test checks that squashed RenderLayers are painted even if not all
50 of the RenderLayers squahed into a given GraphicsLayer are visible. -->
52 <div class="composited box"></div>
53 <div class="squashed hidden" style="top: 4px"></div>
54 <div id="target1" class="squashed hidden" style="top: 54px"></div>
57 <div class="set" style="top: 116px">
58 <div class="composited box"></div>
59 <div id="target2" class="squashed hidden" style="top: 4px"></div>
60 <div class="squashed hidden" style="top: 54px"></div>