<!DOCTYPE html> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
block.style.top = '80px'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> | |
<span style="outline: auto"> | |
<div style="width: 0"></div> | |
<div id="block" style="display: inline-block; position: relative; width: 100px; height: 100px; background-color: green"></div> | |
</span> |