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