Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick bfc6efd. rdar://problem/113287677
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 Identifier: 265870.310@safari-7616.1.27.10-branch
- Loading branch information