layout/reftests/text-decoration/underline-block-propagation-2-standards.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.

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

mercurial