aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-28 20:53:45 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-28 20:53:45 +0100
commit26a52dcab4d2164cf994d39daeacc2fca1615fa6 (patch)
treea75bc64dde0546b7877042ce85d6d85db01f81e4 /test
parentde2fa37535fc47a636d3db1607ba753d8137d2a2 (diff)
downloadchawan-26a52dcab4d2164cf994d39daeacc2fca1615fa6.tar.gz
layout: fix flow roots in inline boxes not respecting floats
Also, some more work on the unification of inline & block layouts.
Diffstat (limited to 'test')
-rw-r--r--test/layout/bfc-after-inline-float.color.expected3
-rw-r--r--test/layout/bfc-after-inline-float.html7
2 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/bfc-after-inline-float.color.expected b/test/layout/bfc-after-inline-float.color.expected
new file mode 100644
index 00000000..9acc227b
--- /dev/null
+++ b/test/layout/bfc-after-inline-float.color.expected
@@ -0,0 +1,3 @@
+ test test
+ test
+ 
diff --git a/test/layout/bfc-after-inline-float.html b/test/layout/bfc-after-inline-float.html
new file mode 100644
index 00000000..ccca5edb
--- /dev/null
+++ b/test/layout/bfc-after-inline-float.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+test
+<div style="width: 3em; height: 3em; background: red; float: left">
+</div>
+test
+<div style="display: flow-root">
+test