Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: LayoutTests/fast/text/international/repaint-glyph-bounds-expected.html

Issue 205553003: Invalidation not taking glyph bounds into account on HarfBuzz path (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <style>
6 #test {
7 font-family: arial;
8 font-size: 300%;
9 }
10 </style>
11 </head>
12 <body>
13 <section id="test">
14 بِِِِِِِِِِِِِِِِِِِِِِِِِِِِِِِا<br><span>test 1</span><br><span>te st 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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/international/repaint-glyph-bounds.html ('k') | Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698