blob: 8b6a5648e2d165dbe96e8061b486bafc98e207c9 [file] [log] [blame]
<!-- Based on fast/repaint/absolute-position-changed.html -->
<link rel="stylesheet" href="../../../fast/repaint/resources/default.css">
::-webkit-scrollbar {
width: 0px;
height: 0px;
html {
overflow: scroll;
<script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function() {
window.scrollTo(0, 500);
function paintInvalidationTest()
document.getElementById('absoluteDiv') = '700px';
<body style="height:2000px;">
<!-- You should see 1 green rectangle in the output and no red. -->
<div style="top: 200px; left: 100px;" class="fixed red"></div>
<div id="absoluteDiv" style="top: 500px; left:100px;" class="absolute green"></div>