OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <style> | 3 <style> |
4 dl { | 4 dl { |
5 max-width: 20em; | 5 max-width: 20em; |
6 margin: auto; | 6 margin: auto; |
7 font-size: 120%; | 7 font-size: 120%; |
8 white-space: nowrap; | 8 white-space: nowrap; |
9 } | 9 } |
10 dd { | 10 dd { |
11 overflow: hidden; | 11 overflow: hidden; |
12 text-overflow: ellipsis; | 12 text-overflow: ellipsis; |
13 text-decoration: inherit; | 13 text-decoration: inherit; |
14 } | 14 } |
15 </style> | 15 </style> |
16 <p>crbug.com/634445: Select all text in mixed ltr-rtl in ltr flow.</p> | 16 <p>crbug.com/634445: Select all text in mixed ltr-rtl in ltr flow.</p> |
17 <dl> | 17 <dl> |
18 <dd id="selection_with_ellipsis">Lorem לורם איפסום הוא כינוי לטקסט חסר משמעו
ת לחלוטין </dd> | 18 <dd id="selection_with_ellipsis">Lorem לורם איפסום הוא כינוי לטקסט חסר משמעו
ת לחלוטין </dd> |
19 </dl> | 19 </dl> |
20 <script src="../../resources/run-after-layout-and-paint.js"></script> | 20 <script src="../../resources/run-after-layout-and-paint.js"></script> |
21 <script> | 21 <script> |
22 runAfterLayoutAndPaint(function() { | 22 runAfterLayoutAndPaint(function() { |
23 getSelection().setBaseAndExtent(selection_with_ellipsis.firstChild, 0, s
election_with_ellipsis.firstChild, 155); | 23 getSelection().setBaseAndExtent(selection_with_ellipsis.firstChild, 0, s
election_with_ellipsis.firstChild, 53); |
24 }, true); | 24 }, true); |
25 </script> | 25 </script> |
OLD | NEW |