Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / selection / invalidation-rect-with-br-includes-newline.html
blobff1c1f9b38af309d5d7b466c77323f9002a23ede
1 <!DOCTYPE html>
2 <script src="../../resources/ahem.js"></script>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <script src="../../resources/run-after-layout-and-paint.js"></script>
5 <script src="resources/selection.js"></script>
6 <script>
7 // Selects two lines with top one ending in a line break and expects a newline
8 // to be represented.
9 function repaintTest() {
10 selectRange(container, 0, container, 3);
12 window.onload = runRepaintTest;
13 </script>
14 <style>
15 div {
16 font-family: Ahem;
18 </style>
19 <div id="container">
20 a<br>b
21 </div>