[webkit-changes] [WebKit/WebKit] 2f7437: [SVG] Enable approximate repaint bounding box comp...
Yusuke Suzuki
noreply at github.com
Wed Oct 18 21:30:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2f7437fb0267ebd9e0c7c9c2504bb0fca8731c91
https://github.com/WebKit/WebKit/commit/2f7437fb0267ebd9e0c7c9c2504bb0fca8731c91
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths:
M LayoutTests/accessibility/svg-bounds-expected.txt
M LayoutTests/platform/glib/accessibility/svg-remote-element-expected.txt
M LayoutTests/platform/mac/accessibility/svg-remote-element-expected.txt
M Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp
M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp
Log Message:
-----------
[SVG] Enable approximate repaint bounding box computation
https://bugs.webkit.org/show_bug.cgi?id=263351
rdar://117175423
Reviewed by Cameron McCormack.
This is one step of the patch series implementing approximate repainting rect for SVG path, derived from blink's work[1].
This patch flips approximate repaint bounding box computation. This also reveals that some accessibility thing is relying
on repaint bounding box while it should not, but for now this patch is keeping it.
This offers 0.53% progression in Speedometer3.0: in subtests, React-Stockcharts-SVG 4.78% progression and Charts-observable-plot 1.37% progression.
[1]: https://bugs.chromium.org/p/chromium/issues/detail?id=435097
* LayoutTests/accessibility/svg-bounds-expected.txt:
* LayoutTests/platform/glib/accessibility/svg-remote-element-expected.txt:
* LayoutTests/platform/mac/accessibility/svg-remote-element-expected.txt:
* Source/WebCore/rendering/svg/SVGBoundingBoxComputation.cpp:
(WebCore::SVGBoundingBoxComputation::handleShapeOrTextOrInline const):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGShape.cpp:
(WebCore::LegacyRenderSVGShape::updateRepaintBoundingBox):
Canonical link: https://commits.webkit.org/269500@main
More information about the webkit-changes
mailing list