layout/reftests/text-decoration/decoration-css21.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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