<!DOCTYPE html> | |
<div id="outline" style="outline: auto; width: 100px; height: 100px"> | |
<div id="child" style="width: 50px; height: 50px; background-color: red"></div> | |
</div> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
child.style.backgroundColor = 'green'; | |
} | |
onload = runRepaintTest; | |
</script> |