[Bug 24044] New: How do browsers decide combining character from non-combining character at computing .key value of dead key?

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24044

            Bug ID: 24044
           Summary: How do browsers decide combining character from
                    non-combining character at computing .key value of
                    dead key?
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM3 Events
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

At least on Windows and Android, dead key event produces non-combining
character for browsers. On the other hand, current D3E spec requires browsers
setting combining character for dead key event.

For consistency behavior between browsers and all keyboard layouts on all
platforms, browsers need to use same map from non-combining character to
combining character at computing dead key event's .key value. However, perhaps,
nobody can list-up all dead characters all over the world. Therefore, browsers
may fail to convert non-combining character if it's not major language's.

I'm thinking that the simplest solution of .key value of dead key event should
be non-combining character. And for web apps, adding a bool attribute such as
KeyboardEvent.isDeadKey may be useful.

Any suggestions?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.