Backed out changeset 70210dd7915c (bug 1926722) for causing LeakSanitizer failures...
[gecko.git] / layout / reftests / text-overflow / standards-line-height-ref.html
blobffab81e821717921a517a692730f1416dc5d94d2
1 <!DOCTYPE HTML>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
5 -->
6 <html><head>
7 <title>text-overflow: Standards mode line height</title>
8 <style type="text/css">
9 @font-face {
10 font-family: DejaVuSansMono;
11 src: url(../fonts/DejaVuSansMono.woff);
13 html,body {
14 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
17 .test {
18 overflow:hidden;
20 float:left;
21 white-space:pre;
22 margin-left:1em;
23 margin-bottom:1em;
24 font-size:24px;
25 color:blue;
26 border:1px solid black;
27 position:relative;
29 span {
30 font-size:16px;
31 color:black;
33 .rlo {
34 unicode-bidi: bidi-override; direction:rtl;
36 .lro {
37 unicode-bidi: bidi-override;
39 .rtl {
40 direction:rtl;
42 .ltr {
43 direction:ltr;
45 .t1 { width:4em; }
47 m { font-size:24px; color:blue; line-height:8px; }
49 </style>
51 </head><body>
53 <div class="test t1"><span>0123456|</span><m>&#x2026;</m></div>
54 <div class="test rtl rlo t1"><span>0123456|</span><m>&#x2026;</m></div>
57 </body>
58 </html>