about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/table-caption-margins.expected7
-rw-r--r--test/layout/table-caption-margins.html12
2 files changed, 19 insertions, 0 deletions
diff --git a/test/layout/table-caption-margins.expected b/test/layout/table-caption-margins.expected
new file mode 100644
index 00000000..7fe2215d
--- /dev/null
+++ b/test/layout/table-caption-margins.expected
@@ -0,0 +1,7 @@
+ something something
+ row 2
+
+
+
+
+        testing
diff --git a/test/layout/table-caption-margins.html b/test/layout/table-caption-margins.html
new file mode 100644
index 00000000..a3e3759e
--- /dev/null
+++ b/test/layout/table-caption-margins.html
@@ -0,0 +1,12 @@
+<table>
+<tr>
+<td>
+something something
+<tr>
+<td>
+row 2
+<caption style="caption-side: bottom; margin-top: 2em; margin-left: 1ch">
+<div style="margin-top: 2em">
+testing
+</div>
+</caption>