about summary refs log tree commit diff stats
path: root/test/layout/float-flushes-child-margin-bottom.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-10-31 18:00:28 +0100
committerbptato <nincsnevem662@gmail.com>2024-10-31 18:38:16 +0100
commit2fa73721c6ddaa3a497d58f83e987e75194f300c (patch)
tree2ad3d9f9bc99b503f753395f9b4a19b38b28e448 /test/layout/float-flushes-child-margin-bottom.html
parent8782fc0591b9aa72a4b61885cc2520afa2b60477 (diff)
downloadchawan-2fa73721c6ddaa3a497d58f83e987e75194f300c.tar.gz
layout: refactor flow and fix some bugs in the process
* factor out `margin' field from box state
* get rid of RootInlineFragment
* `nested' -> `children'
* get rid of repositionChildren pass; now we handle relative positioning
  and -cha-center/-cha-right separately
* cha-center, cha-right no longer applies to floats
* use consistent naming scheme for tests
* fix float bottom margin strut not being flushed
* fix inline floats changing non-fit-content width
Diffstat (limited to 'test/layout/float-flushes-child-margin-bottom.html')
-rw-r--r--test/layout/float-flushes-child-margin-bottom.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/float-flushes-child-margin-bottom.html b/test/layout/float-flushes-child-margin-bottom.html
new file mode 100644
index 00000000..b7a6c62e
--- /dev/null
+++ b/test/layout/float-flushes-child-margin-bottom.html
@@ -0,0 +1,10 @@
+<div style="float: left">
+<div style="margin-bottom: 1em">
+testing testing
+</div>
+</div>
+<div>
+test<br>
+test<br>
+test<br>
+test<br>