diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-02-07 19:27:16 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-02-07 20:18:47 +0100 |
| commit | d57ef74a78ba32e8187d74c1975e7a4181af36c0 (patch) | |
| tree | f29a16e1d0c7e600f438862bc37f925acfc3eb45 /test/layout/margin-does-not-collapse-through-padding.color.expected | |
| parent | ebdb900ebc843e93dec4846e2f2434bf18ad8613 (diff) | |
| download | chawan-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.expected | 18 |
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 + +[48;2;255;0;0mtest [49m +[48;2;0;0;255mtest [49m +[48;2;255;0;0m [49m +[48;2;255;0;0m [49m +test +[48;2;0;0;255mtest [49m +[48;2;255;0;0m [49m +[48;2;255;0;0m [49m +test +[48;2;0;128;0m [49m +[48;2;0;128;0m [49m +[48;2;0;128;0mtest [49m +[48;2;200;0;0m [48;2;0;128;0m [49m +what + +test |