Bug 234483 - Keyboard shortcut to scroll to top when already at the top of the page moves to the bottom
Summary: Keyboard shortcut to scroll to top when already at the top of the page moves ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-18 17:26 PST by Simon Fraser (smfr)
Modified: 2021-12-19 10:45 PST (History)
3 users (show)

See Also:


Attachments
Patch (6.63 KB, patch)
2021-12-18 17:30 PST, Simon Fraser (smfr)
dino: review+
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) 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>