<!DOCTYPE html> | |
<div id="target" style="width: 100px; height: 100px; background: lightblue"></div> | |
<script src="resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
document.getElementById('target').style.opacity = 0.5; | |
} | |
runRepaintAndPixelTest(); | |
</script> |