Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ab5be65e2f8e91ad834066a145f3e939e85c6d26
https://github.com/WebKit/WebKit/commit/ab5be65e2f8e91ad834066a145f3e939e85c6d26
Author: Taher Ali <[email protected]>
Date: 2026-08-24 (Mon, 24 Aug 2026)
Changed paths:
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/svg/SVGSVGElement.cpp
M Source/WebCore/svg/SVGSVGElement.h
Log Message:
-----------
Rename SVGSVGElement::scrollToFragment/resetScrollAnchor
https://bugs.webkit.org/show_bug.cgi?id=322423
rdar://185708428
Reviewed by Simon Fraser.
Neither method scrolls. They set and reset the root <svg> element's
current view for an SVG fragment identifier.
Follow-ups will move this out of LocalFrameView so SVGImage::drawForContainer()
can set the view directly instead of going through the frame view's
scroll, :target, and focus machinery.
No behavior change.
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::scrollToAnchorFragment):
(WebCore::LocalFrameView::resetScrollAnchor):
* Source/WebCore/svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::setViewForFragment):
(WebCore::SVGSVGElement::resetViewToDefault):
(WebCore::SVGSVGElement::scrollToFragment): Deleted.
(WebCore::SVGSVGElement::resetScrollAnchor): Deleted.
* Source/WebCore/svg/SVGSVGElement.h:
Canonical link: https://commits.webkit.org/319725@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications