New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrolling with page granularity using keyboard smooth scrolling doesn't account for fixed content #4766
Merged
webkit-early-warning-system
merged 1 commit into
WebKit:main
from
rr-codes:eng/100469555
Sep 28, 2022
Merged
Scrolling with page granularity using keyboard smooth scrolling doesn't account for fixed content #4766
webkit-early-warning-system
merged 1 commit into
WebKit:main
from
rr-codes:eng/100469555
Sep 28, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rr-codes
added
Scrolling
Bugs related to main thread and off-main thread scrolling
WebKit Nightly Build
labels
Sep 27, 2022
EWS run on previous version of this PR (hash 7287f44) |
hortont424
approved these changes
Sep 27, 2022
...llbars/scrolling-backward-by-page-accounting-bottom-fixed-elements-on-keyboard-spacebar.html
Outdated
Show resolved
Hide resolved
rr-codes
force-pushed
the
eng/100469555
branch
from
September 27, 2022 20:43
7287f44
to
90bb6b0
Compare
EWS run on previous version of this PR (hash 90bb6b0) |
hortont424
reviewed
Sep 28, 2022
hortont424
reviewed
Sep 28, 2022
hortont424
approved these changes
Sep 28, 2022
rr-codes
force-pushed
the
eng/100469555
branch
from
September 28, 2022 02:51
90bb6b0
to
6c28a27
Compare
EWS run on current version of this PR (hash 6c28a27) |
β¦'t account for fixed content https://bugs.webkit.org/show_bug.cgi?id=245746 rdar://100469555 Reviewed by Tim Horton. When keyboard smooth scrolling is enabled, `KeyboardScrollingAnimator::scrollDistance` is used, which is analagous to `ScrollableArea::scroll`. However, while the latter accounts for page's having fixed content when scrolling with page granularity, the former never does. This PR fixes this by including the same logic that `ScrollableArea::scroll` has to adjust the scroll step into `KeyboardScrollingAnimator::scrollDistance`. * LayoutTests/scrollbars/scrolling-backward-by-page-accounting-bottom-fixed-elements-on-keyboard-spacebar.html: * Source/WebCore/platform/KeyboardScrollingAnimator.cpp: (WebCore::KeyboardScrollingAnimator::scrollDistance const): * Source/WebCore/platform/ScrollableArea.h: Canonical link: https://commits.webkit.org/254963@main
webkit-early-warning-system
force-pushed
the
eng/100469555
branch
from
September 28, 2022 17:34
6c28a27
to
fdd3720
Compare
Committed 254963@main (fdd3720): https://commits.webkit.org/254963@main Reviewed commits have been landed. Closing PR #4766 and removing active labels. |
webkit-commit-queue
removed
the
merge-queue
Applied to send a pull request to merge-queue
label
Sep 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fdd3720
6c28a27
π mac-debugπ§ͺ ios-wk2