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/float-next-to-caption.expected2
-rw-r--r--test/layout/float-next-to-caption.html4
-rw-r--r--test/layout/table-nested-simple.expected1
-rw-r--r--test/layout/table-nested-simple.html2
4 files changed, 9 insertions, 0 deletions
diff --git a/test/layout/float-next-to-caption.expected b/test/layout/float-next-to-caption.expected
new file mode 100644
index 00000000..3021c733
--- /dev/null
+++ b/test/layout/float-next-to-caption.expected
@@ -0,0 +1,2 @@
+test                                                                      test 1
+2
diff --git a/test/layout/float-next-to-caption.html b/test/layout/float-next-to-caption.html
new file mode 100644
index 00000000..68cf13bd
--- /dev/null
+++ b/test/layout/float-next-to-caption.html
@@ -0,0 +1,4 @@
+<!-- the float will trigger a re-layout in test 2. -->
+<div style="float: right">test 1</div>
+<table>
+<caption>test 2</caption>
diff --git a/test/layout/table-nested-simple.expected b/test/layout/table-nested-simple.expected
new file mode 100644
index 00000000..3f4d41a4
--- /dev/null
+++ b/test/layout/table-nested-simple.expected
@@ -0,0 +1 @@
+  Test
diff --git a/test/layout/table-nested-simple.html b/test/layout/table-nested-simple.html
new file mode 100644
index 00000000..ceca7d27
--- /dev/null
+++ b/test/layout/table-nested-simple.html
@@ -0,0 +1,2 @@
+<table width="100%"><tr><td>
+<table><tr><td>Test