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