layout/reftests/text-decoration/underline-block-propagation-2-quirks-ref.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><head>
michael@0 2 <title>More tests of propagation of text-decoration</title>
michael@0 3 </head>
michael@0 4 <body>
michael@0 5 <!-- t-d should not propagate to the content of a form control -->
michael@0 6 <form>
michael@0 7 <span style="text-decoration:underline">This text should be underlined.</span><br>
michael@0 8 <textarea rows="2" cols="40">This text should not be underlined.</textarea
michael@0 9 ><textarea rows="2" cols="40" style="text-decoration:line-through"
michael@0 10 >This text should be struck out.</textarea>
michael@0 11 <p style="text-decoration:underline">This text should also be underlined.</p>
michael@0 12 </form>
michael@0 13 <!-- t-d should propagate from parent elements to table-cells -->
michael@0 14 <div>
michael@0 15 <table>
michael@0 16 <tr>
michael@0 17 <td>
michael@0 18 <span style="text-decoration:underline">
michael@0 19 <span style="text-decoration:overline">
michael@0 20 <span style="text-decoration:line-through">
michael@0 21 underlined, overlined, and struck out
michael@0 22 </span></span></span>
michael@0 23 </td>
michael@0 24 </tr>
michael@0 25 </table>
michael@0 26 </div>
michael@0 27 <!-- t-d on a float itself should apply -->
michael@0 28 <div>
michael@0 29 <p style="text-decoration:underline">This text should be underlined.</p>
michael@0 30 <p style="float:left; text-decoration:overline"
michael@0 31 >This text should be overlined (only).</p>
michael@0 32 </div>
michael@0 33 </body>
michael@0 34 </html>

mercurial