blob: d9f4dce24e38ae0a2269d926c904e37de0688151 [file] [log] [blame]
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
document.getElementById('textarea').style.resize = 'auto';
}
onload = runRepaintTest;
</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>