<!DOCTYPE html> | |
<div id="target" style="overflow: scroll; outline: 10px solid red; width: 200px; height: 200px; | |
background-color: blue; background-attachment: local; will-change: transform"> | |
<div style="height: 2000px"></div> | |
</div> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
target.style.outlineColor = 'green'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> |