blob: c87102cd7382b27b62877d0ad6cd6e54ae4fe5f7 [file] [log] [blame]
<!-- Based on fast/repaint/inline-reflow.html -->
<!DOCTYPE HTML>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest()
{
document.getElementById('div1').style.width = '300px';
document.getElementById('div2').style.width = '300px';
}
window.onload = runPaintInvalidationTest;
</script>
<style>
body {
margin: 0;
}
.container {
font: 20px Ahem;
width: 200px;
position: absolute;
}
</style>
<div class="container" id="div1">
A A A A A AA AA AA AA AAA AAA AAA AAAA AAAA AAAAA AAAAA AAAAAA AAAAAAA AAAAAA AAAAA AAAAA AAAA AAAA AAA AAA AAA AA AA AA AA A A A A A
</div>
<div class="container" id="div2" style="top: 300px">
A A A A A
</div>