6 border:
1px solid black;
19 transform: translateZ(
0);
24 if (window
.internals
) {
25 internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
28 <div class=
"scroller">
29 <div class=
"scrolled neg-zorder" id=
"to-modify"></div>
30 <div class=
"scrolled"></div>
31 <div class=
"scrolled"></div>
32 <div class=
"scrolled"></div>
35 if (window
.testRunner
)
36 testRunner
.dumpAsText();
38 if (window
.internals
) {
39 window
.internals
.forceCompositingUpdate(document
);
40 window
.internals
.startTrackingRepaints(document
);
43 document
.querySelector('style').appendChild(document
.createTextNode('#to-modify { display: none }'));
45 if (window
.internals
) {
46 var layerTree
= document
.createElement('pre');
47 layerTree
.innerHTML
= internals
.layerTreeAsText(document
, internals
.LAYER_TREE_INCLUDES_PAINTING_PHASES
);
48 window
.internals
.stopTrackingRepaints(document
);
49 document
.body
.appendChild(layerTree
);