blob: 374e6cdfcddac10a6b3ee354841ab2ed5b07cd0a [file] [log] [blame]
<!-- Based on fast/repaint/textarea-resize-property-change.html -->
<!DOCTYPE html>
<script src="resources/paint-invalidation-test.js"></script>
<script>
function paintInvalidationTest() {
document.getElementById('textarea').style.resize = 'auto';
}
onload = runPaintInvalidationTest;
</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>