summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/478614-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/478614-2.html')
-rw-r--r--layout/reftests/bugs/478614-2.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/478614-2.html b/layout/reftests/bugs/478614-2.html
new file mode 100644
index 0000000000..d4ded0fc79
--- /dev/null
+++ b/layout/reftests/bugs/478614-2.html
@@ -0,0 +1,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>