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

Side by Side Diff: LayoutTests/fast/text/selection-multiple-runs.html

Issue 627273003: Carry advances between runs in HarfBuzzShaper.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have Linux baseline be generated by the bot Created 6 years, 2 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/harfbuzz/HarfBuzzShaper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <title>Test selection across multiple shaper runs</title>
6 <style>
7 body { font-size: 30px; }
8 ::selection { color: red; background: rgba(120,120,120,120); }
9 </style>
10 </head>
11 <body>
12 <p>The selection should be painted correctly from and including 猫 until and including C, then from right to left for العر. </p>
13 <div>吾輩は猫で मानक हिन्दीABCالعربية</div>
14 <div id="multiruns">吾輩は猫で मानक हिन्दीABCالعربية</div>
15 <script>
16 var node = document.getElementById('multiruns').firstChild;
17 var range = document.createRange();
18 range.setStart(node, 3);
19 range.setEnd(node, node.length - 3);
20 window.getSelection().addRange(range);
21 </script>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/fonts/harfbuzz/HarfBuzzShaper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698