Bug 273058
| Summary: | [view-transitions] Handle overflow:hidden on ::view-transition-new/old. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, ntim, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/45897 | ||
| Bug Depends on: | 273055 | ||
| Bug Blocks: | |||
Matt Woodrow
Due to bug 273055, we don't handle the overflow property correctly on replaced elements like RenderViewTransitionCapture.
I think the paint path can handle overflow by clipping locally fairly easily. The layer path looks difficult, and we might have to fallback to painting if we need to clip.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matt Woodrow
This causes rendering issues on https://jakearchibald.com/2024/view-transitions-handling-aspect-ratio-changes/
It doesn't appear to be covered by WPT currently.
Radar WebKit Bug Importer
<rdar://problem/126888144>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/27605
Matt Woodrow
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/45897
EWS
Committed 277959@main (b4321a0a6e70): <https://commits.webkit.org/277959@main>
Reviewed commits have been landed. Closing PR #27605 and removing active labels.
Tim Nguyen (:ntim)
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/45901