aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/margin-does-not-collapse-through-padding.color.expected
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-07 19:27:16 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-07 20:18:47 +0100
commitd57ef74a78ba32e8187d74c1975e7a4181af36c0 (patch)
treef29a16e1d0c7e600f438862bc37f925acfc3eb45 /test/layout/margin-does-not-collapse-through-padding.color.expected
parentebdb900ebc843e93dec4846e2f2434bf18ad8613 (diff)
downloadchawan-d57ef74a78ba32e8187d74c1975e7a4181af36c0.tar.gz
layout: unify BlockBox and InlineBox, refactor building
* normalize flow baseline computation * fix various margin collapsing bugs * eliminate inlineStack * eliminate push* * derive BlockBox and InlineBox from CSSBox This removes a pointer from BlockBox, and adds a pointer to both BlockBox and InlineBox (type field). A net loss, but it makes the code more manageable. Plus, inline groups now need one less allocation, so overall it's not that bad.
Diffstat (limited to 'test/layout/margin-does-not-collapse-through-padding.color.expected')
-rw-r--r--test/layout/margin-does-not-collapse-through-padding.color.expected18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/layout/margin-does-not-collapse-through-padding.color.expected b/test/layout/margin-does-not-collapse-through-padding.color.expected
new file mode 100644
index 00000000..4469e4ac
--- /dev/null
+++ b/test/layout/margin-does-not-collapse-through-padding.color.expected
@@ -0,0 +1,18 @@
+test
+
+test 
+test 
+ 
+ 
+test
+test 
+ 
+ 
+test
+ 
+ 
+test 
+  
+what
+
+test