[webkit-changes] [WebKit/WebKit] 32128c: Update transforms on SVG shapes/groups when root e...
Tim Nguyen
noreply at github.com
Thu Sep 15 17:54:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32128c3f2e5789599a6bcf2eb91c9f8cba54815c
https://github.com/WebKit/WebKit/commit/32128c3f2e5789599a6bcf2eb91c9f8cba54815c
Author: Tim Nguyen <ntim at apple.com>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/rendering/svg/SVGRenderSupport.cpp
Log Message:
-----------
Update transforms on SVG shapes/groups when root element size changed
https://bugs.webkit.org/show_bug.cgi?id=245120
<rdar://99854279>
Reviewed by Simon Fraser.
We need to also update transforms when the size of the RenderSVGRoot has changed, since percentage based transforms are relative to the root.
Tests:
- imported/w3c/web-platform-tests/css/css-transforms/transform-percent-010.html
- imported/w3c/web-platform-tests/css/css-transforms/transform-box/view-box-mutation-001.html
- imported/w3c/web-platform-tests/css/css-transforms/transform-box/view-box-mutation-003.html
* LayoutTests/TestExpectations:
* Source/WebCore/rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::layoutChildren):
Canonical link: https://commits.webkit.org/254538@main
More information about the webkit-changes
mailing list