layout/reftests/text-overflow/standards-line-height-ref.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/licenses/publicdomain/
michael@0 5 -->
michael@0 6 <html><head>
michael@0 7 <title>text-overflow: Standards mode line height</title>
michael@0 8 <style type="text/css">
michael@0 9 @font-face {
michael@0 10 font-family: DejaVuSansMono;
michael@0 11 src: url(../fonts/DejaVuSansMono.woff);
michael@0 12 }
michael@0 13 html,body {
michael@0 14 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
michael@0 15 }
michael@0 16
michael@0 17 .test {
michael@0 18 overflow:hidden;
michael@0 19
michael@0 20 float:left;
michael@0 21 white-space:pre;
michael@0 22 margin-left:1em;
michael@0 23 margin-bottom:1em;
michael@0 24 font-size:24px;
michael@0 25 color:blue;
michael@0 26 border:1px solid black;
michael@0 27 position:relative;
michael@0 28 }
michael@0 29 span {
michael@0 30 font-size:16px;
michael@0 31 color:black;
michael@0 32 }
michael@0 33 .rlo {
michael@0 34 unicode-bidi: bidi-override; direction:rtl;
michael@0 35 }
michael@0 36 .lro {
michael@0 37 unicode-bidi: bidi-override;
michael@0 38 }
michael@0 39 .rtl {
michael@0 40 direction:rtl;
michael@0 41 }
michael@0 42 .ltr {
michael@0 43 direction:ltr;
michael@0 44 }
michael@0 45 .t1 { width:4em; }
michael@0 46
michael@0 47 m { font-size:24px; color:blue; line-height:8px; }
michael@0 48
michael@0 49 </style>
michael@0 50
michael@0 51 </head><body>
michael@0 52
michael@0 53 <div class="test t1"><span>0123456|</span><m>&#x2026;</m></div>
michael@0 54 <div class="test rtl rlo t1"><span>0123456|</span><m>&#x2026;</m></div>
michael@0 55
michael@0 56
michael@0 57 </body>
michael@0 58 </html>

mercurial