Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 89775b5ff064e50f6a1177def010eca32b2cbea3
https://github.com/WebKit/WebKit/commit/89775b5ff064e50f6a1177def010eca32b2cbea3
Author: Richard Robinson <[email protected]>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M Source/WebKit/Shared/EditorState.cpp
Log Message:
-----------
REGRESSION: WebKit provides rectilinear selection rects for rotated text in
images
https://bugs.webkit.org/show_bug.cgi?id=259888
rdar://113287677
Reviewed by Wenson Hsieh.
`EditorState::clipOwnedRectExtentsToNumericLimits` was erroneously converting
some selection
geometries from quads to rects.
Fix by removing these conversions. Since `FloatQuad`s have no notion of
validity, there is no
need to clip them to numeric limits.
* Source/WebKit/Shared/EditorState.cpp:
(WebKit::EditorState::clipOwnedRectExtentsToNumericLimits):
Canonical link: https://commits.webkit.org/265870.235@safari-7616-branch
Canonical link: https://commits.webkit.org/269572@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes