NEW 210877
[iOS] Cannot edit <text> with -webkit-user-modify: read-write unless it has taborder attribute
https://bugs.webkit.org/show_bug.cgi?id=210877
Summary [iOS] Cannot edit <text> with -webkit-user-modify: read-write unless it has t...
Daniel Bates
Reported 2020-04-22 14:51:36 PDT
Consider the .svg page with the following markup: [[ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g writing-mode="vertical-lr"> <text id="text" font-size="50" x="50" y="50" style="-webkit-user-modify: read-write">Hello</text> </g> </svg> ]] Open the page in MobileSafari. Tap the word "hello". Then nothing will happen, but I expected the keyboard to appear and a caret to show up and I should be able to edit the text. Note that if you add an explicit taborder to the <text> then you can tap on it to start an input session: [[ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g writing-mode="vertical-lr"> <text id="text" font-size="50" x="50" y="50" style="-webkit-user-modify: read-write" taborder="0">Hello</text> </g> </svg> ]]
Attachments
Radar WebKit Bug Importer
Comment 1 2020-04-22 14:51:44 PDT
Note You need to log in before you can comment on or make changes to this bug.