1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-width/spacing-invariance-quirks-pref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<html> 1.5 +<head> 1.6 +<title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title> 1.7 +<style type="text/css"> 1.8 + 1.9 +html, body { margin: 0 } /* no collapsing */ 1.10 + 1.11 +table, td { 1.12 + margin: 0; 1.13 +} 1.14 + 1.15 +* { border-color: white; /* hidden */ } 1.16 +table, td { border-style: solid; } 1.17 +body { background: white; color: black; } 1.18 + 1.19 +div { background: olive; color: black; } 1.20 + 1.21 +</style> 1.22 +</head> 1.23 +<body> 1.24 +<table cellpadding="3" cellspacing="5" border="2"><tr><td colspan="2" style="border-width: 1px"> <!-- td border currently already 1px --> 1.25 + <table style="border-spacing: 5px 7px; border-width: 2px 3px 4px 5px"><tr><td colspan="3" style="padding: 4px 5px 6px 7px;border-width: 4px 5px 6px 7px"> 1.26 + <div>This is some text.</div> 1.27 + </td></tr></table> 1.28 +</td></tr></table> 1.29 +</body> 1.30 +</html>