Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aa1b9db26fd093f7d590af2d65ea4352289eac4f
https://github.com/WebKit/WebKit/commit/aa1b9db26fd093f7d590af2d65ea4352289eac4f
Author: Richard Robinson <[email protected]>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M Source/WebCore/rendering/RenderObject.cpp
Log Message:
-----------
Blue boxes appear at ends of selection for live text for images with vertical
writing mode
https://bugs.webkit.org/show_bug.cgi?id=253335
rdar://106106328
Reviewed by Wenson Hsieh.
`SelectionRenderingBehavior::UseIndividualQuads` doesn't currently work well
for images
with a vertical writing mode, so this PR works around it by only using that
behavior for
horizontal writing modes.
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::adjustLineHeightOfSelectionGeometries):
(WebCore::RenderObject::collectSelectionGeometriesInternal):
(WebCore::RenderObject::collectSelectionGeometries):
Canonical link: https://commits.webkit.org/261209@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes