Skip to content

Fix overflow:hidden/clip not clipping children over transparent borders#59266

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-7764003
Apr 16, 2026
Merged

Fix overflow:hidden/clip not clipping children over transparent borders#59266
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-7764003

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Apr 16, 2026

The optimization did not account for this: it saw the child covering the
full border box in layout and concluded the background was obscured,
skipping the background paint entirely. This caused the transparent
border area to show no background.

Fixed: 502830847
Change-Id: Ifacdc78659a073ed8929d26314e22c61a8bf3122
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7764003
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Jason Leo <cgqaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1615869}

The optimization did not account for this: it saw the child covering the
full border box in layout and concluded the background was obscured,
skipping the background paint entirely. This caused the transparent
border area to show no background.

Fixed: 502830847
Change-Id: Ifacdc78659a073ed8929d26314e22c61a8bf3122
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7764003
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Jason Leo <cgqaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1615869}
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 Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 349b06b into master Apr 16, 2026
19 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7764003 branch April 16, 2026 16:03
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.

2 participants