layout/reftests/text-decoration/underline-block-propagation-2-standards-ref.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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>
michael@0 12 <span style="text-decoration:underline">This text should be underlined.</span><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 style="text-decoration:underline">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>
michael@0 20 <table>
michael@0 21 <tr>
michael@0 22 <td>
michael@0 23 <span style="text-decoration:underline">
michael@0 24 <span style="text-decoration:overline">
michael@0 25 <span style="text-decoration:line-through">
michael@0 26 underlined, overlined, and struck out
michael@0 27 </span></span></span>
michael@0 28 </td>
michael@0 29 </tr>
michael@0 30 </table>
michael@0 31 </div>
michael@0 32 <!-- t-d on a float itself should apply -->
michael@0 33 <div>
michael@0 34 <p style="text-decoration:underline">This text should be underlined.</p>
michael@0 35 <p style="float:left; text-decoration:overline"
michael@0 36 >This text should be overlined (only).</p>
michael@0 37 </div>
michael@0 38 </body>
michael@0 39 </html>

mercurial