<!DOCTYPE html> | |
<body onload="scrollBy(0, 200)" style="height: 2000px"> | |
Tests invalidation of fixed element when scrolled in a page with empty root layer. Passes if there is no red. | |
<div style=" | |
position: absolute; | |
top: 250px; | |
left: 0; | |
width: 100px; | |
height: 100px; | |
background: green"> | |
</div> | |
</body> |