summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/478614-7.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/478614-7.html')
-rw-r--r--layout/reftests/bugs/478614-7.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/478614-7.html b/layout/reftests/bugs/478614-7.html
new file mode 100644
index 000000000..625f0054d
--- /dev/null
+++ b/layout/reftests/bugs/478614-7.html
@@ -0,0 +1,17 @@
+<!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; margin-bottom: 100px; caption-side:bottom-outside}
+table {margin-bottom: 50px; width:100px}
+</style>
+</head>
+<body>
+<table><caption>caption</caption>
+<tr><td>td</td></tr>
+</table>
+<div>block</div>
+</body>
+</html>