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