| <!DOCTYPE html> |
| <meta charset=utf-8> |
| <style> |
| dl { |
| max-width: 20em; |
| margin: auto; |
| font-size: 120%; |
| white-space: nowrap; |
| } |
| dd { |
| overflow: hidden; |
| text-overflow: ellipsis; |
| text-decoration: inherit; |
| direction: rtl; |
| } |
| </style> |
| <p>crbug.com/634445: Select all text in mixed ltr-rtl in rtl flow.</p> |
| <dl> |
| <dd id="selection_with_ellipsis">Lorem לורם איפסום הוא כינוי לטקסט חסר משמעות לחלוטין </dd> |
| </dl> |
| <script src="../../resources/run-after-layout-and-paint.js"></script> |
| <script> |
| runAfterLayoutAndPaint(function() { |
| getSelection().setBaseAndExtent(selection_with_ellipsis.firstChild, 0, selection_with_ellipsis.firstChild, 53); |
| }, true); |
| </script> |