<!DOCTYPE html> | |
<script src="../resources/text-based-repaint.js"></script> | |
<script> | |
function repaintTest() { | |
document.getElementById('textarea').style.resize = 'auto'; | |
} | |
onload = runRepaintAndPixelTest; | |
</script> | |
Tests paint invalidation when a textarea's resize property changed. | |
Passes if the resize handle is repainted correctly. | |
<textarea id="textarea" style=" | |
position: absolute; | |
top: 50px; | |
left: 0; | |
width: 100px; | |
height: 100px; | |
resize: none"> | |
</textarea> |