layout/reftests/text-overflow/quirks-line-height.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 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/licenses/publicdomain/
michael@0 4
michael@0 5 Test: Quirks mode line height should not be affected by marker
michael@0 6 -->
michael@0 7 <html><head>
michael@0 8 <title>text-overflow: Quirks mode line height</title>
michael@0 9 <style type="text/css">
michael@0 10 @font-face {
michael@0 11 font-family: DejaVuSansMono;
michael@0 12 src: url(../fonts/DejaVuSansMono.woff);
michael@0 13 }
michael@0 14 html,body {
michael@0 15 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
michael@0 16 }
michael@0 17
michael@0 18 .test {
michael@0 19 overflow:hidden;
michael@0 20 text-overflow:ellipsis;
michael@0 21 float:left;
michael@0 22 white-space:pre;
michael@0 23 margin-left:1em;
michael@0 24 margin-bottom:1em;
michael@0 25 font-size:24px;
michael@0 26 color:blue;
michael@0 27 border:1px solid black;
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 </style>
michael@0 48
michael@0 49 </head><body>
michael@0 50
michael@0 51 <div class="test t1"><span>0123456|890123456789</span></div>
michael@0 52 <div class="test rtl rlo t1"><span>0123456|89012345</span></div>
michael@0 53
michael@0 54
michael@0 55 </body>
michael@0 56 </html>

mercurial