layout/reftests/text-overflow/standards-decorations.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 Test: Standards mode text-decorations
michael@0 7 -->
michael@0 8 <html><head>
michael@0 9 <title>text-overflow: Standards mode text-decorations</title>
michael@0 10 <style type="text/css">
michael@0 11 @font-face {
michael@0 12 font-family: Ahem;
michael@0 13 src: url(../fonts/Ahem.ttf);
michael@0 14 }
michael@0 15 @font-face {
michael@0 16 font-family: DejaVuSansMono;
michael@0 17 src: url(../fonts/DejaVuSansMono.woff);
michael@0 18 }
michael@0 19 html,body {
michael@0 20 color:black; background-color:white; font-size:16px; padding:0; margin:0; font-family:DejaVuSansMono;
michael@0 21 }
michael@0 22
michael@0 23 .test {
michael@0 24 overflow:hidden;
michael@0 25 text-overflow:ellipsis;
michael@0 26 float:left;
michael@0 27 height:2em;
michael@0 28 white-space:pre;
michael@0 29 margin-left:1em;
michael@0 30 margin-bottom:1em;
michael@0 31 font-size:20px;
michael@0 32 color:blue;
michael@0 33 }
michael@0 34 span {
michael@0 35 text-decoration: line-through;
michael@0 36 font-size:16px;
michael@0 37 color:black;
michael@0 38 }
michael@0 39 .t1 span {
michael@0 40 }
michael@0 41 .rlo {
michael@0 42 unicode-bidi: bidi-override; direction:rtl;
michael@0 43 }
michael@0 44 .lro {
michael@0 45 unicode-bidi: bidi-override;
michael@0 46 }
michael@0 47 .rtl {
michael@0 48 direction:rtl;
michael@0 49 }
michael@0 50 .ltr {
michael@0 51 direction:ltr;
michael@0 52 }
michael@0 53 .t1 { width:7.3em;}
michael@0 54 .t2 { width:20px;}
michael@0 55 .t3 { width:22px;}
michael@0 56 .t4 { width:1px; font-family:Ahem; }
michael@0 57 .t3 span {margin-left:14px; }
michael@0 58
michael@0 59 m { font-size:20px; }
michael@0 60
michael@0 61 </style>
michael@0 62
michael@0 63 </head><body>
michael@0 64
michael@0 65 <div class="test t1"><span>0123&nbsp;567890123456789</span></div>
michael@0 66 <div class="test rtl t1"><span>0321&nbsp;56789012345</span></div>
michael@0 67 <div class="test t2" style="color:black"><span>xxxx</span></div>
michael@0 68 <div class="test t3"><span>x</span></div>
michael@0 69 <div class="test t4"><span>x</span></div>
michael@0 70
michael@0 71
michael@0 72 </body>
michael@0 73 </html>

mercurial