Skip to content

layout: Produce an empty display list when the Document element is removed#59312

Merged
servo-wpt-sync merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_44133
Apr 18, 2026
Merged

layout: Produce an empty display list when the Document element is removed#59312
servo-wpt-sync merged 1 commit into
web-platform-tests:masterfrom
servo:servo_export_44133

Conversation

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

@servo-wpt-sync servo-wpt-sync commented Apr 17, 2026

Previously, when the Document element was removed, no further display list updates would be sent to paint. This change makes it so that when the Document element is removed a single new empty display list is sent.

Testing: This change adds a new WPT test .
Fixes: #44101

Reviewed in servo/servo#44133

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.

@servo-wpt-sync servo-wpt-sync force-pushed the servo_export_44133 branch 5 times, most recently from f9c008d to aaaf7c5 Compare April 17, 2026 15:07
@servo-wpt-sync servo-wpt-sync changed the title Fix: Stale content not removed after its root element was removed layout: Produce an empty display list when the Document element is removed Apr 18, 2026
Signed-off-by: Rover track <rishan.pgowda@gmail.com>
@servo-wpt-sync servo-wpt-sync merged commit 59c8d70 into web-platform-tests:master Apr 18, 2026
25 of 26 checks passed
@servo-wpt-sync servo-wpt-sync deleted the servo_export_44133 branch April 18, 2026 17:28
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