about summary refs log tree commit diff stats
path: root/test/layout/table.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-21 21:26:27 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-21 21:28:45 +0200
commite3d9ee2c6224cd30bf56e24f7988899e0e3985c1 (patch)
tree31116d7d751d058f32bf43313c12673423e8d8be /test/layout/table.html
parentba88f015ea500bcc574b621392c721ef2c9dbcd0 (diff)
downloadchawan-e3d9ee2c6224cd30bf56e24f7988899e0e3985c1.tar.gz
test: add js & layout tests
(Sadly some layout tests still fail.)
Diffstat (limited to 'test/layout/table.html')
-rw-r--r--test/layout/table.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/layout/table.html b/test/layout/table.html
new file mode 100644
index 00000000..8f409e79
--- /dev/null
+++ b/test/layout/table.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<style>
+* {
+	font-family: monospace, monospace
+}
+table {
+	border-spacing: 0.5ch 0
+}
+</style>
+<table style="background-color: blue">
+  <caption>
+    caption
+  </caption>
+  <tbody>
+  <tr>
+    <td style="background-color: red">
+      one two three four five six seven eight
+    </td>
+    <td colspan=2 style="vertical-align: bottom" valign=top>
+      internationalization
+    </td>
+    <td>
+      c
+    </td>
+    <td>
+      d
+    </td>
+    <td valign=bottom>
+      lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
+      tempor incididunt ut labore et dolore magna aliqua
+      いろはにほへとちりぬるをわかよたれそつ one two three
+      four five six seven eight nine ten elevenn twelve thirteen fourteen
+      sixteen seventeen eighteen nineteen
+    </td>
+  </tr>
+  </tbody>
+</table>
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa