blob: 17b3410fba30a1f7616b972fcb30ba446b3e712a [file] [log] [blame]
<!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>