aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/margins-float.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-04 21:38:36 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-04 21:38:36 +0100
commite993238fd664094b75ce848938745d85fa89c1c7 (patch)
tree6057ad8f7d155e7371d17c46a216c9fdfe623d05 /test/layout/margins-float.html
parent615989fc7273fb554bddfe7b34e95fcc9d5e9391 (diff)
downloadchawan-e993238fd664094b75ce848938745d85fa89c1c7.tar.gz
layout: merge addOuterBlock with layoutBlock, refactor
Having to initLine after every block hurts... I've added a mechanism to at least eliminate cleared floats, but I wish we just didn't init the line :/ (I tried making it lazy, but I couldn't get it to work elegantly.) I've also added some comments about flow, and moved around code so that related layouts are mostly in the same place.
Diffstat (limited to 'test/layout/margins-float.html')
-rw-r--r--test/layout/margins-float.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/layout/margins-float.html b/test/layout/margins-float.html
index 1ac7bc94..2102e06d 100644
--- a/test/layout/margins-float.html
+++ b/test/layout/margins-float.html
@@ -14,7 +14,6 @@
<div style="float: left">
<div style="display: inline-block">hi from left</div>
</div>
-<!--<div style="margin-top: 5em">ok</div>-->
</div>
<div>
hi in center