blob: c469c55a015b1d985a5a2c4729028c7f041a465c [file] [log] [blame]
<!DOCTYPE HTML>
<style>
body {
margin: 0;
}
#container {
display: grid;
grid-auto-columns: 200px;
grid-auto-rows: auto;
grid-auto-flow: row;
align-content: stretch;
width: 200px;
height: 300px;
background-color: red;
}
.item {
background-color: green;
}
</style>
<p style="height: 20px">Tests invalidation on align-content style change (distribution). Passes if there is no red.</p>
<div id="container">
<div class="item">
<div style="height: 50px"></div>
</div>
<div class="item">
<div style="height: 50px"></div>
</div>
<div class="item">
<div style="height: 50px"></div>
</div>
</div>