Skip to content

layout: Fix size of anonymous not marked as depending on block constraints#56960

Merged
servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom
servo:servo_export_41632
Jan 2, 2026
Merged

layout: Fix size of anonymous not marked as depending on block constraints#56960
servo-wpt-sync merged 1 commit intoweb-platform-tests:masterfrom
servo:servo_export_41632

Conversation

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

@servo-wpt-sync servo-wpt-sync commented Jan 2, 2026

An anonymous block box doesn't establish a containing block for its contents. Therefore, if its contents depend on block constraints, we need to mark it as having a size that depends on block constraints.

Testing: Adding new test
Fixes: #41629

Reviewed in servo/servo#41632

Copy link
Copy Markdown
Collaborator

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

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 Servo project.

…aints

An anonymous block box doesn't establish a containing block for its
contents. Therefore, if its contents depend on block constraints, we
need to mark it as having a size that depends on block constraints.

Signed-off-by: Oriol Brufau <[email protected]>
@servo-wpt-sync servo-wpt-sync merged commit 24ede16 into web-platform-tests:master Jan 2, 2026
25 checks passed
@servo-wpt-sync servo-wpt-sync deleted the servo_export_41632 branch January 2, 2026 17:35
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.

4 participants