summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/inline-reflow.html
blob: dda2c8fd54bd0244916cb05c057fdf968522e1fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
    document.getElementById('div1').style.width = '300px';
    document.getElementById('div2').style.width = '300px';
}
window.onload = runRepaintTest;
</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>