Bug 237093

Summary: REGRESSION(r289683): [GTK][WPE] Scrolling with the mouse wheel doesn't work in twitter after r289683
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nikos Mouchtaris <nmouchtaris>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, clord, Hironori.Fujii, nmouchtaris, ntim, simon.fraser
Priority: P2 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=236060
Attachments:
Description Flags
test case (root element with overscroll-behavior-y:none)
none
Patch none

Carlos Garcia Campos
Reported 2022-02-23 09:55:21 PST
I guess overscroll-behavior is not supported or broken for GTK/WPE, so we should enable it by default only for other ports at least for now.
Attachments
test case (root element with overscroll-behavior-y:none) (143 bytes, text/html)
2022-02-23 13:18 PST, Fujii Hironori
no flags
Patch (1.44 KB, patch)
2022-02-23 15:49 PST, Nikos Mouchtaris
no flags
Fujii Hironori
Comment 1 2022-02-23 12:20:59 PST
Good catch. for WinCairo WK2, too.
Fujii Hironori
Comment 2 2022-02-23 12:44:55 PST
The root html element's style attribute has "overscroll-behavior-y: none;". If I disable this property with Web Inspector, WinCairo can scroll with the mouse wheel. However, in Mac MiniBrowser, the root html element's style attribute doesn't have "overscroll-behavior-y: none;". Is this a GTK/WPE/WinCairo bug?
Fujii Hironori
Comment 3 2022-02-23 13:13:21 PST
(In reply to Fujii Hironori from comment #2) > However, in Mac MiniBrowser, the root html element's style attribute doesn't > have "overscroll-behavior-y: none;". > Is this a GTK/WPE/WinCairo bug? This is my mistake. Because it's still a experimental feature, I need to enable it. After enabling it, the root html element's style attribute has "overscroll-behavior-y: none;", and Mac MiniBrowser can scrool the page with mouse wheel.
Fujii Hironori
Comment 4 2022-02-23 13:18:20 PST
Created attachment 453020 [details] test case (root element with overscroll-behavior-y:none)
Nikos Mouchtaris
Comment 5 2022-02-23 15:49:59 PST
EWS
Comment 6 2022-02-24 00:58:39 PST
Committed r290417 (247725@main): <https://commits.webkit.org/247725@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453037 [details].
Note You need to log in before you can comment on or make changes to this bug.