Created attachment 372230 [details]
Steps to reproduce:
1. open the testcase on iOS Safari
2. try to select different parts of the text and move the caret
the caret and selection area should be rotated as the text, and the caret can be moved along the rotated direction
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.
Related bug reports:
* Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1559739
* Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=974617
How common is editing rotated text? Was this a bug on a real site?
> 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.