Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / selection / invalidation-rect-excludes-newline-for-vertical.html
blob658123ad49a791300d2b5eca3e9376c8aed682b3
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/selection.js"></script>
5 <script>
6 // Selects two lines and expects a newline to *not* be represented as newline
7 // highlight selection is currently only enabled for horizontal text.
8 function repaintTest() {
9 selectRange(container, 0, container, 1);
11 window.onload = runRepaintTest;
12 </script>
13 <style>
14 div {
15 font-family: Ahem;
16 height: 2em;
17 -webkit-writing-mode: vertical-lr;
19 </style>
20 <div id="container">
21 xx y
22 </div>