Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e5af7d50a068a4507b3928272e90cd880c9f572
https://github.com/WebKit/WebKit/commit/3e5af7d50a068a4507b3928272e90cd880c9f572
Author: Antti Koivisto <[email protected]>
Date: 2026-10-08 (Thu, 08 Oct 2026)
Changed paths:
A LayoutTests/svg/hittest/svg-text-vertical-hit-testing-expected.txt
A LayoutTests/svg/hittest/svg-text-vertical-hit-testing.html
M Source/WebCore/rendering/svg/RenderSVGText.cpp
M Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp
Log Message:
-----------
[IFC][SVG text] Dump physical box sizes
https://bugs.webkit.org/show_bug.cgi?id=326781
rdar://problem/189491267
Reviewed by Alan Baradlay.
Match legacy output.
Also fix hit-testing of vertical cases with layer-based SVG engine enabled.
Test: svg/hittest/svg-text-vertical-hit-testing.html
* LayoutTests/svg/hittest/svg-text-vertical-hit-testing-expected.txt: Added.
* LayoutTests/svg/hittest/svg-text-vertical-hit-testing.html: Added.
* Source/WebCore/rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::hitTestInlineChildren):
Use the physical fragment boundaries for the prefilter, in the same coordinate
space as the fragment test.
* Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeRenderSVGTextBox):
Dump the physical root box size with IFC. Legacy SVG root boxes store it in the
logical dimensions.
Canonical link: https://commits.webkit.org/323092@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications