layout/reftests/text-decoration/decoration-css21.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 <html>
michael@0 2 <head>
michael@0 3 <style>
michael@0 4 .sup {vertical-align: super;}
michael@0 5 .transparent {color: transparent;}
michael@0 6 .alllines {text-decoration:line-through overline underline; color: purple;}
michael@0 7 .highRel {position: relative; top: -4em;}
michael@0 8 .lowRel {position: relative; top: 4em;}
michael@0 9 .lowVert {vertical-align: -4em;}
michael@0 10 .highVert {vertical-align: 4em;}
michael@0 11 </style>
michael@0 12 </head>
michael@0 13 <body>
michael@0 14 <p>
michael@0 15 <span style="text-decoration: underline">Underlined <span class="sup transparent">still underlined</span></span>
michael@0 16 <span style="text-decoration: underline">Underlined <span class="sup">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span>
michael@0 17 </p>
michael@0 18 <p>
michael@0 19 <span class="alllines">
michael@0 20 Before<span class="highVert transparent">high</span><span class="lowVert transparent">low</span>After
michael@0 21 </span>
michael@0 22 </p>
michael@0 23 <p>
michael@0 24 <span class="alllines">
michael@0 25 Before<span class="highRel">high</span><span class="lowRel">low</span>After</span>
michael@0 26 </span>
michael@0 27 </p>
michael@0 28 </body>
michael@0 29 </html>

mercurial