Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / whitespace / select-new-line-with-line-break-normal.html
blobe385223932c0350d0e0bdc1c989c204d9c7f5f11
1 <!DOCTYPE html>
2 <title>Tests that we paint a selection when a newline is selected.</title>
3 <div contentEditable style="width: 100px; height: 100px; border: 5px solid salmon; -webkit-line-break: normal">
4 fooooooooo baaaaaaaar
5 </div>
6 <script>
7 var text = document.querySelector('div').firstChild
8 window.getSelection().setBaseAndExtent(text, 11, text, 12);
9 // We don't care about the text dump. This is just testing painting of the selection.
10 if (window.testRunner)
11 testRunner.dumpAsTextWithPixelResults();
12 </script>