Bug 284877
Summary: | REGRESSION(287835@main): [CoordinatedGraphics] Scrolling by clicking on any scrollbar position is broken | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
Component: | Platform | Assignee: | Carlos Garcia Campos <cgarcia> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar, Regression |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Carlos Garcia Campos
This broke in 287835@main because the CoordinatedPlatformLayer is not updated when GraphicsLayerCoordinated::syncPosition is called. This is the expected behavior, the position will be set on CoordinatedPlatformLayer later when scrolling layers are positioned. The problem is that GraphicsLayerCoordinated is using the CoordinatedPlatformLayer properties to compute the layer transform, and now it's using the previous position, causing a wrong transformed visible rect to be set in the CoordinatedPlatformLayer. We should use the GraphicsLayer properties when computing the transforms.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/38132
EWS
Committed 288079@main (9ebe9d89eaef): <https://commits.webkit.org/288079@main>
Reviewed commits have been landed. Closing PR #38132 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/141739654>