blob: 87f4deb5c1ff705bea43ce188413afe646ae3f48 [file] [log] [blame]
<!doctype HTML>
<style>
#parent {
contain: paint;
width: 150px;
height: 150px;
background: lightblue;
}
.child {
width: 20px;
height: 20px;
background: lightgreen;
}
</style>
<div id="log">PASS</div>
<div id="parent">
<div class="child">1</div>
<div class="child">2</div>
<div class="child">3</div>
<div class="child">4</div>
<div class="child">5</div>
<div class="child">6</div>
<div class="child">7</div>
</div>