<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>199137</bug_id>
          
          <creation_ts>2019-06-23 14:32:37 -0700</creation_ts>
          <short_desc>[iOS] Key code is 0 on keyup of locale-specific punctuation typed using software keyboard</short_desc>
          <delta_ts>2019-08-17 09:35:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Local Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>190571</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Daniel Bates">dbates</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1547205</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-06-23 14:32:37 -0700</bug_when>
    <thetext>Steps to reproduce:

1. Visit &lt;https://unixpapa.com/js/testkey.html&gt;
2. Focus the textarea.
3. Switch to Pinyin keyboard (note: effects other keyboard layouts as well).
4. Type 。(it&apos;s on the key in the same position as the .? key in US keyboard layout).

Then keyup has 0 for keyCode. But it should be key code for the . on US keyboard layout. Other locale-specific punctuation is also affected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1547206</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-06-23 14:32:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/52035957&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1550424</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-07-05 10:13:05 -0700</bug_when>
    <thetext>Just for reference, Microsoft Edge 42.17134.1.0 only emits a keydown with key code 229 (composition key code) for 。

^^^ Edge is even more broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1562481</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-08-17 09:35:12 -0700</bug_when>
    <thetext>As the title saids, this bug only affects the software keyboard. This problem may be intractable to solve for all non-US layouts. The problem is that the layout of the software keyboard may ***not*** correspond to any known hardware keyboard layout.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>