1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/text-decoration/underline-block-propagation-2-quirks-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 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> 1.10 +<span style="text-decoration:underline">This text should be underlined.</span><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 style="text-decoration:underline">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> 1.18 + <table> 1.19 + <tr> 1.20 + <td> 1.21 + <span style="text-decoration:underline"> 1.22 + <span style="text-decoration:overline"> 1.23 + <span style="text-decoration:line-through"> 1.24 + underlined, overlined, and struck out 1.25 + </span></span></span> 1.26 + </td> 1.27 + </tr> 1.28 + </table> 1.29 +</div> 1.30 +<!-- t-d on a float itself should apply --> 1.31 +<div> 1.32 + <p style="text-decoration:underline">This text should be underlined.</p> 1.33 + <p style="float:left; text-decoration:overline" 1.34 + >This text should be overlined (only).</p> 1.35 +</div> 1.36 +</body> 1.37 +</html>