<?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>193258</bug_id>
          
          <creation_ts>2019-01-08 14:39:06 -0800</creation_ts>
          <short_desc>[iOS] Command + . key events to editable elements should look like Escape key</short_desc>
          <delta_ts>2019-02-01 15:52:28 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>WebKit Local Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=193255</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>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="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1492767</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-01-08 14:39:06 -0800</bug_when>
    <thetext>On iOS, Command + . maps to Escape. Currently the behavior of Command + . differs whether the key events are dispatched to an editable or non-editable element. We want Command + . to behave as if the Escape key was pressed for key events dispatched to non-editable elements.

You can observe this difference by using a hardware keyboard and performing the following:

1. Visit &lt;https://unixpapa.com/js/testkey.html&gt;.
2. Ensure Modifiers and DOM 3 attribute values are enabled.
3. Press Command + . on the keyboard.
4. Focus the text field.
5. Press Command + . on the keyboard.

Compare the logged output emitted after (3) and (4).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1493891</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-01-11 16:43:55 -0800</bug_when>
    <thetext>As it turns out, the behavior is correct. We want Command + . to dispatch be treated as  key events for Command and key events for &apos;.&apos;. I am going to make behavior of pressing Command + . in a non-editable element match the behavior for the editable case (see bug #193255).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>