2 <script src="resources/text-based-repaint.js"></script>
4 function repaintTest() {
5 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
6 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
8 onload = runRepaintTest;
16 align-items: flex-start;
19 background-color: red;
22 background-color: green;
23 border: solid thin blue;
27 <p style="height: 20px">Tests invalidation on align-self style change. Passes if there is no red.</p>
30 <div style="height: 100px"></div>
33 <div style="height: 150px"></div>