diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-01-25 19:52:18 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-01-25 23:36:31 +0100 |
| commit | 9f67b297d5436d3a1f597eb561c09d7db2d0a01a (patch) | |
| tree | 64b07e5d9ff38b9a6bd6438156a7b0c20fe46c98 /test/layout/flex-anonymous-item-from-text.html | |
| parent | f3157ce10a01e0bfa71803547b5dc8fe4d5425df (diff) | |
| download | chawan-9f67b297d5436d3a1f597eb561c09d7db2d0a01a.tar.gz | |
layout: do not generate anonymous inline boxes
Anonymous inline boxes were blocking progress on layout caching, so they
are now gone. Instead, we handle them in layoutInline (which meanwhile
has spaghettified to beyond comprehension... now it's a special case
of inner BlockBox (kind of?) - incredibly, it still passes tests :P)
This seems to match what major browsers do as well; some test cases were
updated to reflect the "improved" rendering this brings.
Next I'd like to remove anonymous table boxes by generating them in
cascade. Then it should be straightforward enough to at least reuse
flow roots on relayout.
(And clean up flow layout...)
Diffstat (limited to 'test/layout/flex-anonymous-item-from-text.html')
| -rw-r--r-- | test/layout/flex-anonymous-item-from-text.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/layout/flex-anonymous-item-from-text.html b/test/layout/flex-anonymous-item-from-text.html new file mode 100644 index 00000000..adbf3abc --- /dev/null +++ b/test/layout/flex-anonymous-item-from-text.html @@ -0,0 +1,2 @@ +<!DOCTYPE html> +<div style="display: flex">[<div>test</div>]</div> |