diff options
author | bptato <nincsnevem662@gmail.com> | 2025-01-06 16:31:10 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2025-01-06 16:31:10 +0100 |
commit | e066acad98c510cfd9bd2593affcbb9673c93dca (patch) | |
tree | b2c3da955eb887ca8fc1ad880968650e18f4e7c7 /test/layout/inline-float-breaks-line.html | |
parent | 9ae109b366c7a933965ff506a7ce275a7abe71ed (diff) | |
download | chawan-e066acad98c510cfd9bd2593affcbb9673c93dca.tar.gz |
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...)
Diffstat (limited to 'test/layout/inline-float-breaks-line.html')
-rw-r--r-- | test/layout/inline-float-breaks-line.html | 21 |
1 files changed, 21 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +<div style="display: flow-root"> +test1 +<div style="float: left; width: 100%"> +test2 +</div> +<div style="float: left"> +test3 +</div> +test4 +</div> +<div style="display: flow-root"> +test1 +<div style="float: left; width: 50%"> +test2 +</div> +<div style="float: left"> +test3 +</div> +test4 +</div> |