Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested view transitions: adjust for border offset #48771

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Oct 23, 2024

Make sure the border width is only applied once when nesting.
Since the parent group receives the border width and the child group
computes its target transform based on its original position, by
default the top/left border widths are considered twice.

Adjust for this when computing the nested group transform.

See w3c/csswg-drafts#10585

Bug: 347947051
Change-Id: I2f4c42cd861d41bbd8c99586946745ffcf1a4913
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5946105
Reviewed-by: Jeremy Roman <[email protected]>
Reviewed-by: Mike West <[email protected]>
Commit-Queue: Noam Rosenthal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1372661}

Make sure the border width is only applied once when nesting.
Since the parent group receives the border width and the child group
computes its target transform based on its original position, by
default the top/left border widths are considered twice.

Adjust for this when computing the nested group transform.

See w3c/csswg-drafts#10585

Bug: 347947051
Change-Id: I2f4c42cd861d41bbd8c99586946745ffcf1a4913
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5946105
Reviewed-by: Jeremy Roman <[email protected]>
Reviewed-by: Mike West <[email protected]>
Commit-Queue: Noam Rosenthal <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1372661}
Copy link
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 Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 67bc1c1 into master Oct 23, 2024
21 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-5946105 branch October 23, 2024 14:01
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