<!doctype HTML> | |
<script src="../resources/text-based-repaint.js"></script> | |
<div class="zoom-div" id="zoom" style="transform: scale(0.9); left: 35.5px; height: 45.5px"> | |
<div id="target" style="position: absolute; left: 41.5px; top: 67.3px; width: 100px; height: 100px; background: lightgray"> | |
</div> | |
</div> | |
<script> | |
onload = runRepaintAndPixelTest; | |
function repaintTest() { | |
target.style.left = '42.1px'; | |
target.style.top = '67.3px'; | |
} | |
</script> |