Skip to content

servoshell: Consider both OS decoration width and height when resizing#37961

Merged
wusyong merged 1 commit intoservo:mainfrom
yezhizhen:add-decoration
Jul 9, 2025
Merged

servoshell: Consider both OS decoration width and height when resizing#37961
wusyong merged 1 commit intoservo:mainfrom
yezhizhen:add-decoration

Conversation

@yezhizhen
Copy link
Copy Markdown
Member

@yezhizhen yezhizhen commented Jul 9, 2025

Previously, we only consider OS decoration height. But when testing #37960, I find that the decoration width is also non-zero.

Testing: Need to wait W3C spec change web-platform-tests/wpt#53421 related to webdriver rectangle. When combined with #37960, this can fix at least window_resizeTo.html.

@yezhizhen
Copy link
Copy Markdown
Member Author

Not requesting Martin for this one as I believe he already has so many tasks...

Copy link
Copy Markdown
Member

@jschwe jschwe left a comment

Choose a reason for hiding this comment

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

looks reasonable to me.

@wusyong wusyong added this pull request to the merge queue Jul 9, 2025
Merged via the queue into servo:main with commit 2c52efb Jul 9, 2025
24 checks passed
@yezhizhen yezhizhen deleted the add-decoration branch July 9, 2025 12:33
@mrobinson
Copy link
Copy Markdown
Member

Looks sensible to me in any case!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants