1 <!-- Based on fast/repaint/align-content-distribution-change-grid.html -->
3 <script src=
"resources/paint-invalidation-test.js"></script>
5 window
.expectedPaintInvalidationObjects
= [
6 "LayoutGrid DIV id='container'",
7 "LayoutBlockFlow DIV class='item'",
9 "LayoutBlockFlow DIV class='item'",
10 "LayoutBlockFlow DIV",
11 "LayoutBlockFlow DIV class='item'",
12 "LayoutBlockFlow DIV",
14 function paintInvalidationTest() {
15 document
.getElementById('container').style
.alignContent
= 'stretch';
17 onload
= runPaintInvalidationTest
;
25 grid-auto-columns:
200px;
28 align-content: space-around;
31 background-color: red;
34 background-color: green;
37 <p style=
"height: 20px">Tests invalidation on align-content style change (distribution). Passes if there is no red.
</p>
40 <div style=
"height: 50px"></div>
43 <div style=
"height: 50px"></div>
46 <div style=
"height: 50px"></div>