Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / caret-invalidation-in-overflow-scroll.html
blobbe647e0e21e9893f49bc7b7f23cda542d3cd8e0a
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <body onload="runRepaintTest()">
4 The caret to the right should be blinking before the period.
5 <input id="target" style="width: 20px;" type="text" value="This is some really long text.">
6 <script>
7 var target = document.getElementById("target");
8 target.selectionStart = 30;
9 target.selectionEnd = 30;
10 target.focus()
12 function repaintTest()
14 target.selectionStart = 29;
15 target.selectionEnd = 29;
17 </script>