Contents don't flow around shape-outside image
Categories
(Core :: Layout: Floats, defect)
Tracking
()
People
(Reporter: sebo, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Under special circumstances shape-outside
and shape-image-threshold
don't cause a layout reflow causing the contents not floating around the image shape.
I've attached a test case that demonstrates the issue.
Sebastian
Reporter | ||
Comment 1•2 years ago
|
||
Here's a screenshot of the test case causing the issue.
Sebastian
Comment 2•2 years ago
|
||
Thanks for the bug report!
This seems to be an invalidation / incremental-layout bug of some sort, because if I force a relayout by inspecting the image or the text in devtools, the text suddenly snaps to the right position (hugging the egg more closely).
Comment 3•2 years ago
|
||
Here's a reduced testcase. It looks like we're failing to use the image for shape-outside purposes, beyond its direct block container. (Though as noted above, you can force it to work if you trigger a relayout by e.g. inspecting an element or changing the full-page-zoom level.)
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Note: I ran into another issue when working on a testcase for this, where we seem to be scaling the shape-outside image when other browsers don't scale it. I filed that one as bug 1758563.
Description
•