From 775fd9f989a15c5ee7ef2b8e2c41c4f7adbc2ed8 Mon Sep 17 00:00:00 2001 From: bptato Date: Fri, 1 Nov 2024 16:20:09 +0100 Subject: layout: simplify a bit, fix some inline float bugs * simplify "positioned" value calculation: - don't include it in ResolvedSizes, since it's unused in most layouts - resolvePositioned for both absolute and relative positioning - use "size" instead of "space" for absolute positioning - include parent width in layout so that renderdocument does not have to account for it * return bottom margins as regular return values instead of var * fix child bottom margins being discarded in inline floats * fix inline float not including the parent block position in its BFC position --- test/layout/inline-float-collapsed-child-margin.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/layout/inline-float-collapsed-child-margin.html (limited to 'test/layout/inline-float-collapsed-child-margin.html') diff --git a/test/layout/inline-float-collapsed-child-margin.html b/test/layout/inline-float-collapsed-child-margin.html new file mode 100644 index 00000000..5df4709b --- /dev/null +++ b/test/layout/inline-float-collapsed-child-margin.html @@ -0,0 +1,13 @@ + +
+ +test +
+
+right +
+
+
+
+next next +
-- cgit