Skip to content

layout: Fix scrollParent to skip ancestors with display: contents - #54703

Merged
servo-wpt-sync merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_39153
Sep 5, 2025
Merged

layout: Fix scrollParent to skip ancestors with display: contents#54703
servo-wpt-sync merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_39153

Conversation

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

When encountering such an ancestor, we were returning null instead of skipping it.

Testing: Adding new subtest for this. And while I'm at it, another one for the root element, unrelated to this fix.

Reviewed in servo/servo#39153

When encounterign such an ancestor, we were returning null instead of
skipping it.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

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

@servo-wpt-sync
servo-wpt-sync merged commit fd79b59 into web-platform-tests:master Sep 5, 2025
25 checks passed
@servo-wpt-sync
servo-wpt-sync deleted the servo_export_39153 branch September 5, 2025 15:18
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