layout/reftests/text-overflow/visibility-hidden-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: visibility:hidden</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
michael@0 19 overflow: hidden;
michael@0 20 white-space: nowrap;
michael@0 21 background:lime;
michael@0 22 color: black;
michael@0 23 width: 50%;
michael@0 24 }
michael@0 25
michael@0 26 .rtl {
michael@0 27 direction:rtl;
michael@0 28 }
michael@0 29 .rlo {
michael@0 30 unicode-bidi: bidi-override; direction: rtl;
michael@0 31 }
michael@0 32 u {
michael@0 33 visibility:hidden;
michael@0 34 padding-left: 3em;
michael@0 35 background: cyan;
michael@0 36 }
michael@0 37 .rtl u {padding-right: 3em; padding-left:0;}
michael@0 38 s {
michael@0 39 visibility:visible;
michael@0 40 }
michael@0 41
michael@0 42 .t1 {width:10em;}
michael@0 43 .t2 {width:14em;}
michael@0 44 .t3 {width:13.5em;}
michael@0 45 .t3 u { padding-right:1em; }
michael@0 46 .t3.rtl u {padding-left:1em; padding-right: 3em; }
michael@0 47 .t4 {width:12.5em;}
michael@0 48 </style>
michael@0 49
michael@0 50 </head><body>
michael@0 51
michael@0 52 <div class="test t2">
michael@0 53 CSS is awesome<u></u><br>
michael@0 54 CSS is awesome<u>&nbsp;<s>x</s>&nbsp;</u>
michael@0 55 </div>
michael@0 56 <div class="test t1">CSS is awesome<u></u><br></div>
michael@0 57 <div class="test t2">CSS is awesome<u>&nbsp;<s>x</s>&nbsp;</u></div>
michael@0 58 <div class="test t3">CSS is awesome<u>&nbsp;<s>x</s></u></div>
michael@0 59 <div class="test t4">CSS is awesome<m>&#x2026;</m><u>&nbsp;<s></s></u></div>
michael@0 60
michael@0 61 <div class="rtl">
michael@0 62 <div class="test rtl rlo t2">
michael@0 63 CSS is awesome<u></u><br>
michael@0 64 CSS is awesome<u>&nbsp;<s>x</s></u>
michael@0 65 </div>
michael@0 66 <div class="test rtl rlo t1">CSS is awesome<u></u><br></div>
michael@0 67 <div class="test rtl rlo t2">CSS is awesome<u>&nbsp;<s>x</s>&nbsp;</u></div>
michael@0 68 <div class="test rtl rlo t3">CSS is awesome<u>&nbsp;<s>x</s></u></div>
michael@0 69 <div class="test rtl rlo t4">CSS is awesome<m>&#x2026;</m><u>&nbsp;<s></s></u></div>
michael@0 70 </div>
michael@0 71
michael@0 72 </body></html>

mercurial