blob: 13c7198e0fac10a06d66cc5a70c54b95b9d5dcc4 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
body {
height: 1000px;
margin: 0;
}
#test {
width: 100px;
height: 100px;
background-color: green;
position: absolute;
top: 110px;
left: 60px;
}
</style>
<script type="text/javascript">
function setupTest() {
window.scrollBy(0, 50);
};
window.addEventListener('load', setupTest, false);
</script>
</head>
<body>
<!--
https://bugs.webkit.org/show_bug.cgi?id=36686
Test repainting of a fixed-position element with a transform.
The box should be entirely green.
-->
<div id="test"></div>
</body>
</html>