1 <!-- Based on fast/repaint/justify-items-change.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
7 "LayoutBlockFlow DIV class='item'",
8 "LayoutGrid DIV id='container'",
9 "LayoutGrid DIV id='container'",
10 "LayoutBlockFlow DIV class='item'",
11 "LayoutBlockFlow DIV",
13 function paintInvalidationTest() {
14 document
.getElementById('container').style
.justifyItems
= 'start';
16 onload
= runPaintInvalidationTest
;
28 background-color: red;
33 background-color: green;
37 <p style=
"height: 20px">Tests invalidation on justify-items style change. Passes if green bar is left aligned.
</p>
40 <div style=
"height: 50px"></div>