Backed out 5 changesets (bug 1940797, bug 1940800, bug 1940819, bug 1939881, bug...
[gecko.git] / layout / reftests / text-overflow / false-marker-overlap-ref.html
blob0a6ed9d0efacc205f17c1648537280cd5b92dd30
1 <!DOCTYPE HTML>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
6 Test: false marker overlap
7 -->
8 <html><head>
9 <title>text-overflow: form control elements</title>
10 <style type="text/css">
11 @font-face {
12 font-family: DejaVuSansMono;
13 src: url(../fonts/DejaVuSansMono.woff);
15 html,body {
16 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
19 .test {
20 overflow: hidden;
21 white-space: nowrap;
22 color: black;
23 height: 6em;
24 width: 32.5em;
25 margin-bottom: 1em;
28 i {
29 display:inline-block;
30 height: 3em;
31 width: 3em;
32 border:1px solid blue;
33 text-shadow: none;
34 visibility: hidden;
36 .rtl {
37 direction:rtl;
39 .rlo {
40 unicode-bidi: bidi-override; direction: rtl;
42 .lro {
43 unicode-bidi: bidi-override; direction: ltr;
46 s {
47 float:right;
48 width:3em;
49 height:3em;
50 margin-right:-0.6em;
51 border:1px solid red;
53 .rtl s {
54 float:left;
55 margin-left:-0.6em;
56 margin-right:0;
58 .overlap {margin-left:-0.6em;}
59 .rtl .overlap {margin-right:-0.6em;margin-left:0;}
60 .n {padding-left:0.6em;}
61 .rtl .n {padding-right:0.6em;padding-left:0;}
62 </style>
64 </head><body>
66 <div class="test"><font class="overlap"><s></s>&nbsp;<m>&#x2026;</m>| | | | | | | | | | | | | | | | | | | | | | &#x2026;<i class="n"></i></font></div>
67 <div class="test"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | &#x2026;<i></i></font></div>
68 <div class="test rtl"><font class="overlap"><s></s>&nbsp;<m>&#x2026;</m>| | | | | | | | | | | | | | | | | | | | | | &#x2026;<i class="n"></i></font></div>
69 <div class="test rtl"><font><s></s>| | | | | | | | | | | | | | | | | | | | | | | &#x2026;<i></i></font></div>
72 </body></html>