1 <!-- Based on fast/repaint/justify-self-change-keeping-geometry.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
7 function paintInvalidationTest() {
8 document
.getElementsByClassName('item1')[0].style
.justifySelf
= 'left';
9 document
.getElementsByClassName('item2')[0].style
.justifySelf
= 'right';
11 onload
= runPaintInvalidationTest
;
19 grid:
100px
100px /
150px
150px;
22 background-color: red;
28 background-color: green;
35 background-color: green;
38 <p style=
"height: 20px">Tests invalidation on justify-self style change. Passes if there is no red.
</p>
41 <div style=
"height: 150px"></div>
44 <div style=
"height: 100px"></div>