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