summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/478614-2.html
blob: d4ded0fc79a71aa59dee303361ccdd66c0acfe2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
<head>
<title>Testcase for table + caption vertical margins (bug 478614)</title>
<style type="text/css">
body {margin-top: 0} /* Don't let collapsing of the body's top margin interfere with positioning */
caption {margin-top: 50px; caption-side:top}
table {margin-top: 100px; width:100px}
</style>
</head>
<body>
<table><caption>caption</caption>
<tr><td>td</td></tr>
</table>
</body>
</html>