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

mercurial