<!doctype html> | |
<script src="../resources/text-based-repaint.js"></script> | |
<div id="scroller" style="overflow: hidden; width: 300px; height: 300px; backface-visibility: hidden; border: 1px solid black"> | |
<div style="width: 300px; height: 600px"></div> | |
<div style="width: 100px; height: 100px; background: lightgray"></div> | |
</div> | |
<script> | |
onload = runRepaintTest; | |
function repaintTest() { | |
scroller.scrollTop = 400; | |
} | |
</script> |