3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
6 <html class=
"reftest-wait"><head>
7 <title>text-overflow: simple mixed-bidi cases
</title>
8 <style type=
"text/css">
10 font-family: DejaVuSansMono
;
11 src: url
(../fonts/DejaVuSansMono.woff);
14 color:black
; background-color:white
; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono
;
32 unicode-bidi: bidi-override
; direction: rtl
;
35 unicode-bidi: bidi-override
; direction: ltr
;
59 function scrolldivs() {
60 var divs
= document
.getElementsByTagName('div');
61 for (i
= 0; i
< divs
.length
; ++i
) {
62 if (window
.getComputedStyle(divs
[i
]).direction
== 'ltr')
63 divs
[i
].scrollLeft
= 8;
65 divs
[i
].scrollLeft
= -8;
67 document
.documentElement
.removeAttribute('class');
71 </head><body onload=
"scrolldivs()">
75 <div class=
"test"><ll>…</ll><r>…</r> xxB
<span class=
"rlo">… </span> xxxx
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span></div>
77 <div class=
"test"><ll>…</ll><r>…</r><span class=
"rlo"> Wor
</span> B
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span></div>
79 <div class=
"test"><ll>…</ll><r>…</r><span class=
"rlo"> Wor
</span></div>
82 <div class=
"test rtl"><rr>…</rr><l>…</l>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo"> llo
</span></div>
84 <div class=
"test rtl"><rr>…</rr><l>…</l><span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo"> llo
</span></div>
86 <div class=
"test rtl"><rr>…</rr><l>…</l><span class=
"rlo"> llo
</span></div>
89 <div class=
"test rtl hidden">AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo"> …lloWo
… </span></div>
91 <div class=
"test rtl hidden"><span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo"> …lloWo
… </span></div>
93 <div class=
"test rtl hidden"><span class=
"rlo"> …lloWo
… </span></div>
96 <div class=
"test hidden"> …xxxB
<span class=
"rlo">Hello
…d
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span></div>
98 <div class=
"test hidden"><span class=
"rlo"> …loWor
… </span> xxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span>AxxxxB
<span class=
"rlo">HelloWorld
</span></div>
100 <div class=
"test hidden"><span class=
"rlo"> …loWor
… </span></div>
102 <span style=
"position:absolute; top:0; left:6em; height:6em; overflow:hidden;">
103 <div class=
"test rtl"><br><br><rr>…</rr><l>…</l><span class=
"rlo"> lloW
HelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorld
</span></div>