Bug 198917 - Convert macOS to scroll by changing layer boundsOrigin
Summary: Convert macOS to scroll by changing layer boundsOrigin
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-17 08:36 PDT by Simon Fraser (smfr)
Modified: 2019-06-19 14:47 PDT (History)
8 users (show)

See Also:


Attachments
Patch (30.51 KB, patch)
2019-06-17 08:38 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews101 for mac-highsierra (3.21 MB, application/zip)
2019-06-17 09:47 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (2.74 MB, application/zip)
2019-06-17 09:55 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews117 for mac-highsierra (3.02 MB, application/zip)
2019-06-17 10:28 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews126 for ios-simulator-wk2 (2.59 MB, application/zip)
2019-06-17 10:36 PDT, EWS Watchlist
no flags Details
Patch (37.65 KB, patch)
2019-06-17 14:34 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-highsierra (3.19 MB, application/zip)
2019-06-17 16:25 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews115 for mac-highsierra (3.03 MB, application/zip)
2019-06-17 16:28 PDT, EWS Watchlist
no flags Details
Patch (40.81 KB, patch)
2019-06-17 17:46 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews101 for mac-highsierra (3.34 MB, application/zip)
2019-06-17 18:31 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews114 for mac-highsierra (2.97 MB, application/zip)
2019-06-17 19:34 PDT, EWS Watchlist
no flags Details
Patch (40.81 KB, patch)
2019-06-17 21:44 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2019-06-17 08:36:10 PDT
Convert macOS to scroll by changing layer boundsOrigin
Comment 1 Simon Fraser (smfr) 2019-06-17 08:38:50 PDT
Created attachment 372246 [details]
Patch
Comment 2 Simon Fraser (smfr) 2019-06-17 08:39:23 PDT
Just needs a bit more cleanup before reviewing (if tests pass).
Comment 3 EWS Watchlist 2019-06-17 09:47:56 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2019-06-17 09:47:58 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2019-06-17 09:55:04 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2019-06-17 09:55:06 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2019-06-17 10:28:16 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2019-06-17 10:28:18 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2019-06-17 10:36:11 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2019-06-17 10:36:12 PDT Comment hidden (obsolete)
Comment 11 Simon Fraser (smfr) 2019-06-17 14:34:38 PDT Comment hidden (obsolete)
Comment 12 EWS Watchlist 2019-06-17 16:25:42 PDT Comment hidden (obsolete)
Comment 13 EWS Watchlist 2019-06-17 16:25:44 PDT Comment hidden (obsolete)
Comment 14 EWS Watchlist 2019-06-17 16:28:48 PDT Comment hidden (obsolete)
Comment 15 EWS Watchlist 2019-06-17 16:28:50 PDT Comment hidden (obsolete)
Comment 16 Simon Fraser (smfr) 2019-06-17 17:46:58 PDT Comment hidden (obsolete)
Comment 17 EWS Watchlist 2019-06-17 18:31:48 PDT Comment hidden (obsolete)
Comment 18 EWS Watchlist 2019-06-17 18:31:49 PDT Comment hidden (obsolete)
Comment 19 EWS Watchlist 2019-06-17 19:34:20 PDT Comment hidden (obsolete)
Comment 20 EWS Watchlist 2019-06-17 19:34:22 PDT Comment hidden (obsolete)
Comment 21 Simon Fraser (smfr) 2019-06-17 21:44:10 PDT
Created attachment 372322 [details]
Patch
Comment 22 Antti Koivisto 2019-06-18 00:45:00 PDT
Comment on attachment 372322 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=372322&action=review

> Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp:-450
> -    // Doing all scrolling like this (UIScrollView style) would simplify code.

Nice
Comment 23 WebKit Commit Bot 2019-06-18 08:16:39 PDT
Comment on attachment 372322 [details]
Patch

Clearing flags on attachment: 372322

Committed r246538: <https://trac.webkit.org/changeset/246538>
Comment 24 WebKit Commit Bot 2019-06-18 08:16:41 PDT
All reviewed patches have been landed.  Closing bug.
Comment 25 Radar WebKit Bug Importer 2019-06-18 08:17:19 PDT
<rdar://problem/51849792>
Comment 26 Truitt Savell 2019-06-19 13:29:06 PDT
The changes in https://trac.webkit.org/changeset/246538/webkit

has broken compositing/repaint/iframes/compositing-iframe-scroll-repaint.html
on Mojave WK1. I was able to reproduce this locally.

History:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=compositing%2Frepaint%2Fiframes%2Fcompositing-iframe-scroll-repaint.html

Diff:
--- /Volumes/Data/slave/mojave-release-tests-wk1/build/layout-test-results/compositing/repaint/iframes/compositing-iframe-scroll-repaint-expected.txt
+++ /Volumes/Data/slave/mojave-release-tests-wk1/build/layout-test-results/compositing/repaint/iframes/compositing-iframe-scroll-repaint-actual.txt
@@ -34,12 +34,6 @@
                             (GraphicsLayer
                               (bounds 400.00 1016.00)
                               (drawsContent 1)
-                              (repaint rects
-                                (rect 0.00 0.00 400.00 1016.00)
-                                (rect 0.00 0.00 400.00 1016.00)
-                                (rect 8.00 8.00 384.00 1000.00)
-                                (rect 0.00 0.00 400.00 1016.00)
-                              )
                               (children 1
                                 (GraphicsLayer
                                   (position 8.00 8.00)
Comment 27 Simon Fraser (smfr) 2019-06-19 14:47:48 PDT
Partially reverted in https://trac.webkit.org/r246612