1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text-decoration/underline-block-propagation-2-quirks.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +<html><head> 1.5 +<title>More tests of propagation of text-decoration</title> 1.6 +</head> 1.7 +<body> 1.8 +<!-- t-d should not propagate to the content of a form control --> 1.9 +<form style="text-decoration:underline"> 1.10 +This text should be underlined.<br> 1.11 +<textarea rows="2" cols="40">This text should not be underlined.</textarea 1.12 +><textarea rows="2" cols="40" style="text-decoration:line-through" 1.13 +>This text should be struck out.</textarea> 1.14 +<p>This text should also be underlined.</p> 1.15 +</form> 1.16 +<!-- t-d should propagate from parent elements to table-cells --> 1.17 +<div style="text-decoration:underline"> 1.18 + <table style="text-decoration:overline"> 1.19 + <tr style="text-decoration:line-through"> 1.20 + <td>underlined, overlined, and struck out</td> 1.21 + </tr> 1.22 + </table> 1.23 +</div> 1.24 +<!-- t-d on a float itself should apply --> 1.25 +<div style="text-decoration:underline"> 1.26 + <p>This text should be underlined.</p> 1.27 + <p style="float:left; text-decoration:overline" 1.28 + >This text should be overlined (only).</p> 1.29 +</div> 1.30 +</body> 1.31 +</html>