Bug 282727
Summary: | updateAllowsBackingStoreDetaching has wrong coordinates when inside an animated transform | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 282267 |
Matt Woodrow
When descending through a layer that has an animated transform, the layerExtent is computed using the post-transform animation extents and the transform itself isn't pushed onto the geometry map.
That means for all descendants, overlap bounds are no longer 'absolute', since they aren't transformed.
This generally works ok for overlap testing, since everything within the transform stacking context is in the same coordinate space.
updateAllowsBackingStoreDetaching compares these untransformed coordinates against the layout viewport though, and this is invalid, leading to backing stores not being detached.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/139393911>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/36301
EWS
Committed 286517@main (43d5c16a35e7): <https://commits.webkit.org/286517@main>
Reviewed commits have been landed. Closing PR #36301 and removing active labels.
EWS
Committed 283286.548@safari-7620-branch (84c1168aa3b8): <https://commits.webkit.org/283286.548@safari-7620-branch>
Reviewed commits have been landed. Closing PR #2348 and removing active labels.