1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-width/conflicting-percent-widths-3.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,44 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<title>Conflicting percent widths on table cells</title> 1.8 +<style type="text/css"> 1.9 + 1.10 +table, td { 1.11 + border-spacing: 0; 1.12 + border: none; 1.13 + padding: 0; 1.14 +} 1.15 + 1.16 +</style> 1.17 +</head> 1.18 +<body> 1.19 + 1.20 +<!-- large percentage effect operates per-column --> 1.21 + 1.22 +<!-- also depends on truncation of percentages to 100% --> 1.23 + 1.24 +<table> 1.25 + <tr> 1.26 + <td style="background: yellow" width="50%">x</td> 1.27 + <td style="background: aqua" width="99%">x</td> 1.28 + </tr> 1.29 + <tr> 1.30 + <td style="background: blue" width="50%">x</td> 1.31 + <td style="background: fuchsia" width="50%">x</td> 1.32 + </tr> 1.33 +</table> 1.34 + 1.35 +<table> 1.36 + <tr> 1.37 + <td style="background: blue" width="50%">x</td> 1.38 + <td style="background: fuchsia" width="50%">x</td> 1.39 + </tr> 1.40 + <tr> 1.41 + <td style="background: yellow" width="50%">x</td> 1.42 + <td style="background: aqua" width="99%">x</td> 1.43 + </tr> 1.44 +</table> 1.45 + 1.46 +</body> 1.47 +</html>