1 <META HTTP-EQUIV=
"CONTENT-TYPE" CONTENT=
"TEXT/HTML; CHARSET=utf8">
4 body { overflow: hidden; }
8 border:
1px solid black;
16 unicode-bidi: bidi-override;
20 text-overflow:ellipsis;
26 This tests checks that the text-overflow:ellipsis property is handled correctly
27 for bidi text.
<br><br>
29 Pass if the ellipsis do not overlap the text and the underlines for the links are
30 placed under the text and not the ellipsis.
34 <div class=
"testDiv ellipsis" dir=rtl
>
35 כשהטקסט ערוך מדי נרצה להוסיף אליפסות בסוף שורה
39 <div class=
"testDiv forcertl ellipsis" dir=rtl
>
40 Lorem ipsum dolor sit amet, consectetur adipiscing
44 <div class=
"testDiv forcertl ellipsis" dir=rtl
>
45 <a href=#
>Lorem ipsum dolor sit amet, consectetur adipiscing
</a>
49 <div class=
"testDiv ellipsis" dir=rtl
>
50 Lorem ipsum dolor sit amet, consectetur adipiscing
53 RTL link with ltr content:
54 <div class=
"testDiv ellipsis" dir=rtl
>
55 <a href=#
>Lorem ipsum dolor sit amet, consectetur adipiscing
</a>
59 <div class=
"testDiv ellipsis" dir=ltr
>
60 <a href=#
>Lorem ipsum dolor sit amet, consectetur adipiscing
</a>
64 <div class=
"testDiv ellipsis" dir=ltr
>
65 Lorem ipsum dolor sit amet, consectetur adipiscing
69 <div class=
"testDiv ellipsis" dir=ltr
>
70 כשהטקסט ערוך מדי נרצה להוסיף אליפסות בסוף שורה
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