<!DOCTYPE html> | |
<div style="will-change: transform"></div> | |
<div style="columns: 2"> | |
<div style="position: relative"> | |
<div id="target" style="column-span: all; width: 100px; height: 100px; background-color: red"></div> | |
</div> | |
</div> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
target.style.backgroundColor = 'green'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> | |