5 body { overflow: hidden; }
9 border:
1px solid black;
17 unicode-bidi: bidi-override;
21 text-overflow:ellipsis;
27 This tests checks that the text-overflow:ellipsis property is handled correctly
28 for bidi text.
<br><br>
30 Pass if the ellipsis do not overlap the text and the underlines for the links are
31 placed under the text and not the ellipsis.
35 <div class=
"testDiv ellipsis" dir=rtl
>
36 כשהטקסט ערוך מדי נרצה להוסיף אליפסות בסוף שורה
40 <div class=
"testDiv forcertl ellipsis" dir=rtl
>
41 Lorem ipsum dolor sit amet, consectetur adipiscing
45 <div class=
"testDiv forcertl ellipsis" dir=rtl
>
46 <a href=#
>Lorem ipsum dolor sit amet, consectetur adipiscing
</a>
50 <div class=
"testDiv ellipsis" dir=rtl
>
51 Lorem ipsum dolor sit amet, consectetur adipiscing
54 RTL link with ltr content:
55 <div class=
"testDiv ellipsis" dir=rtl
>
56 <a href=#
>Lorem ipsum dolor sit amet, consectetur adipiscing
</a>
60 <div class=
"testDiv ellipsis" dir=ltr
>
61 <a href=#
>Lorem ipsum dolor sit amet, consectetur adipiscing
</a>
65 <div class=
"testDiv ellipsis" dir=ltr
>
66 Lorem ipsum dolor sit amet, consectetur adipiscing
70 <div class=
"testDiv ellipsis" dir=ltr
>
71 כשהטקסט ערוך מדי נרצה להוסיף אליפסות בסוף שורה
74 LTR with forced rtl content:
75 <div class=
"testDiv ellipsis" dir=ltr
>
76 <span class=forcertl dir=rtl
>
77 Lorem ipsum dolor sit amet, consectetur adipiscing
81 LTR link with rtl content:
82 <div class=
"testDiv ellipsis" dir=ltr
>
84 כשהטקסט ערוך מדי נרצה להוסיף אליפסות בסוף שורה
88 LTR link with forced rtl content:
89 <div class=
"testDiv ellipsis" dir=ltr
>
91 <span class=forcertl dir=rtl
>
92 Lorem ipsum dolor sit amet, consectetur adipiscing