1 <!-- Based on fast/repaint/align-self-change.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow DIV class='item'",
7 "LayoutBlockFlow DIV class='item'",
9 function paintInvalidationTest() {
10 document
.getElementsByClassName('item')[0].style
.alignSelf
= 'stretch';
11 document
.getElementsByClassName('item')[1].style
.alignSelf
= 'stretch';
13 onload
= runPaintInvalidationTest
;
21 align-items: flex-start;
24 background-color: red;
27 background-color: green;
28 border: solid thin blue;
32 <p style=
"height: 20px">Tests invalidation on align-self style change. Passes if there is no red.
</p>
35 <div style=
"height: 100px"></div>
38 <div style=
"height: 150px"></div>