about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-06-01 23:57:28 +0200
committerbptato <nincsnevem662@gmail.com>2024-06-01 23:57:43 +0200
commitf451c6f5b0e9c672e2281090f1b75b55a2d8bab1 (patch)
treecb4835de2b46cff203dcfded9219bd71577fe8fe /test
parent7c1fa0ab00e48f1e1d551b48736e1281501f1b38 (diff)
downloadchawan-f451c6f5b0e9c672e2281090f1b75b55a2d8bab1.tar.gz
layout: clean up inline tree construction
Much cleaner than the previous solution.

Should also be somewhat less wasteful, as we no longer constantly
rebuild the same tree with new branches.
Diffstat (limited to 'test')
-rw-r--r--test/layout/nested-inline-block.expected1
-rw-r--r--test/layout/nested-inline-block.html4
2 files changed, 5 insertions, 0 deletions
diff --git a/test/layout/nested-inline-block.expected b/test/layout/nested-inline-block.expected
new file mode 100644
index 00000000..3289c7a9
--- /dev/null
+++ b/test/layout/nested-inline-block.expected
@@ -0,0 +1 @@
+bekebeke
diff --git a/test/layout/nested-inline-block.html b/test/layout/nested-inline-block.html
new file mode 100644
index 00000000..f2a67d8b
--- /dev/null
+++ b/test/layout/nested-inline-block.html
@@ -0,0 +1,4 @@
+<div style="display: inline-block">
+<div style="display: inline-block">
+bekebeke
+</div>