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