<!DOCTYPE html> | |
<style> | |
body { | |
margin: 0; | |
background: linear-gradient(to bottom, blue, cyan); | |
} | |
</style> | |
<div id="div" style="height: 50px"></div> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
div.style.height = '200px'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> |