| <!DOCTYPE> |
| <meta charset='utf-8'> |
| <title>Emphasis Mark on Complex Text with Ellipsis</title> |
| <style> |
| div { |
| -webkit-text-emphasis: dot; |
| font-size: 36pt; |
| width: 220px; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
| </style> |
| <body> |
| <p>There should be no dots above the ellipsis.</p> |
| <div dir="rtl">هذا هو الاختبار</div> |
| <div dir="ltr">هذا هو الاختبار</div> |
| <div dir="rtl">abcd efg hijk</div> |
| <div dir="ltr">abcd efg hijk</div> |
| <div dir="rtl">كتاب ألف ليلة وليلة</div> |
| <div dir="ltr">كتاب ألف ليلة وليلة</div> |
| </body> |