1 <!-- Based on fast/repaint/justify-content-position-change.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow DIV class='item'",
8 "LayoutBlockFlow DIV class='item'",
11 function paintInvalidationTest() {
12 document
.getElementById('container').style
.justifyContent
= 'flex-start';
14 onload
= runPaintInvalidationTest
;
22 justify-content: center;
25 background-color: orange;
28 background-color: green;
29 border: solid thin blue;
33 <p style=
"height: 20px">Tests invalidation on justify-content style change. Passes if only one big orange bar appear aligned to the box's right edge.
</p>
36 <div style=
"height: 50px"></div>
39 <div style=
"height: 50px"></div>