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

branch
TOR_BUG_3246
changeset 6
8bccb770b82d
equal deleted inserted replaced
-1:000000000000 0:c5e2847373cf
1 <html><head>
2 <title>More tests of propagation of text-decoration</title>
3 </head>
4 <body>
5 <!-- t-d should not propagate to the content of a form control -->
6 <form style="text-decoration:underline">
7 This text should be underlined.<br>
8 <textarea rows="2" cols="40">This text should not be underlined.</textarea
9 ><textarea rows="2" cols="40" style="text-decoration:line-through"
10 >This text should be struck out.</textarea>
11 <p>This text should also be underlined.</p>
12 </form>
13 <!-- t-d should propagate from parent elements to table-cells -->
14 <div style="text-decoration:underline">
15 <table style="text-decoration:overline">
16 <tr style="text-decoration:line-through">
17 <td>underlined, overlined, and struck out</td>
18 </tr>
19 </table>
20 </div>
21 <!-- t-d on a float itself should apply -->
22 <div style="text-decoration:underline">
23 <p>This text should be underlined.</p>
24 <p style="float:left; text-decoration:overline"
25 >This text should be overlined (only).</p>
26 </div>
27 </body>
28 </html>

mercurial