[webkit-changes] [WebKit/WebKit] 7d680c: [scroll-anchoring] YouTube.com jittering in commen...
Nikos Mouchtaris
noreply at github.com
Wed Dec 13 11:15:01 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7d680c19811737d2f07264bb02add5a612aca841
https://github.com/WebKit/WebKit/commit/7d680c19811737d2f07264bb02add5a612aca841
Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/focused-element-in-excluded-subtree-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/focused-element-in-excluded-subtree.html
M Source/WebCore/page/scrolling/ScrollAnchoringController.cpp
Log Message:
-----------
[scroll-anchoring] YouTube.com jittering in comments and Channel pages
https://bugs.webkit.org/show_bug.cgi?id=266303
rdar://problem/119568843
Reviewed by Simon Fraser.
We should check if a priority candidate is part of an excluded subtree before
selecting it as our anchor node.
* LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/focused-element-in-excluded-subtree-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/focused-element-in-excluded-subtree.html: Added.
* Source/WebCore/page/scrolling/ScrollAnchoringController.cpp:
(WebCore::ScrollAnchoringController::didFindPriorityCandidate):
Canonical link: https://commits.webkit.org/271993@main
More information about the webkit-changes
mailing list