-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[iOS] CSS transform transitions become janky after snapshotting other UIViews #8394
[iOS] CSS transform transitions become janky after snapshotting other UIViews #8394
Conversation
EWS run on previous version of this PR (hash b179025) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we test this?
EWS run on previous version of this PR (hash 8e8d154) |
8e8d154
to
ee8e032
Compare
EWS run on current version of this PR (hash ee8e032) |
I think in theory it is possible exercising the |
β¦ UIViews https://bugs.webkit.org/show_bug.cgi?id=228333 rdar://81165591 Reviewed by Dean Jackson. In WebKit clients that use the UIView snapshotting API, accelerated animations, which are ran using Core Animation, will not run anymore. This happens because we use absolute start times for our CAAnimation objects, and this does not play well with the UIView snapshotting machinery. Using the -[CALayer setInheritsTiming:(BOOL)] private API addresses this issue, so we call it with NO any time we add a CAAnimation to a remote layer. * Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm: (WebKit::addAnimationToLayer): Canonical link: https://commits.webkit.org/258781@main
ee8e032
to
46c1b78
Compare
Committed 258781@main (46c1b78): https://commits.webkit.org/258781@main Reviewed commits have been landed. Closing PR #8394 and removing active labels. |
46c1b78
ee8e032
π wincairoπ§ͺ ios-wk2π§ͺ api-macπ§ͺ api-iosπ§ͺ mac-wk1π§ͺ mac-wk2π§ͺ mac-AS-debug-wk2π§ͺ mac-wk2-stress