1 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
5 background-color: black;
10 background-color: red;
26 if (window
.testRunner
)
27 testRunner
.waitUntilDone();
28 runAfterLayoutAndPaint(function() {
29 var children
= document
.getElementsByClassName("child");
30 children
[0].style
.backgroundColor
= "rgba(0,255,0,0.5)";
31 children
[1].style
.backgroundColor
= "rgba(0,255,0,0.5)";
32 if (window
.testRunner
)
33 testRunner
.notifyDone();