-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scroll-anchoring] findAnchorElementRecursive should descend into sub…
…scrollers if its not maintaining a scroll anchor https://bugs.webkit.org/show_bug.cgi?id=262557 rdar://116411088 Reviewed by Simon Fraser. We should only disallow descending into subscrollers if the subscroller is currently maintaining a scroll anchor. * LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-anchoring/position-change-heuristic-in-nested-scroll-box-expected.txt: * Source/WebCore/page/scrolling/ScrollAnchoringController.cpp: (WebCore::elementForScrollableArea): (WebCore::ScrollAnchoringController::invalidateAnchorElement): (WebCore::canDescendIntoElement): (WebCore::ScrollAnchoringController::examineCandidate): * Source/WebCore/rendering/RenderObject.cpp: (WebCore::RenderObject::findScrollAnchoringControllerForRenderer): Canonical link: https://commits.webkit.org/272277@main
- Loading branch information
Showing
3 changed files
with
41 additions
and
15 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...ests/css/css-scroll-anchoring/position-change-heuristic-in-nested-scroll-box-expected.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
FAIL Position changes in document scroller. assert_equals: expected 225 but got 200 | ||
FAIL Position changes in scrollable <div>. assert_equals: expected 225 but got 200 | ||
PASS Position changes in document scroller. | ||
PASS Position changes in scrollable <div>. | ||
|
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
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