NEW 198908
Text caret renders incorrectly and is hard to use on iOS when text is rotated
https://bugs.webkit.org/show_bug.cgi?id=198908
Summary Text caret renders incorrectly and is hard to use on iOS when text is rotated
Xidorn Quan
Reported 2019-06-16 20:20:37 PDT
Created attachment 372230 [details] testcase Steps to reproduce: 1. open the testcase on iOS Safari 2. try to select different parts of the text and move the caret Expected result: the caret and selection area should be rotated as the text, and the caret can be moved along the rotated direction Actual result: the caret and selection area are still vertical, and the caret is hard to move. The testcase uses 45deg. It would even be worse if the rotation is changed to 90deg.
Attachments
testcase (339 bytes, text/html)
2019-06-16 20:20 PDT, Xidorn Quan
no flags
Xidorn Quan
Comment 1 2019-06-16 21:03:35 PDT
Radar WebKit Bug Importer
Comment 2 2019-06-17 01:38:23 PDT
Simon Fraser (smfr)
Comment 3 2019-06-17 10:41:47 PDT
How common is editing rotated text? Was this a bug on a real site?
Xidorn Quan
Comment 4 2019-06-17 21:41:07 PDT
> How common is editing rotated text? Was this a bug on a real site? This is a bug on real site. We (Canva) allows users to rotate text in their designs. Our native mobile app tries to undo the rotation during editing in order to work around similar bug on native platforms. When we are porting things to web, we hit the same problem here. We don't currently have data about how frequent our users rotate text, and edit after the text is rotated. My personal guess would be that, moderate degrees (30°, 45°, etc.) may not be very common, but there may be more people who want to rotate ±90° so that horizontal text becomes vertical. This is unfortunately the worst case on iOS at the moment. I don't have any data to back that either, though.
fantasai
Comment 5 2025-03-04 20:55:55 PST
This appears to have been fixed at some point.
Note You need to log in before you can comment on or make changes to this bug.