1 <!-- Based on compositing/repaint/invalidations-on-composited-layers.html -->
5 This test checks that repaint testing works with composited layers.
10 <style type=
"text/css">
12 transform: translateZ
(0px);
19 transform: translateZ
(0px);
29 <script src=
"resources/paint-invalidation-test.js"></script>
31 window
.expectedPaintInvalidationObjects
= [
32 "LayoutBlockFlow DIV id='parent'",
33 "LayoutBlockFlow (relative positioned) DIV id='child'",
35 function paintInvalidationTest() {
36 var parent
= document
.getElementById('parent');
37 var child
= document
.getElementById('child');
39 child
.style
.background
= 'blue';
40 parent
.style
.background
= 'green';
43 runPaintInvalidationTest();
48 <div id=
"child"></div>