blob: 66bdd221ea419ada0eda468023b7185660d522d8 [file] [log] [blame]
<!DOCTYPE HTML>
<style>
body {
margin: 0;
}
#container {
display: grid;
grid: 100px 100px / 300px;
width: 200px;
height: 300px;
background-color: red;
}
.item1 {
grid-row: 1;
grid-column: 1;
align-self: stretch;
background-color: green;
}
.item2 {
grid-row: 1;
grid-column: 2;
align-self: stretch;
background-color: green;
}
</style>
<p style="height: 20px">Tests invalidation on align-self style change. Passes if there is no red.</p>
<div id="container">
<div class="item1">
<div style="height: 50px"></div>
</div>
<div class="item2">
<div style="height: 50px"></div>
</div>
</div>