blob: 02cf75bc9021a56b50dd41b44a10f9d5f3229aa4 [file] [log] [blame]
<!DOCTYPE HTML>
<style>
body {
margin: 0;
}
#container {
position: relative;
top: 40px;
width: 200px;
height: 400px;
}
#test {
position: fixed;
background-color: green;
width: 100px;
height: 100px;
margin-top: 20px;
}
</style>
<div id="container">
<div id="test"></div>
</div>
Tests the repainting of fixed element when margin-top changes.