diff options
| author | bptato <nincsnevem662@gmail.com> | 2024-12-26 21:19:40 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2024-12-26 21:19:40 +0100 |
| commit | db609e523b84f28040d4fc65bf04d47006d4b6d5 (patch) | |
| tree | 647ddf1cce32069dd81bb59ec9a40630b5ae36e6 /test/layout/nested-flex-correct-intrinsic-size.html | |
| parent | f2d3040da5c686fd4a3a78dbcca68b75512ea28e (diff) | |
| download | chawan-db609e523b84f28040d4fc65bf04d47006d4b6d5.tar.gz | |
layout: improve intrinsic minimum size calculation
It's a fair bit more accurate now on flex-heavy pages.
Image sizing remains a broken mess.
Diffstat (limited to 'test/layout/nested-flex-correct-intrinsic-size.html')
| -rw-r--r-- | test/layout/nested-flex-correct-intrinsic-size.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/layout/nested-flex-correct-intrinsic-size.html b/test/layout/nested-flex-correct-intrinsic-size.html new file mode 100644 index 00000000..eb315d3a --- /dev/null +++ b/test/layout/nested-flex-correct-intrinsic-size.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<div style="display: flex; flex-direction: column; height: 10em; background: purple"> +<div style="display: flex; background: blue"> +<div style="display: flex; background: green"> +<div style="width: 10ch; height: 10em; background: red"> +test +</div> +</div> +</div> +<div> +<div style="height: 20em"> +test |