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

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

Issue 1751973003: Modernize Japanese system font fallback list for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html lang="ja">
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 <title>Test selection across multiple shaper runs</title> 5 <title>Test selection across multiple shaper runs</title>
6 <style> 6 <style>
7 body { font-size: 30px; } 7 body { font-size: 30px; }
8 ::selection { color: red; background: rgba(120,120,120,120); } 8 ::selection { color: red; background: rgba(120,120,120,120); }
9 </style> 9 </style>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>The selection should be painted correctly from and including 猫 until and including C, then from right to left for العر. </p> 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> 13 <div>吾輩は猫で मानक हिन्दीABCالعربية</div>
14 <div id="multiruns">吾輩は猫で मानक हिन्दीABCالعربية</div> 14 <div id="multiruns">吾輩は猫で मानक हिन्दीABCالعربية</div>
15 <script> 15 <script>
16 var node = document.getElementById('multiruns').firstChild; 16 var node = document.getElementById('multiruns').firstChild;
17 var range = document.createRange(); 17 var range = document.createRange();
18 range.setStart(node, 3); 18 range.setStart(node, 3);
19 range.setEnd(node, node.length - 3); 19 range.setEnd(node, node.length - 3);
20 window.getSelection().addRange(range); 20 window.getSelection().addRange(range);
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698