2 <script src=
"resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document
.getElementById('container').style
.justifyContent
= 'stretch';
7 onload
= runRepaintTest
;
15 grid-auto-columns: auto;
16 grid-auto-rows:
200px;
17 grid-auto-flow: column;
18 justify-content: space-around;
21 background-color: red;
24 background-color: green;
27 <p style=
"height: 20px">Tests invalidation on justify-content style change (distribution). Passes if there is no red.
</p>
30 <div style=
"width: 50px"></div>
33 <div style=
"width: 50px"></div>
36 <div style=
"width: 50px"></div>