[webkit-changes] [WebKit/WebKit] 21d975: [content-visibility] Remove scroll anchor workaround
Rob Buis
noreply at github.com
Thu Jan 4 00:16:45 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 21d97506efba191f7fabf7affa719a646026a13b
https://github.com/WebKit/WebKit/commit/21d97506efba191f7fabf7affa719a646026a13b
Author: Rob Buis <rbuis at igalia.com>
Date: 2024-01-04 (Thu, 04 Jan 2024)
Changed paths:
M Source/WebCore/dom/ContentVisibilityDocumentState.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
[content-visibility] Remove scroll anchor workaround
https://bugs.webkit.org/show_bug.cgi?id=259269
rdar://112759490
Reviewed by Tim Nguyen.
Now that scroll anchoring is enabled, remove the hack of resetting all c-v: auto elements to offscreen status on scrolling.
* Source/WebCore/dom/ContentVisibilityDocumentState.cpp:
(WebCore::ContentVisibilityDocumentState::updateContentRelevancyForScrollIfNeeded):
* Source/WebCore/dom/Document.cpp:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::focus):
Canonical link: https://commits.webkit.org/272647@main
More information about the webkit-changes
mailing list