Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / selection / invalidation-rect-excludes-newline-for-rtl.html
blob753ace4d6c8d7a773ef8906fc399c4feafac9196
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 LTR text.
8 function repaintTest() {
9 selectRange(container, 0, container, 1);
11 window.onload = runRepaintTest;
12 </script>
13 <style>
14 div {
15 direction: rtl;
16 font-family: Ahem;
17 unicode-bidi: bidi-override;
18 width: 2em;
20 </style>
21 <div id="container">
22 xx y
23 </div>