Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / international / repaint-glyph-bounds-expected.html
blobf12a9b279fde6eaad243dce4fa4784229c70c701
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <style>
6 #test {
7 font-family: arial;
8 font-size: 300%;
10 </style>
11 </head>
12 <body>
13 <section id="test">
14 بِِِِِِِِِِِِِِِِِِِِِِِِِِِِِِِا<br><span>test 1</span><br><span>test 2</span>
15 </section>
16 <section>
17 <p>
18 Tests that the glyph overflow rect, used for repaint, is
19 correctly computed. After selecting and unselecting either
20 <code>test</code> line above the harakat from the first line are
21 correctly repainted.
22 </p>
23 </section>
24 <script>
25 var testElements = document.getElementById('test').
26 getElementsByTagName('span');
27 var text = testElements[1].firstChild;
28 window.getSelection().setBaseAndExtent(text, 3, text, text.length);
29 </script>
30 </body>
31 </html>