Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / selection-multiple-runs.html
blob7546b405de56edba681308f1aa5893806e72e07a
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>