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/table-caption-correct-order.html | |
| 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/table-caption-correct-order.html')
| -rw-r--r-- | test/layout/table-caption-correct-order.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/layout/table-caption-correct-order.html b/test/layout/table-caption-correct-order.html new file mode 100644 index 00000000..f8ba5b84 --- /dev/null +++ b/test/layout/table-caption-correct-order.html @@ -0,0 +1,2 @@ +<!DOCTYPE html> +<span>test<div style="display: table-caption; background: red">caption</div><br><span>test</span></span> |