8000 servoshell: Consider both OS decoration width and height when resizing by yezhizhen · Pull Request #37961 · servo/servo · GitHub
[go: up one dir, main page]

Skip to content

Conversation

yezhizhen
Copy link
Member< 8000 /span>
@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.

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
@yezhizhen
Copy link
Member Author

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

Copy link
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
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
0