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