Bug 234483

Summary: Keyboard shortcut to scroll to top when already at the top of the page moves to the bottom
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch dino: review+

Simon Fraser (smfr)
Reported 2021-12-18 17:26:56 PST
Keyboard shortcut to scroll to top when already at the top of the page moves to the bottom
Attachments
Patch (6.63 KB, patch)
2021-12-18 17:30 PST, Simon Fraser (smfr)
dino: review+
Simon Fraser (smfr)
Comment 1 2021-12-18 17:30:47 PST
Dean Jackson
Comment 2 2021-12-19 08:41:09 PST
Comment on attachment 447538 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447538&action=review > LayoutTests/fast/scrolling/keyboard-scrolling-home.html:19 > + await UIHelper.keyDown("home"); > + await UIHelper.renderingUpdate(); > + > + shouldBeZero("window.scrollY"); > + finishJSTest(); > + } > + > + window.addEventListener('load', () => { > + runTest(); > + }, false); screwy indentation
Simon Fraser (smfr)
Comment 3 2021-12-19 10:44:14 PST
Radar WebKit Bug Importer
Comment 4 2021-12-19 10:45:21 PST
Note You need to log in before you can comment on or make changes to this bug.