Bug 273058

Summary: [view-transitions] Handle overflow:hidden on ::view-transition-new/old.
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: 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
Reported 2024-04-22 01:29:15 PDT
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
Matt Woodrow
Comment 1 2024-04-22 01:30:28 PDT
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
Comment 2 2024-04-22 16:28:35 PDT
Matt Woodrow
Comment 3 2024-04-22 16:54:11 PDT
Matt Woodrow
Comment 4 2024-04-24 18:21:21 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/45897
EWS
Comment 5 2024-04-24 20:28:51 PDT
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)
Comment 6 2024-04-24 21:38:55 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/45901
Note You need to log in before you can comment on or make changes to this bug.