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+

Description Simon Fraser (smfr) 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
Comment 1 Simon Fraser (smfr) 2021-12-18 17:30:47 PST
Created attachment 447538 [details]
Patch
Comment 2 Dean Jackson 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
Comment 3 Simon Fraser (smfr) 2021-12-19 10:44:14 PST
https://trac.webkit.org/changeset/287241/webkit
Comment 4 Radar WebKit Bug Importer 2021-12-19 10:45:21 PST
<rdar://problem/86696197>