3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
6 Test: text-overflow:<string>
9 <title>text-overflow: text-overflow:
<string
></title>
10 <style type=
"text/css">
12 font-family: DejaVuSansMono
;
13 src: url
(../fonts/DejaVuSansMono.woff);
16 color:black
; background-color:white
; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono
;
35 unicode-bidi: bidi-override
; direction:rtl
;
38 unicode-bidi: bidi-override
;
47 .t1 { text-overflow:"" ""; }
48 .t2 { text-overflow:"Hello World" "Hello World"; }
49 .t3 { text-overflow:"X" "X"; }
56 <!-- Empty marker clips text -->
57 <div class=
"test t1"><span>xx
</span></div>
58 <div class=
"test rtl t1"><span>xx
</span></div>
59 <!-- big marker clips all text -->
60 <div class=
"test t2"><span>xx
</span></div>
61 <div class=
"test rtl t2"><span>xx
</span></div>
63 <!-- start marker that doesn't fit -->
64 <div class=
"test t2" style=
"width:3ch"><span>xx
</span></div>
65 <div class=
"test rtl t2" style=
"width:3ch"><span>xx
</span></div>
67 <!-- start + end marker, nothing to align to -->
68 <div class=
"test t3"><s></s></div>
69 <div class=
"test rtl t3"><s></s></div>