Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2f7437fb0267ebd9e0c7c9c2504bb0fca8731c91 https://github.com/WebKit/WebKit/commit/2f7437fb0267ebd9e0c7c9c2504bb0fca8731c91 Author: Yusuke Suzuki <ysuz...@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes