Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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>