Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / textarea-resize-property-change.html
blobb596ce2a1b0fed5706332354ae1630695fa8ef63
1 <!-- Based on fast/repaint/textarea-resize-property-change.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "LayoutTextControl (positioned) TEXTAREA id='textarea'",
7 ];
8 function paintInvalidationTest() {
9 document.getElementById('textarea').style.resize = 'auto';
11 onload = runPaintInvalidationTest;
12 </script>
13 Tests paint invalidation when a textarea's resize property changed.
14 Passes if the resize handle is repainted correctly.
15 <textarea id="textarea" style="
16 position: absolute;
17 top: 50px;
18 left: 0;
19 width: 100px;
20 height: 100px;
21 resize: none">
22 </textarea>