RESOLVED WONTFIX 182785
Start migration to a version of windowToContents() that may take scroll offset into account for delegated scrolling
https://bugs.webkit.org/show_bug.cgi?id=182785
Summary Start migration to a version of windowToContents() that may take scroll offse...
Frédéric Wang (:fredw)
Reported 2018-02-14 03:10:18 PST
.
Attachments
Patch for EWS (26.01 KB, patch)
2018-02-14 03:13 PST, Frédéric Wang (:fredw)
ews-watchlist: commit-queue-
Archive of layout-test-results from ews123 for ios-simulator-wk2 (8.24 MB, application/zip)
2018-02-14 04:55 PST, EWS Watchlist
no flags
Patch for EWS (38.67 KB, patch)
2018-02-15 04:13 PST, Frédéric Wang (:fredw)
no flags
Archive of layout-test-results from ews106 for mac-sierra-wk2 (3.08 MB, application/zip)
2018-02-15 05:28 PST, EWS Watchlist
no flags
Archive of layout-test-results from ews200 for win-future (11.76 MB, application/zip)
2018-02-15 06:02 PST, EWS Watchlist
no flags
Patch (46.12 KB, patch)
2018-02-15 07:33 PST, Frédéric Wang (:fredw)
no flags
Patch (40.70 KB, patch)
2018-02-16 01:25 PST, Frédéric Wang (:fredw)
simon.fraser: review+
Patch (41.02 KB, patch)
2018-05-09 23:31 PDT, Frédéric Wang (:fredw)
no flags
Patch (40.94 KB, patch)
2018-07-11 06:56 PDT, Frédéric Wang (:fredw)
no flags
Patch (40.96 KB, patch)
2018-09-05 07:01 PDT, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2018-02-14 03:13:58 PST
Created attachment 333781 [details] Patch for EWS
EWS Watchlist
Comment 2 2018-02-14 04:55:17 PST
Comment on attachment 333781 [details] Patch for EWS Attachment 333781 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/6498801 New failing tests: fast/visual-viewport/ios/stable-update-with-keyboard.html fast/visual-viewport/ios/min-scale-greater-than-one.html
EWS Watchlist
Comment 3 2018-02-14 04:55:19 PST
Created attachment 333787 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.6
Frédéric Wang (:fredw)
Comment 4 2018-02-15 04:13:14 PST
Created attachment 333890 [details] Patch for EWS
EWS Watchlist
Comment 5 2018-02-15 05:28:48 PST
Comment on attachment 333890 [details] Patch for EWS Attachment 333890 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/6516042 New failing tests: fast/events/mouse-cursor-image-set.html fast/multicol/pagination/RightToLeft-rl-hittest.html platform/mac/fast/events/content-inset-hit-testing.html fast/events/frame-scroll-fake-mouse-move.html tiled-drawing/header-and-footer-hit-testing.html svg/custom/getscreenctm-in-scrollable-svg-area.xhtml fast/events/drag-select-when-zoomed-with-header.html fast/events/input-image-scrolled-x-y.html fast/dom/Window/window-xy-properties.html fast/scrolling/rtl-scrollbars-text-selection-scrolled.html fast/events/mouse-cursor.html tiled-drawing/header-and-footer-hit-testing-with-page-scale.html fast/multicol/pagination/LeftToRight-tb-hittest.html fast/events/anchor-image-scrolled-x-y.html
EWS Watchlist
Comment 6 2018-02-15 05:28:49 PST
Created attachment 333891 [details] Archive of layout-test-results from ews106 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 7 2018-02-15 06:01:54 PST
Comment on attachment 333890 [details] Patch for EWS Attachment 333890 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/6516160 New failing tests: fast/events/mouse-cursor-image-set.html svg/custom/getscreenctm-in-scrollable-svg-area.xhtml fast/events/input-image-scrolled-x-y.html fast/dom/Window/window-xy-properties.html fast/events/mouse-cursor.html fast/multicol/pagination/LeftToRight-tb-hittest.html fast/events/anchor-image-scrolled-x-y.html
EWS Watchlist
Comment 8 2018-02-15 06:02:05 PST
Created attachment 333896 [details] Archive of layout-test-results from ews200 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews200 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Frédéric Wang (:fredw)
Comment 9 2018-02-15 07:33:10 PST
Frédéric Wang (:fredw)
Comment 10 2018-02-16 01:25:59 PST
Simon Fraser (smfr)
Comment 11 2018-02-16 11:47:25 PST
I think the bug title should be something like "start migration to a version of windowToContents() that takes scroll offset into account when scrolling is delegated".
Simon Fraser (smfr)
Comment 12 2018-04-09 06:59:33 PDT
Comment on attachment 334024 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334024&action=review > Source/WebCore/platform/ScrollView.h:298 > - WEBCORE_EXPORT IntPoint windowToContents(const IntPoint&) const; > + WEBCORE_EXPORT IntPoint deprecatedWindowToContents(const IntPoint&) const; This needs a comments saying why deprecatedWindowToContents() exists. I think you should also add back windowToContents() without the delegatesScrolling check in this or a followup commit.
Frédéric Wang (:fredw)
Comment 13 2018-04-09 08:02:12 PDT
Comment on attachment 334024 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334024&action=review >> Source/WebCore/platform/ScrollView.h:298 >> + WEBCORE_EXPORT IntPoint deprecatedWindowToContents(const IntPoint&) const; > > This needs a comments saying why deprecatedWindowToContents() exists. > > I think you should also add back windowToContents() without the delegatesScrolling check in this or a followup commit. I think these are more or less already explained in the ChangeLog but I can add a comment here too. Bug 173833 is also mentioned and has a patch adding back the new windowToContents() (Alternatively, I could add it in the present bug too but the new version won't be used for now).
Frédéric Wang (:fredw)
Comment 14 2018-05-09 23:31:44 PDT
Created attachment 340069 [details] Patch Rebasing
Frédéric Wang (:fredw)
Comment 15 2018-07-11 06:56:55 PDT
Created attachment 344764 [details] Patch Rebasing...
Frédéric Wang (:fredw)
Comment 16 2018-09-05 07:01:00 PDT
Created attachment 348910 [details] Patch Rebasing...
Frédéric Wang (:fredw)
Comment 17 2018-09-24 02:12:51 PDT
Note You need to log in before you can comment on or make changes to this bug.