13 transform: translatez(
0);
18 background-color: gray;
24 background-color: blue;
30 background-color: lime;
36 background-color: green;
42 background-color: yellow;
46 if (window
.testRunner
)
47 testRunner
.dumpAsText();
50 if (!window
.internals
)
52 var layers
= document
.createElement('pre');
53 layers
.innerHTML
= window
.internals
.layerTreeAsText(document
);
54 document
.body
.appendChild(layers
);
63 If this test is working correctly, then the first two layers should not
64 squash together (as they would create a layer that's too sparse), but the
65 third and fourth layers should squash together.
67 <div class=
"composited"></div>
68 <div id=
"A" class=
"overlap1"></div>
69 <div id=
"B" class=
"overlap2"></div>
70 <div id=
"C" class=
"overlap3"></div>
71 <div id=
"D" class=
"overlap4"></div>