layout/reftests/table-width/cellspacing.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-width/cellspacing.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +<title>cellspacing</title>
     1.8 +</head>
     1.9 +<body>
    1.10 +
    1.11 +<!-- compare to CSS border-spacing -->
    1.12 +<table border cellspacing="7" style="padding: 0"><tr><td>This is some text.</td></tr></table>
    1.13 +<table border cellspacing="0" style="padding: 7px 10px"><tr><td>This is some text.</td></tr></table>
    1.14 +
    1.15 +
    1.16 +<!-- drop borders and ensure that we get the right amount of space -->
    1.17 +
    1.18 +<div style="border: medium solid; margin: 1em 0; float: left; clear: left;">
    1.19 +  <table border="0" cellpadding="0" cellspacing="8" style="padding: 0"><tr><td>This is some text.</td></tr></table>
    1.20 +</div>
    1.21 +
    1.22 +<div style="border: medium solid; margin: 1em 0; float: left; clear: left;">
    1.23 +  <table border="0" cellpadding="0" cellspacing="0" style="padding: 3px 5px 7px 9px"><tr><td>This is some text.</td></tr></table>
    1.24 +</div>
    1.25 +
    1.26 +</body>
    1.27 +</html>

mercurial