Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fe20f19cb92daa371c6c1f010f0e71e0c084e5b6
https://github.com/WebKit/WebKit/commit/fe20f19cb92daa371c6c1f010f0e71e0c084e5b6
Author: Ahmad Saleem <[email protected]>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M Source/WebCore/rendering/svg/SVGTextQuery.cpp
Log Message:
-----------
Improve rejection test for character-based SVG text queries
https://bugs.webkit.org/show_bug.cgi?id=262373
Reviewed by Chris Dumez.
Partial Merge:
https://src.chromium.org/viewvc/blink?view=revision&revision=177148
Perform an intersection of the involved ranges to reject fragments early,
while still avoiding calls to mapStartEndPositionsIntoFragmentCoordinates.
This gives a moderate speed-up - a few percent on test case.
* Source/WebCore/rendering/svg/SVGTextQuery.cpp:
(SVGTextQuery::mapStartEndPositionsIntoFragmentCoordinates):
Canonical link: https://commits.webkit.org/268656@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes