Skip to content

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321807 - #64174

Open
annevk wants to merge 1 commit into
web-platform-tests:masterfrom
annevk:wpt-export-for-webkit-321807
Open

annevk wants to merge 1 commit into
web-platform-tests:masterfrom
annevk:wpt-export-for-webkit-321807

Conversation

@annevk

@annevk annevk commented Oct 25, 2026

Copy link
Copy Markdown
Member

WebKit export from bug: [block-in-inline] A block level box on a line is handed its own float as an intruding float

[block-in-inline] A block level box on a line is handed its own float as an intruding float

layoutSimpleBlockContentInInline lays the block level boxes on our lines out and gives up when the result is not
usable, but the floats that layout propagated up into us stay on our float list. Normal inline layout then lays the
same boxes out again and takes that list for the floats intruding from outside, so a box both avoids and stops
contributing the overflow of the float it places itself. Put the list back the way it was before falling back.

WebKit-Bug: https://bugs.webkit.org/show_bug.cgi?id=321807
WebKit-Canonical-Link: https://commits.webkit.org/319290@main

… as an intruding float

layoutSimpleBlockContentInInline lays the block level boxes on our lines out and gives up when the result is not
usable, but the floats that layout propagated up into us stay on our float list. Normal inline layout then lays the
same boxes out again and takes that list for the floats intruding from outside, so a box both avoids and stops
contributing the overflow of the float it places itself. Put the list back the way it was before falling back.

WebKit-Bug: https://bugs.webkit.org/show_bug.cgi?id=321807
WebKit-Canonical-Link: https://commits.webkit.org/319290@main

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the WebKit project.

@annevk
annevk enabled auto-merge (rebase) October 25, 2026 08:54

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants