12 background-color: blue;
21 background-color: green
24 <script type=
"text/javascript">
25 if (window
.testRunner
) {
26 testRunner
.waitUntilDone();
31 if (window
.internals
) {
32 window
.internals
.forceCompositingUpdate(document
);
34 // Adding "will-change: -webkit-transform" to the container div should
35 // make this div become the containing block for its fixed position
37 document
.getElementById("container").style
.willChange
= "-webkit-transform";
38 if (window
.testRunner
) {
39 testRunner
.notifyDone();
43 window
.addEventListener('load', doTest
, false);
49 <div class=
"fixed"></div>