blob: 0999725e75a201d22c562dfbcef937762cc40183 [file] [log] [blame]
<!-- Based on fast/repaint/align-content-change-no-flex.html -->
<!DOCTYPE HTML>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementById('container').style.alignContent = 'flex-end';
}
onload = runPaintInvalidationTest;
</script>
<style>
.container {
width: 200px;
height: 300px;
background-color: blue;
}
.item {
background-color: green;
border: solid thin blue;
}
</style>
There should be no invalidations when align-content changes on a non-flex container.
<div id="container">
<div class="item">
<div style="height: 100px"></div>
</div>
<div class="item">
<div style="height: 150px"></div>
</div>
</div>