1 <!-- Based on fast/repaint/align-self-change-grid.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow DIV class='item1'",
8 "LayoutBlockFlow DIV class='item2'",
10 function paintInvalidationTest() {
11 document
.getElementsByClassName('item1')[0].style
.alignSelf
= 'stretch';
12 document
.getElementsByClassName('item2')[0].style
.alignSelf
= 'stretch';
14 onload
= runPaintInvalidationTest
;
22 grid:
100px
100px /
300px;
25 background-color: red;
31 background-color: green;
37 background-color: green;
40 <p style=
"height: 20px">Tests invalidation on align-self style change. Passes if there is no red.
</p>
43 <div style=
"height: 50px"></div>
46 <div style=
"height: 50px"></div>