about summary refs log tree commit diff stats
path: root/test/layout/center-in-inline.expected
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-25 19:52:18 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-25 23:36:31 +0100
commit9f67b297d5436d3a1f597eb561c09d7db2d0a01a (patch)
tree64b07e5d9ff38b9a6bd6438156a7b0c20fe46c98 /test/layout/center-in-inline.expected
parentf3157ce10a01e0bfa71803547b5dc8fe4d5425df (diff)
downloadchawan-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/center-in-inline.expected')
-rw-r--r--test/layout/center-in-inline.expected3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/layout/center-in-inline.expected b/test/layout/center-in-inline.expected
new file mode 100644
index 00000000..cb132683
--- /dev/null
+++ b/test/layout/center-in-inline.expected
@@ -0,0 +1,3 @@
+                                      test
+                                      test
+                                     test