summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/border-radius-without-border.html
blob: 05fb66db676378bd9955d0684698f687694f0b28 (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
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
    document.getElementById('target1').style.width = '200px';
    document.getElementById('target2').style.height = '200px';
}
window.onload = runRepaintTest;
</script>
<style>
body {
    margin: 0;
}
div {
    width: 100px;
    height: 100px;
    background-color: green;
    border-radius: 10px 15px 20px 25px;
    position: absolute;
}
</style>
<div id="target1" style="top: 0px"></div>
<div id="target2" style="top: 200px"></div>