6 background-color: blue;
19 clip: rect(
0px,
100px,
100px,
0px);
24 // Render one frame with clipping, then remove the clip.
25 window
.requestAnimationFrame(function() {
26 window
.requestAnimationFrame(function() {
27 document
.getElementById("clip").style
.clip
= "auto";
28 if (window
.testRunner
)
29 testRunner
.notifyDone();
34 if (window
.testRunner
&& window
.internals
) {
35 testRunner
.waitUntilDone();
36 internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
43 <iframe id=
"subframe"></iframe>