2 <script src=
"resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document
.getElementsByClassName('item1')[0].style
.alignSelf
= 'stretch';
6 document
.getElementsByClassName('item2')[0].style
.alignSelf
= 'stretch';
8 onload
= runRepaintTest
;
16 grid:
100px
100px /
300px;
19 background-color: red;
25 background-color: green;
31 background-color: green;
34 <p style=
"height: 20px">Tests invalidation on align-self style change. Passes if there is no red.
</p>
37 <div style=
"height: 50px"></div>
40 <div style=
"height: 50px"></div>