[Webkit-unassigned] [Bug 210877] New: [iOS] Cannot edit <text> with -webkit-user-modify: read-write unless it has taborder attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 22 14:51:36 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=210877

            Bug ID: 210877
           Summary: [iOS] Cannot edit <text> with -webkit-user-modify:
                    read-write unless it has taborder attribute
           Product: WebKit
           Version: WebKit Local Build
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Keywords: PlatformOnly
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: webkit-bug-importer at group.apple.com,
                    zimmermann at kde.org

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>
]]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200422/25f3011a/attachment-0001.htm>


More information about the webkit-unassigned mailing list