<?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>119368</bug_id>
          
          <creation_ts>2013-07-31 18:42:08 -0700</creation_ts>
          <short_desc>REGRESSION: Click on focused link removes focus</short_desc>
          <delta_ts>2022-09-08 11:52:39 -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>UI Events</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>49977</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>913591</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-07-31 18:42:08 -0700</bug_when>
    <thetext>Merge https://chromium.googlesource.com/chromium/blink/+/71060ded1efe47f78aeb5093975242c5621a9513

This is a regression by wkrev.com/72796.

The first isMouseFocusable call in EventHandler::dispatchMouseEvent 
should be isFocusable because we need to do different things for
focusable-but-non-mouse-focusable elements.

Also fix wrong usage of isMouseFocusable in text shadow elements and
SVG elements. In general isFocusable must return true whenever
isMouseFocusable is true. Some layout tests fail without these changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>913592</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-07-31 18:42:22 -0700</bug_when>
    <thetext>What steps will reproduce the problem?
1. Open data:text/html,&lt;input autofocus&gt;&lt;a href=&quot;#start&quot; onclick=&quot;return false&quot;&gt;Link&lt;/a&gt;
2. Press TAB key once
3. Click on the focused link

What is the expected output? What do you see instead?
Expected: The link keeps focus.
Actual: The link looses focus.

Please use labels and text to provide additional information.
Regression by http://trac.webkit.org/changeset/72796.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>913593</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-07-31 18:42:38 -0700</bug_when>
    <thetext>http://crbug.com/264575</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>913594</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-07-31 18:42:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/14614161&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896213</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-04 15:28:03 -0700</bug_when>
    <thetext>I think at SVG2 changed things slightly and we followed this:

https://github.com/WebKit/WebKit/commit/b84ee93b9aab347ef4152cba6622c4e16f560c30

Just sharing updated context. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896433</commentid>
    <comment_count>5</comment_count>
      <attachid>462158</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-09-05 22:56:50 -0700</bug_when>
    <thetext>Created attachment 462158
Test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1897082</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2022-09-08 11:52:39 -0700</bug_when>
    <thetext>This is won&apos;t fix at this point. WebKit&apos;s focusing support has been updated numerous times since this patch was written.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>462158</attachid>
            <date>2022-09-05 22:56:50 -0700</date>
            <delta_ts>2022-09-05 22:56:50 -0700</delta_ts>
            <desc>Test</desc>
            <filename>bug119368.html</filename>
            <type>text/html</type>
            <size>251</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KPGlucHV0IGlkPSJpbnB1dCI+CjxhIGlkPSJ0
YXJnZXQiIGhyZWY9IiNzdGFydCIgb25jbGljaz0icmV0dXJuIGZhbHNlIj5MaW5rPC9hPgo8c2Ny
aXB0PgoKaW5wdXQuZm9jdXMoKTsKaWYgKHdpbmRvdy5ldmVudFNlbmRlcikgewogICAgZXZlbnRT
ZW5kZXIua2V5RG93bigiXHQiKTsKICAgIGV2ZW50U2VuZGVyLm1vdXNlTW92ZVRvKCkKfQoKPC9z
Y3JpcHQ+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>