From e066acad98c510cfd9bd2593affcbb9673c93dca Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 6 Jan 2025 16:31:10 +0100 Subject: layout: wrap on inline floats that exceed the line's length In this case, it seems we have to wrap. (It's still not quite there; replace flow-root with inline-box to see another interesting bug...) --- test/layout/inline-float-breaks-line.expected | 4 ++++ test/layout/inline-float-breaks-line.html | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 test/layout/inline-float-breaks-line.expected create mode 100644 test/layout/inline-float-breaks-line.html (limited to 'test/layout') diff --git a/test/layout/inline-float-breaks-line.expected b/test/layout/inline-float-breaks-line.expected new file mode 100644 index 00000000..c69cc18a --- /dev/null +++ b/test/layout/inline-float-breaks-line.expected @@ -0,0 +1,4 @@ +test1 test4 +test2 +test3 +test2 test3test1 test4 diff --git a/test/layout/inline-float-breaks-line.html b/test/layout/inline-float-breaks-line.html new file mode 100644 index 00000000..2bd74860 --- /dev/null +++ b/test/layout/inline-float-breaks-line.html @@ -0,0 +1,21 @@ + +
+test1 +
+test2 +
+
+test3 +
+test4 +
+
+test1 +
+test2 +
+
+test3 +
+test4 +
-- cgit