<!doctype HTML> | |
<script src="../resources/text-based-repaint.js"></script> | |
<div id="target" style="position: absolute; width: 300px; height: 300px; -webkit-mask: linear-gradient(red, red)"> | |
<div style="isolation: isolate; width: 500px; height: 500px; background: lightblue"> | |
<div style="positiion: relative"></div> | |
</div> | |
</div> | |
<script> | |
function repaintTest() { | |
target.style.height = "200px"; | |
} | |
onload = runRepaintTest; | |
</script> |