1 <!-- Based on fast/repaint/align-content-change.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutBlockFlow DIV class='item'",
8 "LayoutBlockFlow DIV class='item'",
11 function paintInvalidationTest() {
12 document
.getElementById('container').style
.alignContent
= 'stretch';
14 onload
= runPaintInvalidationTest
;
22 align-content: space-around;
26 background-color: red;
29 background-color: green;
30 border: solid thin blue;
34 <p style=
"height: 20px">Tests invalidation on align-content style change. Passes if there is no red.
</p>
37 <div style=
"height: 50px"></div>
40 <div style=
"height: 50px"></div>