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/position-absolute-with-relative-inline-parent-offset.color.expected | |
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/position-absolute-with-relative-inline-parent-offset.color.expected')
-rw-r--r-- | test/layout/position-absolute-with-relative-inline-parent-offset.color.expected | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected b/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected index 4ee85fbd..fd207776 100644 --- a/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected +++ b/test/layout/position-absolute-with-relative-inline-parent-offset.color.expected @@ -1,16 +1,13 @@ -Note: the absolute box is sized differently than boxes in other engines, because -the CSS standard explicitly specifies this as UB and I *really* don't want to -make this even more complex. - -I don't care, but feel free to fix it ;) +Note: per CSS, the absolute box's sizing is explicitly UB, apparently to +accomodate for Gecko's broken rendering. We follow Blink. test test [48;2;255;0;0m2t 2t [49mestadsfasdf test test [48;2;255;0;0m2 [49mest -asdfasd fa[48;2;255;0;0m [49m - - - -test +[48;2;0;0;255masdfasd fa[48;2;255;0;0m [48;2;0;0;255m [49m + [48;2;255;0;0m [49m + [48;2;255;0;0m [49m + [48;2;255;0;0m [49m +test [48;2;255;0;0m [49m |