Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88dd4bbe6c3a1d38fe5e6b83dc2dca356162f211
https://github.com/WebKit/WebKit/commit/88dd4bbe6c3a1d38fe5e6b83dc2dca356162f211
Author: Rob Buis <[email protected]>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M LayoutTests/platform/mac-tahoe-wk2-lbse-text/TestExpectations
M
LayoutTests/platform/mac-tahoe-wk2-lbse-text/svg/custom/linking-a-03-b-viewBox-expected.txt
M
LayoutTests/platform/mac-tahoe-wk2-lbse-text/svg/custom/linking-a-03-b-viewBox-transform-expected.txt
M
LayoutTests/platform/mac-tahoe-wk2-lbse-text/svg/custom/linking-uri-01-b-expected.txt
M Source/WebCore/rendering/svg/RenderSVGViewportContainer.cpp
M Source/WebCore/svg/SVGSVGElement.cpp
Log Message:
-----------
[LBSE] Fix viewSpec functionality
https://bugs.webkit.org/show_bug.cgi?id=307663
Reviewed by Nikolas Zimmermann.
Fix viewSpec functionality by making sure updateLayerTransform takes the
viewSpec viewBox into account. needsHasSVGTransformFlags is always true
if there is a currentView, this check could be made more specific (testing for
viewBox/transform),
but viewSpec usage is rare so a quick test should be fine.
* LayoutTests/platform/mac-tahoe-wk2-lbse-text/TestExpectations:
*
LayoutTests/platform/mac-tahoe-wk2-lbse-text/svg/custom/linking-a-03-b-viewBox-expected.txt:
*
LayoutTests/platform/mac-tahoe-wk2-lbse-text/svg/custom/linking-a-03-b-viewBox-transform-expected.txt:
*
LayoutTests/platform/mac-tahoe-wk2-lbse-text/svg/custom/linking-uri-01-b-expected.txt:
* Source/WebCore/rendering/svg/RenderSVGViewportContainer.cpp:
(WebCore::RenderSVGViewportContainer::needsHasSVGTransformFlags const):
(WebCore::RenderSVGViewportContainer::updateLayerTransform):
* Source/WebCore/svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::scrollToFragment):
Canonical link: https://commits.webkit.org/307462@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications