<?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>22261</bug_id>
          
          <creation_ts>2008-11-14 04:15:14 -0800</creation_ts>
          <short_desc>Clicking on a non-text input element does not give it focus</short_desc>
          <delta_ts>2026-04-19 19:28:11 -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>Forms</component>
          <version>525.x (Safari 3.1)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Server 2003</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=112968</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=18425</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=267569</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=283276</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=281209</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=312692</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>229895</blocked>
    
    <blocked>290463</blocked>
    
    <blocked>299087</blocked>
    
    <blocked>26856</blocked>
    
    <blocked>267449</blocked>
    
    <blocked>296989</blocked>
    
    <blocked>302673</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Capp">mike.capp</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>04-punch-pinyons</cc>
    
    <cc>aaron</cc>
    
    <cc>adele</cc>
    
    <cc>akeerthi</cc>
    
    <cc>alex.wayfer</cc>
    
    <cc>anantha</cc>
    
    <cc>andrzej.doyle</cc>
    
    <cc>andy.blum.01</cc>
    
    <cc>ap</cc>
    
    <cc>arne</cc>
    
    <cc>aroben</cc>
    
    <cc>arv</cc>
    
    <cc>browserbugs2</cc>
    
    <cc>bugs.webkit.org</cc>
    
    <cc>bugzilla</cc>
    
    <cc>bweinstein</cc>
    
    <cc>darin</cc>
    
    <cc>dave.batiste</cc>
    
    <cc>dawagner</cc>
    
    <cc>dieter</cc>
    
    <cc>dohlsen</cc>
    
    <cc>dsuchkov511</cc>
    
    <cc>emilio</cc>
    
    <cc>eric</cc>
    
    <cc>giovanni.piller</cc>
    
    <cc>hausmann</cc>
    
    <cc>hedgerwang</cc>
    
    <cc>jab_creations</cc>
    
    <cc>jasneet</cc>
    
    <cc>karlcow</cc>
    
    <cc>kenneth</cc>
    
    <cc>kizmarh</cc>
    
    <cc>koivisto</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>leviw</cc>
    
    <cc>manish3177</cc>
    
    <cc>martyn.chamberlin</cc>
    
    <cc>matzew</cc>
    
    <cc>m.goleb+bugzilla</cc>
    
    <cc>mijordan</cc>
    
    <cc>mitz</cc>
    
    <cc>mjs</cc>
    
    <cc>priyajeet.hora</cc>
    
    <cc>proskater55</cc>
    
    <cc>raphael</cc>
    
    <cc>redux</cc>
    
    <cc>rego</cc>
    
    <cc>rniwa</cc>
    
    <cc>sporter</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>webkit</cc>
    
    <cc>wesleydesouza</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98769</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Capp">mike.capp</who>
    <bug_when>2008-11-14 04:15:14 -0800</bug_when>
    <thetext>Expected behavior:
* clicking on a button should give it focus and raise the onfocus event

Actual behavior:
* clicking on a button DOES NOT give it focus or raise an onfocus event
* clicking on a button when another element has focus DOES blur that element
* tabbing to a button DOES give it focus

Possibly related: 
* Bug 18425 (similar issue for hyperlinks)
* Bug 19104 (similar issue for radio/checkbox inputs)
* Bug 20138 (similar issue for file inputs)

Issue also present in Google Chrome 0.3.154.9

Demo attachment to follow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98770</commentid>
    <comment_count>1</comment_count>
      <attachid>25169</attachid>
    <who name="Mike Capp">mike.capp</who>
    <bug_when>2008-11-14 04:19:32 -0800</bug_when>
    <thetext>Created attachment 25169
page demonstrating bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99154</commentid>
    <comment_count>2</comment_count>
    <who name="Andrzej Doyle">andrzej.doyle</who>
    <bug_when>2008-11-18 06:19:09 -0800</bug_when>
    <thetext>Confirming that I can reproduce this in both Safari 3.1.2 (525.21), and Google Chrome 0.3.154.9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125835</commentid>
    <comment_count>3</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2009-06-14 15:28:42 -0700</bug_when>
    <thetext>I also confirm this bug. It still happens in latest stable release Safari 4.0 build 530.17.
Focused &lt;input type=&quot;button&quot; ...&gt; with mouse-clicking does not render outline borders. 
This also affects CSS rules like:

input:focus
{
outline-width: 4px;
outline-style: solid;
outline-color: red;
}

A good testcase for this bug is

http://www.gtalbot.org/DHTMLSection/AdvancedCSSButtons.html

regards, Gérard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>138303</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Wagner-Hall">dawagner</who>
    <bug_when>2009-08-08 03:16:44 -0700</bug_when>
    <thetext>Confirm still a problem in Safari 4.0 540.17 and Google Chrome 3.0.197.11 (Official Build 22553)...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150526</commentid>
    <comment_count>5</comment_count>
      <attachid>40241</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2009-09-28 09:25:11 -0700</bug_when>
    <thetext>Created attachment 40241
Fix for the html elements not focused by mouse

It appears that this bug is fixed already for GTK build.
I suggest to take this fix into all versions by removing GTK #ifdef.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150542</commentid>
    <comment_count>6</comment_count>
      <attachid>40241</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-09-28 09:53:58 -0700</bug_when>
    <thetext>Comment on attachment 40241
Fix for the html elements not focused by mouse

This is wrong for Mac OS X at least, so please don&apos;t check this in without further discussion. This might need to be discussed on the webkit-dev mailing list rather than just in this bug.

Also, this patch has no change log or test case, so it needs to be review- in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150560</commentid>
    <comment_count>7</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2009-09-28 10:51:23 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (From update of attachment 40241 [details])
&gt; This is wrong for Mac OS X at least,

Have tried it on Mac. 
Good test page http://testsuite.nokia-boston.com/content/xhtml_forms/text_input/form_input.xhtml

1. Radio buttons and check boxes are not focusable by mouse
2. Radio buttons and check boxes also not focusable through tabbed browsing. Weird! It&apos;s different from all other browsers.

So, radio buttons and check box lists are some special exceptions?

&gt; so please don&apos;t check this in without further discussion. 

Yes, that&apos;s what I want.

&gt; This might need to be discussed on the webkit-dev mailing
&gt; list rather than just in this bug.

Could you start this discussion? I hope this way it will attract more attention.

&gt; Also, this patch has no change log 

I never hoped that this will go as it is. It just to start the discussion.

&gt; or test case, 

Isn&apos;t it so, that tests attached to the bug are also tests for the fix?
In any case, here is good test page: http://testsuite.nokia-boston.com/content/xhtml_forms/text_input/form_input.xhtml

&gt; so it needs to be review- in any case.

That&apos;s Ok.
1st I need to figure out what is correct behavior in this case.
My impression now, that #if PLATFORM(GTK) should be changed to 
#if PLATFORM(MAC)
    return false;
#else
    return HTMLElement::isMouseFocusable();
#endif</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151336</commentid>
    <comment_count>8</comment_count>
      <attachid>40393</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2009-09-30 13:03:48 -0700</bug_when>
    <thetext>Created attachment 40393
Fix for the html elements not focused by mouse.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151338</commentid>
    <comment_count>9</comment_count>
      <attachid>40394</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2009-09-30 13:06:52 -0700</bug_when>
    <thetext>Created attachment 40394
Fix for the html elements not focused by mouse.

Previous diff is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151928</commentid>
    <comment_count>10</comment_count>
      <attachid>40394</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-02 12:22:53 -0700</bug_when>
    <thetext>Comment on attachment 40394
Fix for the html elements not focused by mouse.

All changes require tests.  Otherwise this looks fine.
http://webkit.org/coding/contributing.html
http://trac.webkit.org/wiki/Writing%20Layout%20Tests%20for%20DumpRenderTree
http://trac.webkit.org/wiki/Creating%20and%20Submitting%20Layout%20Tests%20and%20Patches</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190671</commentid>
    <comment_count>11</comment_count>
    <who name="dave">team.dave</who>
    <bug_when>2010-02-16 05:17:15 -0800</bug_when>
    <thetext>this is still a bug even today in google chrome 5.0.322.2 dev

somebody posted a fix below - any news when it will be implemented?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211878</commentid>
    <comment_count>12</comment_count>
      <attachid>53227</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-04-12 23:50:10 -0700</bug_when>
    <thetext>Created attachment 53227
Fix with layout test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211952</commentid>
    <comment_count>13</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-04-13 07:57:05 -0700</bug_when>
    <thetext>ostapenko, did I missing something or LayoutTests/platform/qt/fast/events/click-focus-control-expected.txt and LayoutTests/fast/events/click-focus-control-expected.txt are equal?

if so, you only need the latter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211989</commentid>
    <comment_count>14</comment_count>
      <attachid>53258</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-04-13 10:07:23 -0700</bug_when>
    <thetext>Created attachment 53258
Fix update</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>229919</commentid>
    <comment_count>15</comment_count>
      <attachid>56930</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-05-24 14:49:07 -0700</bug_when>
    <thetext>Created attachment 56930
Add comment to Changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>230237</commentid>
    <comment_count>16</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-05-25 06:03:56 -0700</bug_when>
    <thetext>Patch makes Mac the only port where html elements are non-mouse-focusable, which seems reasonable. So although patch LGTM, I would rather ask in the mailing list first if there are other ports interested in keeping the current behaviour, e.g. Chromium and Qt on Mac (?) for consistency.

also, adding ap as a potential reviewer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>231858</commentid>
    <comment_count>17</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-05-28 12:07:11 -0700</bug_when>
    <thetext>+# Mac shouldn&apos;t focus on some control elements 
+# https://bugs.webkit.org/show_bug.cgi?id=22261 
+fast/events/click-focus-control.html 

The test should have Mac-specific results then, to guarantee that this doesn&apos;t regress.

I&apos;m not sure how to decide where this is desirable. I&apos;d expect Windows Safari to behave the same as Mac Safari does. And maybe Mac versions of all WebKit-based browsers. Or perhaps all WebKit based browsers should work the same - there is no discussion of actual user facing problems here, so I&apos;m not sure what exactly needs to be fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232894</commentid>
    <comment_count>18</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-06-01 12:11:20 -0700</bug_when>
    <thetext>(In reply to comment #17)
&gt; +# Mac shouldn&apos;t focus on some control elements 
&gt; +# https://bugs.webkit.org/show_bug.cgi?id=22261 
&gt; +fast/events/click-focus-control.html 
&gt; 
&gt; The test should have Mac-specific results then, to guarantee that this doesn&apos;t regress.

Ok. Do I have to add MAC specific ...-expected.txt to MAC folder?

&gt; I&apos;m not sure how to decide where this is desirable. 
&gt; I&apos;d expect Windows Safari to behave the same as Mac Safari does. 

Actually, this bug is reported against windows safari ;)
And I find somewhat weird, that some UI elements are &quot;more equal&quot; than others on MAC. Why some elements can be focused and some not? There was similar issue with keyboard tab stops on MAC (for all dialogs), but recently it was fixed and now it is possible to enable &quot;Full Keyboard Access&quot;.

&gt; And maybe Mac versions of all WebKit-based browsers. 
&gt; Or perhaps all WebKit based browsers should work the same

There is an opinion, that html control elements should work the same on all platforms (at least for qtwebkit). 

&gt; - there is no discussion of actual user facing problems here, so I&apos;m not sure what exactly needs to be fixed.

There are several reports about the same issue here, so I think there is an issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232902</commentid>
    <comment_count>19</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-06-01 12:26:50 -0700</bug_when>
    <thetext>&gt; There are several reports about the same issue here, so I think there is an issue.

OK, so what the issue is? Is it just being different from other browsers, or causing problems to users? Are there any sites affected?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232918</commentid>
    <comment_count>20</comment_count>
    <who name="Daniel Wagner-Hall">dawagner</who>
    <bug_when>2010-06-01 12:54:49 -0700</bug_when>
    <thetext>The problem is just different behaviour to other browsers - affects Chrome and Safari on Windows where this is definitely not the expected behaviour.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>232940</commentid>
    <comment_count>21</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-06-01 13:49:51 -0700</bug_when>
    <thetext>From this comment it seems that the original intention was just to create a different behavior for Safari on the MAC.

&lt;&lt;In Safari we don&apos;t want to take the focus away from a text field when we click on, say, a form button. But I suspect this could be something specific to Macintosh, so I am leaving this code here inside !APPLE_CHANGES. This will probably change when we do more of the keyboard navigation work.&gt;&gt;

This changeset - http://trac.webkit.org/changeset/5345 factored the APPLE_CHANGES guard out and lost the original intention to make this change only for MAC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237219</commentid>
    <comment_count>22</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-06-11 19:02:28 -0700</bug_when>
    <thetext>Any update on this? Antonio, is this slightly related to what you have been working on? like the editing behaviour that is also different for each platform?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237794</commentid>
    <comment_count>23</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-06-14 06:29:51 -0700</bug_when>
    <thetext>(In reply to comment #22)
&gt; Any update on this? Antonio, is this slightly related to what you have been working on? like the editing behaviour that is also different for each platform?

I think it can be a platform specific editing behavior, yes. Darin, Ojan, what do you think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238133</commentid>
    <comment_count>24</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-06-14 16:37:40 -0700</bug_when>
    <thetext>Making this a Mac vs. Windows difference could lead to websites that work only on Mac or only on Windows. So it’s undesirable.

But generally speaking, clicking on a button on Mac OS X does not focus that button.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238137</commentid>
    <comment_count>25</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2010-06-14 16:48:38 -0700</bug_when>
    <thetext>(In reply to comment #24)
&gt; Making this a Mac vs. Windows difference could lead to websites that work only on Mac or only on Windows. So it’s undesirable.

What about other browsers? Only webkit based browsers have this kind of behavior.

&gt; But generally speaking, clicking on a button on Mac OS X does not focus that button.

But other platforms do focus. And this was initial behavior here, as I understand, and later #ifdef was lost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238138</commentid>
    <comment_count>26</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-06-14 16:50:14 -0700</bug_when>
    <thetext>(In reply to comment #25)
&gt; (In reply to comment #24)
&gt; &gt; But generally speaking, clicking on a button on Mac OS X does not focus that button.
&gt; 
&gt; But other platforms do focus.

Yes.

&gt; And this was initial behavior here, as I understand, and later #ifdef was lost.

Don’t read too much into the #ifdef. At first, every single WebKit change had APPLE_CHANGES around it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239012</commentid>
    <comment_count>27</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-06-16 12:02:14 -0700</bug_when>
    <thetext>(In reply to comment #24)
&gt; Making this a Mac vs. Windows difference could lead to websites that work only on Mac or only on Windows. So it’s undesirable.
&gt; 
&gt; But generally speaking, clicking on a button on Mac OS X does not focus that button.

I agree that making this a Mac vs. Win/Linux difference is undesirable. It&apos;s not clear to me what conclusion to draw from that though. 

Every other browser, including Firefox-Mac and Opera-mac, focuses buttons on mousedown. For the sake of compatibility with other browsers, I think we should make buttons mouse focusable. Otherwise, we put a burden on web developers to send WebKit down a different codepath.

It&apos;s hard to find sites that break due to this because they&apos;ll often work around it. For example, Gmail used to have code to work around this before they moved to div-based buttons. I&apos;m sure other sites have the same. Consistency with other browsers seems like a sufficient argument to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>239128</commentid>
    <comment_count>28</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-06-16 15:54:40 -0700</bug_when>
    <thetext>(In reply to comment #27)
&gt; Every other browser, including Firefox-Mac and Opera-mac, focuses buttons on mousedown.

OK, I think we can live with it in future Safari.

Now we just need to deal with that other issue, Safari has done it this way for 8 years so there’s a good chance sites have Safari-specific code paths depending on the old behavior. And this goes even more for things like Dashboard. So ... we have to find out if that’s true and figure out what to do about it.

This comes up often in the WebKit project, so there is some understanding about how to make changes like this. We need some time and some testing to find out if we can just completely drop the old behavior or if we need it in some places.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>247205</commentid>
    <comment_count>29</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-07-06 14:01:22 -0700</bug_when>
    <thetext>fwiw, spun off Qt only bug is bug 40641</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255037</commentid>
    <comment_count>30</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-07-22 16:04:12 -0700</bug_when>
    <thetext>&gt; This comes up often in the WebKit project, so there is some understanding about how to make changes like this. We need some time and some testing to find out if we can just completely drop the old behavior or if we need it in some places.

Darin, just checking back in on this. Is this still on someone&apos;s TODO list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255088</commentid>
    <comment_count>31</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-07-22 17:15:30 -0700</bug_when>
    <thetext>(In reply to comment #30)
&gt; Darin, just checking back in on this. Is this still on someone&apos;s TODO list?

Maybe there’s a misunderstanding. I don’t think I said it was on anyone’s to do list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255106</commentid>
    <comment_count>32</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-07-22 17:41:22 -0700</bug_when>
    <thetext>&gt; Maybe there’s a misunderstanding. I don’t think I said it was on anyone’s to do list.

Yup, there is a misunderstanding. :) Can you describe what you had in mind in comment 28 for testing whether we can make this change? I&apos;m just trying to understand how to move this forward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255149</commentid>
    <comment_count>33</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-07-22 18:53:31 -0700</bug_when>
    <thetext>(In reply to comment #32)
&gt; &gt; Maybe there’s a misunderstanding. I don’t think I said it was on anyone’s to do list.
&gt; 
&gt; Yup, there is a misunderstanding. :) Can you describe what you had in mind in comment 28 for testing whether we can make this change? I&apos;m just trying to understand how to move this forward.

Someone working on WebKit needs to do some research to see if Dashboard widgets are affected by the change. And do some additional research to see if there are websites depending on the old behavior.

Anyone with a Mac can also get the widgets at &lt;http://www.apple.com/downloads/dashboard/&gt;.

Some people may have a way to do research on what sites on the web might be affected. I’ve heard that Google has some tools that might help with this sort of research.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>255491</commentid>
    <comment_count>34</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-07-23 11:46:42 -0700</bug_when>
    <thetext>&gt; Someone working on WebKit needs to do some research to see if Dashboard widgets are affected by the change. And do some additional research to see if there are websites depending on the old behavior.

Is there any documentation on how to test Dashboard widgets with a local WebKit build?

&gt; Some people may have a way to do research on what sites on the web might be affected. I’ve heard that Google has some tools that might help with this sort of research.

The only tool I know of for this sort of thing is a instrumented Chrome with and without a given patch that loads web pages and looks for &quot;significant&quot; layout differences. I don&apos;t think it would work for this since it requires mouse interaction.

I&apos;ll try and make some time to do this testing (or find someone who can).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292119</commentid>
    <comment_count>35</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-10-09 08:29:53 -0700</bug_when>
    <thetext>*** Bug 19104 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>292328</commentid>
    <comment_count>36</comment_count>
      <attachid>56930</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-10-10 11:15:36 -0700</bug_when>
    <thetext>Comment on attachment 56930
Add comment to Changelog.

The change to mac/Skipped is wrong.  Also this patch is blocked on compat testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>293384</commentid>
    <comment_count>37</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-10-13 06:17:52 -0700</bug_when>
    <thetext>This bug should not block QtWebKit 2.0 tracker bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331267</commentid>
    <comment_count>38</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-01-08 14:03:24 -0800</bug_when>
    <thetext>*** Bug 18425 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331269</commentid>
    <comment_count>39</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-01-08 14:03:31 -0800</bug_when>
    <thetext>*** Bug 52102 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331273</commentid>
    <comment_count>40</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-01-08 14:04:55 -0800</bug_when>
    <thetext>*** Bug 22233 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>331303</commentid>
    <comment_count>41</comment_count>
    <who name="Darth">priyajeet.hora</who>
    <bug_when>2011-01-08 15:23:33 -0800</bug_when>
    <thetext>Any updates on this issue and what has the conclusion been to get this fixed? Since we are in the realm of browsers, isn&apos;t it better to be consistent whenever possible with the prevailing majority (assuming logically-correct behavior of course)? Right now I notice that hyperlinks and inputs etc get focus in IE and FF and opera irrespective of the platform, however Chrome and Safari on either platform don&apos;t. I just hope this issue is not ignored because Safari on mac had a behavior X that is dictating the same behavior on other platforms and Chrome.

As for imapact, I think focusing on hyperlinks (Bug 18425) would be useful and :focus working. As people will notice with CSS3 becoming more popular, lot of website have started using &lt;a&gt; decorated with css as buttons. Events being fired properly will help developers just in case they are doing something when this type of button gets focused.

Some other site issues
http://code.google.com/p/chromium/issues/detail?id=42157</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>426735</commentid>
    <comment_count>42</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-06-23 22:45:21 -0700</bug_when>
    <thetext>*** Bug 63299 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>428336</commentid>
    <comment_count>43</comment_count>
    <who name="Levi Weintraub">leviw</who>
    <bug_when>2011-06-27 14:54:25 -0700</bug_when>
    <thetext>FWIW, Bug 38696 is similar, and similarly stalled on testing I&apos;m not sure how exactly to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>702051</commentid>
    <comment_count>44</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-08-22 10:46:50 -0700</bug_when>
    <thetext>Related issue: http://code.google.com/p/chromium/issues/detail?id=142188

Maybe we need to tie this due to editing behavior. I&apos;m pretty certain we want it be focusable on all non-Mac platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>721539</commentid>
    <comment_count>45</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2012-09-15 21:46:29 -0700</bug_when>
    <thetext>(In reply to comment #44)
&gt; Related issue: http://code.google.com/p/chromium/issues/detail?id=142188
&gt; 
&gt; Maybe we need to tie this due to editing behavior. I&apos;m pretty certain we want it be focusable on all non-Mac platforms.

Perhaps it should depend on tab-focus policy. My feeling is that this behavior is appropriate if and only if buttons are tab-focusable. In Safari on Mac (and probably other Mac browsers) they are not by default, but can be set to be in the tab cycle (via both System Preferences and Safari Preferences).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>734895</commentid>
    <comment_count>46</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-10-04 11:47:58 -0700</bug_when>
    <thetext>(In reply to comment #45)
&gt; (In reply to comment #44)
&gt; &gt; Related issue: http://code.google.com/p/chromium/issues/detail?id=142188
&gt; &gt; 
&gt; &gt; Maybe we need to tie this due to editing behavior. I&apos;m pretty certain we want it be focusable on all non-Mac platforms.
&gt; 
&gt; Perhaps it should depend on tab-focus policy. My feeling is that this behavior is appropriate if and only if buttons are tab-focusable. In Safari on Mac (and probably other Mac browsers) they are not by default, but can be set to be in the tab cycle (via both System Preferences and Safari Preferences).

So, to be clear, you&apos;re disagreeing with Darin&apos;s preference to avoid Mac vs Windows differences? I&apos;m OK with making this a Setting. I&apos;d rather do that than an editing behavior since Chrome will want to do this on Mac as well.

FWIW, here&apos;s another bug report we&apos;ve received about how this causes web developers difficulties:
&quot;I have a div which is set to -webkit-user-modify: read-write. When i place my cursor in the div, it gets focus and indeed accepts input. When I tap outside of the div, I get a blur event on the div, and lose focus. So far so good and as expected.

If I however tap on a button which is outside of the div, then I do get a blur event, yet my cursor remains on screen and indeed continues to accept input. Even though the div now no longer has focus (it even loses the blue focus border).  I&apos;ve attached a quick demo html to this email.

My code had assumed that when my content editable div loses focus (receives a blur), then I stop listening for DOM Mutations. Clearly, if it still can receive input even when it hasn&apos;t got focus that means my code is broken. Is this is a bug, or should I somehow use something else than the blur event to determine when my div will stop accepting input ?&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>734904</commentid>
    <comment_count>47</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-10-04 11:53:12 -0700</bug_when>
    <thetext>(In reply to comment #46)
&gt; If I however tap on a button which is outside of the div, then I do get a blur event, yet my cursor remains on screen and indeed continues to accept input. Even though the div now no longer has focus (it even loses the blue focus border).  I&apos;ve attached a quick demo html to this email.
&gt; 
&gt; My code had assumed that when my content editable div loses focus (receives a blur), then I stop listening for DOM Mutations. Clearly, if it still can receive input even when it hasn&apos;t got focus that means my code is broken. Is this is a bug, or should I somehow use something else than the blur event to determine when my div will stop accepting input ?&quot;

This is not caused by this bug. The focus has moved. The selection hasn&apos;t. See https://bugs.webkit.org/show_bug.cgi?id=38696 and https://bugs.webkit.org/show_bug.cgi?id=61310.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>734912</commentid>
    <comment_count>48</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2012-10-04 12:02:27 -0700</bug_when>
    <thetext>(In reply to comment #47)
&gt; This is not caused by this bug. The focus has moved. The selection hasn&apos;t. See https://bugs.webkit.org/show_bug.cgi?id=38696 and https://bugs.webkit.org/show_bug.cgi?id=61310.

I suppose there are multiple bugs here. document.activeElement points to the body, not the button after the click. The focus moved, but not to the button. That said, I agree that fixing the other two bugs would address that issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>734925</commentid>
    <comment_count>49</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2012-10-04 12:24:02 -0700</bug_when>
    <thetext>(In reply to comment #46)
&gt; (In reply to comment #45)
&gt; &gt; (In reply to comment #44)
&gt; &gt; &gt; Related issue: http://code.google.com/p/chromium/issues/detail?id=142188
&gt; &gt; &gt; 
&gt; &gt; &gt; Maybe we need to tie this due to editing behavior. I&apos;m pretty certain we want it be focusable on all non-Mac platforms.
&gt; &gt; 
&gt; &gt; Perhaps it should depend on tab-focus policy. My feeling is that this behavior is appropriate if and only if buttons are tab-focusable. In Safari on Mac (and probably other Mac browsers) they are not by default, but can be set to be in the tab cycle (via both System Preferences and Safari Preferences).
&gt; 
&gt; So, to be clear, you&apos;re disagreeing with Darin&apos;s preference to avoid Mac vs Windows differences? I&apos;m OK with making this a Setting. I&apos;d rather do that than an editing behavior since Chrome will want to do this on Mac as well.

My suggestion is not to make it any of a hardcoded Mac vs Windows difference, a Setting, or an editing behavior. My suggestion is that non-text form controls such as buttons should be focusable by click if and only if they are focusable in the tab cycle. And likewise for links.

This could be achieved by making HTMLFormControlElement::isMouseFocusable() check document()-&gt;frame()-&gt;eventHandler()-&gt;tabsToAllFormControls(), which has platform-specific implementations, some of which always return true, and others of which (Mac in particular) make it a runtime setting and others which might return always false.

For clarity it may make sense to add EventHandler::allFormControlsAcceptMouseFocus() which just calls tabsToAllFormControls.

It is true that this will create a web-content-observable difference that is partly a platform difference. However, we already have such a difference for tab-focus. It seems sensible to me to make mouse-focus consistent with tab-focus, even though it slightly expands the scope of the difference.

This would also allow removing the hardcoded special case for Gtk and Qt.

[...snip specific issue report because I agree with Ryosuke that it&apos;s actually a different bug...]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>798397</commentid>
    <comment_count>50</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-12-31 19:16:46 -0800</bug_when>
    <thetext>*** Bug 105690 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>899246</commentid>
    <comment_count>51</comment_count>
    <who name="Manish">manish3177</who>
    <bug_when>2013-06-11 12:03:25 -0700</bug_when>
    <thetext>It&apos;s been 4.5 years since this bug was first reported. Presumably the fix is simple (I looked at the patch) but it seems Apple folks (Darian, Alexey, etc.) can&apos;t agree to it and the debate is still going on. Let me make another pitch for it:

This makes webkit different from everything else on Windows. I don&apos;t care about Safari on Mac or Windows but sadly this affects Chrome on Windows, which I do care about. See comment #20 from Daniel. I strongly urge the Apple folks to be a little open minded about this. It DOES affect end users.

This was apparently not the behavior in the original webkit but it was inadvertently introduced due to &quot;code cleanup&quot;. See comment #21 from Lazlo.

Regarding the option to make it configurable (comment #49 from Maciej), that would work as long as the default on Windows is the behavior that is being asked for. Obviously, the Apple group doesn&apos;t want that default for Mac, so the default will have to be conditionally compiled. So that would essentially make the configuration choice pointless because no one would bother changing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>899249</commentid>
    <comment_count>52</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-06-11 12:11:15 -0700</bug_when>
    <thetext>Chrome has forked WebKit, and they have a separate bug database now. If you only care about Chrome, then WebKit bug database is not the right place for advocacy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>899250</commentid>
    <comment_count>53</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2013-06-11 12:13:24 -0700</bug_when>
    <thetext>Manish: We are fixing this in Blink

https://code.google.com/p/chromium/issues/detail?id=89708
https://codereview.chromium.org/16194013/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>899610</commentid>
    <comment_count>54</comment_count>
    <who name="Manish">manish3177</who>
    <bug_when>2013-06-12 10:21:11 -0700</bug_when>
    <thetext>(In reply to comment #53)
&gt; Manish: We are fixing this in Blink
&gt; 
&gt; https://code.google.com/p/chromium/issues/detail?id=89708
&gt; https://codereview.chromium.org/16194013/

That&apos;s really good to hear. I look forward to the fix and will keep an eye on it. Thanks for the update, Eric.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1707518</commentid>
    <comment_count>55</comment_count>
    <who name="">bugs.webkit.org</who>
    <bug_when>2020-11-14 11:12:25 -0800</bug_when>
    <thetext>I know it has been a while but... any update or clear status for this strange bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1712586</commentid>
    <comment_count>56</comment_count>
    <who name="Martyn Chamberlin">martyn.chamberlin</who>
    <bug_when>2020-12-07 13:40:38 -0800</bug_when>
    <thetext>It&apos;s nothing short of bizarre that this bug is more than 12 years old and yet still plagues Safari. This is resulting in places that we would prefer using `display: flex` to instead be obliged to use `display: grid`. Someone please tell me that they&apos;re working on fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1744780</commentid>
    <comment_count>57</comment_count>
    <who name="Dave">dave.batiste</who>
    <bug_when>2021-03-29 10:56:21 -0700</bug_when>
    <thetext>Adding my vote that it&apos;s pretty terrible that this behavior is different than the rest of the browsers, going on 13 years.  It would seem that this bug makes the recent for for &quot;:focus-visible&quot; pointless in Safari. Having to find work-arounds for components that rely on the focus not arbitrarily moving to the body when a user clicks a button.  This bug is forcing people to do hacky things. Is their any intention of fixing this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750567</commentid>
    <comment_count>58</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2021-04-15 04:15:45 -0700</bug_when>
    <thetext>(In reply to Dave from comment #57)
&gt; Adding my vote that it&apos;s pretty terrible that this behavior is different
&gt; than the rest of the browsers, going on 13 years.  It would seem that this
&gt; bug makes the recent for for &quot;:focus-visible&quot; pointless in Safari. Having to
&gt; find work-arounds for components that rely on the focus not arbitrarily
&gt; moving to the body when a user clicks a button.  This bug is forcing people
&gt; to do hacky things. Is their any intention of fixing this?

I believe that if we use :focus-visible in the default UA stylesheet, then we could make buttons focusable even on Mac platform, as they won&apos;t be showing any focus ring (which I understand it&apos;s something people want to avoid).

This will differ from the general Mac platform behavior somehow, but will align us with other browsers (Firefox has recently changed this in Mac too).
Also current WebKit behavior on Mac (e.g. an &lt;input&gt; loses focus when you click a &lt;button&gt;) doesn&apos;t match exactly what happens in the Mac platform (see https://bugzilla.mozilla.org/show_bug.cgi?id=1699570#c1).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750796</commentid>
    <comment_count>59</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-04-15 15:27:35 -0700</bug_when>
    <thetext>(In reply to Manuel Rego Casasnovas from comment #58)
&gt; (In reply to Dave from comment #57)
&gt; &gt; Adding my vote that it&apos;s pretty terrible that this behavior is different
&gt; &gt; than the rest of the browsers, going on 13 years.  It would seem that this
&gt; &gt; bug makes the recent for for &quot;:focus-visible&quot; pointless in Safari. Having to
&gt; &gt; find work-arounds for components that rely on the focus not arbitrarily
&gt; &gt; moving to the body when a user clicks a button.  This bug is forcing people
&gt; &gt; to do hacky things. Is their any intention of fixing this?
&gt; 
&gt; I believe that if we use :focus-visible in the default UA stylesheet, then
&gt; we could make buttons focusable even on Mac platform, as they won&apos;t be
&gt; showing any focus ring (which I understand it&apos;s something people want to
&gt; avoid).

Not really. Buttons can&apos;t be focused via keyboard by default, for example, and it&apos;s non-sensical for a button to have a focus. That&apos;s not really a thing on macOS unless you change the system preferences.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1760701</commentid>
    <comment_count>60</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-05-17 02:18:34 -0700</bug_when>
    <thetext>*** Bug 20138 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1760704</commentid>
    <comment_count>61</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2021-05-17 02:52:07 -0700</bug_when>
    <thetext>*** Bug 118043 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1760986</commentid>
    <comment_count>62</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-05-17 18:21:30 -0700</bug_when>
    <thetext>This is behaving as intended.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762955</commentid>
    <comment_count>63</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-05-23 13:48:47 -0700</bug_when>
    <thetext>*** Bug 26856 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763265</commentid>
    <comment_count>64</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-05-24 15:02:45 -0700</bug_when>
    <thetext>*** Bug 226148 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763291</commentid>
    <comment_count>65</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2021-05-24 15:48:41 -0700</bug_when>
    <thetext>I recently came across this bug and posted report:
https://bugs.webkit.org/show_bug.cgi?id=226148

It seems that the prevailing gate keepers attitude is that Safari is an operating system, not a browser that must adhere to consistent behavior and standards. There was another browser like that though I can&apos;t seem to remember it&apos;s name...

The primary point is that a successful product or service does what it&apos;s users need. When people in leadership positions fail to comprehend that most fundamental aspect of usability those products and services fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763293</commentid>
    <comment_count>66</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-05-24 15:50:54 -0700</bug_when>
    <thetext>(In reply to John A. Bilicki III from comment #65)
&gt; It seems that the prevailing gate keepers attitude is that Safari is an
&gt; operating system

What? No.

&gt; When people in leadership positions fail to comprehend that most
&gt; fundamental aspect of usability those products and services fail.

Could you be more specific?

I think you are saying that you don’t agree that Safari should match how focus works on Mac and instead needs to match how focus works on Windows?

How does that makes Safari an operating system?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763312</commentid>
    <comment_count>67</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2021-05-24 16:24:21 -0700</bug_when>
    <thetext>&gt; When people in leadership positions fail to comprehend that most
&gt; fundamental aspect of usability those products and services fail.

&gt;Could you be more specific?

Safari is not accessible; most designers and developers who don&apos;t own one to simply test Safari (I do, though I still don&apos;t have text labels on the GUI buttons or even a Reload button that I could at least have to go out of my way to enable for crying out loud so why would I willingly use it). They&apos;re wildly expensive considering not only the markup on the hardware though also the inability to customize the GUI or to be more precise without spending even more money. This removes incentives for many designers and developers to buy Apple products. So when those websites break those designers and developers do not care because if they do care about something it&apos;s about creating consistent behavior with the hardware and software that they do have access to. And that is for those trying to build websites don&apos;t just give up, abandon their customers and go in to something unrelated like selling insurance. That isn&apos;t how you create brand loyalty, that is how you create a cult, one that will one day be very easily convertible.

&gt; How does that makes Safari an operating system?

No, Safari is a browser - the attitude of the gatekeepers here is to treat Safari like the operating system with it&apos;s limiting attitudes. In this situation the only proper thing to do is make the browser consistent in behavior, that is the point of cross-browser consistency. The attitudes could be constructively channeled in to creating an opt-in option to make Safari non-consistent with other browsers though consistent with the operating system.

Besides, most importantly - what is the benefit of not focusing a button? That is literal anti-accessibility.

The point of my bug report was to make my web platform extremely accessible to my users. The example was having 50 out of 100 email messages test messages that I just want to delete and obviously the check-all checkbox isn&apos;t a viable option in such a scenario. I wrote a script that when you press the up or down array key after clicking a checkbox would navigate to the next checkbox above or below and change it&apos;s checked state to that of the previous checkbox - absolutely genius as it&apos;s much faster, accurate and most importantly saves time! Most people don&apos;t want to have to battle their computer to do something simple in their minds, they have lives or are at least battling to get their lives on track. There are literally groups of people dedicated towards accessibility and usability literally telling whoever the gatekeepers are here for the past 13+ years at this point that the end user who actually uses products or services is more important than some snob&apos;s attitude who presumes that because they wouldn&apos;t use it that no one would. If you drive then you know that most other people are idiots. So yes, other people DO things that you wouldn&apos;t, though you might be the fool with five lanes though still blocking incoming traffic from on-ramps doing 15 slower than everyone else creating dangerous scenarios all in the name of driving &quot;slow is safe&quot;. I&apos;ve only had my success not by being wrong though by becoming aware of when I&apos;m wrong. When someone wants to do something that I don&apos;t understand on my platform I resolve to know if it ultimately serves a use to someone that allows them to accomplish something even if I would never personally find any use for such a scenario. My goal is to make other people&apos;s lives better and the idea that I know all or that my personal preferences are somehow the end-all-be-all is not an attitude I tolerate, most especially in myself.

So the choice is simple: either do what people need and want or continue to enforce the ivory tower attitude.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763396</commentid>
    <comment_count>68</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-05-24 19:56:15 -0700</bug_when>
    <thetext>(In reply to John A. Bilicki III from comment #67)
&gt; what is the benefit of not focusing a button?

This is the benefit:

Mac users expect the focus to remain in the text field if you click on a button. That’s what happens everywhere else on their computer in all the Mac applications. It’s a benefit that buttons work as expected, consistent with other buttons on the Mac, and don&apos;t pull the focus away from the text field you are already typing in.

I understand that if you’ve never used a Mac you might not be aware that this is a benefit, but I assure you that it is.

If I understand your argument correctly, reading through and trying not to be offended by the repeated accusations of bad faith, bad intentions, and insufficient empathy for our fellow human beings, you are saying that this choice makes it impossible to make websites work accessibly, and is simply an expression of arrogance and bad decision making and a lack of care for other people.

That’s not our intent. We’d like this to fit in well with other Mac software.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763413</commentid>
    <comment_count>69</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2021-05-24 20:27:34 -0700</bug_when>
    <thetext>&gt; I understand that if you’ve never used a Mac you might not be aware that this is a benefit, but I assure you that it is.

Please share an easy to comprehend example of how having the focus remain on a previous element after clicking on another is somehow beneficial, especially when it creates an inconsistent behavior between browsers when the topic if explicitly NOT about operating systems. I have an overpriced two-core 8GB under-powered Mac Mini from 2014 (released after they had already released quad cores as the lowest cost Mac Mini previously) that still did not include an SSD while costing minimally twice the price of better equipped PCs that I can test everything on though can not physically upgrade.

Also, please tell me how (if when my mouse stops working and I only have a keyboard at my immediate disposal) that not being able to activate buttons because buttons can&apos;t be focused somehow helps me?

&gt; That’s not our intent. We’d like this to fit in well with other Mac software.

I get wanting to have things fit well as an overall platform - I&apos;m the solo-founder of an entire platform myself. The problem: we&apos;re talking about browser consistency, not operating systems. Your platform isn&apos;t easily accessible due to it&apos;s high cost and low compatibility - I don&apos;t have the option to operate a Mac the way *I* need to operate the Mac and therefore at best I simply use it to test Safari. Most people don&apos;t start out with a Mac just laying around and these inconsistencies will Microsoft&apos;s near-monopolist market share reduce the overall user experience on Macs. I absolutely get the seething hatred towards Microsoft and their ... antics however if you believe in creating a successful product or service that competes with counterparts such as other browsers it needs to have meet standards and have consistent behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763477</commentid>
    <comment_count>70</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2021-05-25 05:07:24 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #68)

&gt; Mac users expect the focus to remain in the text field if you click on a
&gt; button. That’s what happens everywhere else on their computer in all the Mac
&gt; applications. It’s a benefit that buttons work as expected, consistent with
&gt; other buttons on the Mac, and don&apos;t pull the focus away from the text field
&gt; you are already typing in.

Thank you for explaining this. I had no idea about this.

What about button-type input or HTML buttons which are not related to a textfield?

Epiphany 3.32.1.2 (which uses WebKitGTK+ 2.30.6) under Linux focuses button-type input:
http://www.gtalbot.org/DHTMLSection/AdvancedCSSButtons.html

What about radio buttons and check boxes?

from #c7:
&gt; 1. Radio buttons and check boxes are not focusable by mouse
&gt; 2. Radio buttons and check boxes also not focusable through tabbed browsing.

from #c24
&gt; generally speaking, clicking on a button on Mac OS X does not focus that button.

&quot;
The focus event occurs when an element receives focus either via a pointing device or by tabbing navigation. This event is valid for the following elements: LABEL, INPUT, SELECT, TEXTAREA, and BUTTON.
&quot; 
coming from
https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-htmlevents

I have tried to see if this is still true in latest www.w3.org/TR/uievents/ and my attempt was inconclusive.

Disclaimer: Unfortunately, I do not use MacOS; so, I do not use Safari. I do not have access to a Mac or Safari (like in an Internet Cafe or have a friend living nearby who uses a Mac). I do not want anyone to presume that I imply or infer bad faith or bad intent or lack of empathy toward Safari developers or MacOS engineers. I do not want people to think that my questions are trying to annoy or contradict MacOS or Safari developers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763490</commentid>
    <comment_count>71</comment_count>
    <who name="Dave">dave.batiste</who>
    <bug_when>2021-05-25 06:02:29 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #68)
&gt; (In reply to John A. Bilicki III from comment #67)
&gt; &gt; what is the benefit of not focusing a button?
&gt; 
&gt; This is the benefit:
&gt; 
&gt; Mac users expect the focus to remain in the text field if you click on a
&gt; button. That’s what happens everywhere else on their computer in all the Mac
&gt; applications. It’s a benefit that buttons work as expected, consistent with
&gt; other buttons on the Mac, and don&apos;t pull the focus away from the text field
&gt; you are already typing in.
&gt; 
&gt; I understand that if you’ve never used a Mac you might not be aware that
&gt; this is a benefit, but I assure you that it is.
&gt; 
&gt; If I understand your argument correctly, reading through and trying not to
&gt; be offended by the repeated accusations of bad faith, bad intentions, and
&gt; insufficient empathy for our fellow human beings, you are saying that this
&gt; choice makes it impossible to make websites work accessibly, and is simply
&gt; an expression of arrogance and bad decision making and a lack of care for
&gt; other people.
&gt; 
&gt; That’s not our intent. We’d like this to fit in well with other Mac software.

I fully appreciate that Apple has the best intentions in making buttons in Safari behave the same as buttons in MacOS apps, but web developers require browser consistency in order to deliver applications and features to those users. Without that consistency, developers are relegated to conditional code and terrible work-arounds to accommodate those differences in behavior, or worse, those features don&apos;t work properly in Safari (which is the case that prompted my previous reply).  If web apps break because of browser inconsistencies, users are certainly worse off. While I am sure Apple has (or at had) some use cases to justify this behavior, as a long-time Mac users I&apos;m not sure what the benefits are, and that ought to make designers think twice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763497</commentid>
    <comment_count>72</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2021-05-25 06:44:55 -0700</bug_when>
    <thetext>(In reply to Maciej Stachowiak from comment #49)

&gt; (...) should be focusable by click if and
&gt; only if they are focusable in the tab cycle. And likewise for links.

Bug 18425: Link doesn&apos;t receive focus when clicked
https://bugs.webkit.org/show_bug.cgi?id=18425</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1763556</commentid>
    <comment_count>73</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-05-25 10:13:37 -0700</bug_when>
    <thetext>(In reply to Dave from comment #71)
&gt; web developers require browser consistency in order to deliver applications and features to those users

I think this is the crux of the matter.

People are strongly encouraging Safari to adopt Windows-style focus on buttons, check boxes, etc., even though this is not natural for most macOS users, because the other browsers, all of which have more users on Windows than Mac, have chosen to make the browser world a world of Windows-style within a window, even on Mac.

Perhaps in the end the Safari will be *forced* to do this, because we simply can’t resist the tide of all those website developers who are relying on this aspect of how Windows works, perhaps without even being aware of that, within webpages. The webpages that are theoretically and aspirationally platform-independent, but in the end strongly depend on this specific behavior from Windows.

I do see these impassioned arguments, and I really don’t think the Safari team resistance comes from arrogance: We’re looking out for the many Mac users that find the web browser easier to use when it matches the rest of software on the Mac.

Some of these arguments start with the bizarre claim that Apple and Mac are intrinsically &quot;elitist&quot;. I really don’t know what to do with that claim; I have no intention of debating it.

But I do understand the claim that the Safari team must prioritize the ease of making a website work across browsers by people who will never test that website in Safari, and the strong request that we accept the Windows model on Mac to make that easier. And the related claim that some, or even many, Mac users don’t even care about the inconsistency between the browser and the rest of the Mac software, and those people are happy to accept that in Mac Chrome, for example.

On Mac, *nothing* except a text field focuses just because you click on it, unless you turn on accessibility options that allow you to use the keyboard to cycle through everything. Pushing a button does not focus the button. Clicking a check box does not focus the check box. On Windows, keyboard focus is a concept that’s on by default, and all of those things *do* happen. This difference has been around as long as Windows has; it’s one of a few key things that Microsoft changed when implementing concepts that were first on Mac.

And these accessibility options that change the focus rules need to affect focus even in web browsers. Thus, it is possible, perhaps even likely, websites that depend sensitively on exactly what is focused are effectively choosing to work only for certain people based on their accessibility options!

I suppose it may be too late to change the approach of the web platform. I’m a little sad that it seems &quot;you must match Windows; please drop things that are different about the Mac because it is too difficult to accommodate them and keep websites compatible&quot; is the strongly encouraged approach to cross-browser compatibility.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769254</commentid>
    <comment_count>74</comment_count>
    <who name="David Scourfield">bugzilla</who>
    <bug_when>2021-06-13 02:46:50 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #73)

&gt; Perhaps in the end the Safari will be *forced* to do this, because we simply can’t resist the tide of all those website developers who are relying on this aspect of how Windows works

[The HTML spec](https://html.spec.whatwg.org/multipage/interaction.html) actually calls out that:

&gt; the user agent might determine that an element is not click focusable even if it is focusable. For example, in some user agents, clicking on a non-editable form control does not focus it, i.e. the user agent has determined that such controls are not click focusable

So the behaviour of Safari on Mac in this case is perfectly fine, and standards-compliant.

However, the spec also states that:

&gt; User agents should consider focusable areas with non-null tabindex values to be click focusable.

Which I interpret as if a button has `tabindex=&quot;0&quot;` (or a positive integer) then it should always be focused after being clicked.  Currently Safari will treat buttons with non-null tabindex values just the same as buttons with null tabindex values, so this is a bug as it&apos;s a violation of the HTML spec.

IMO making buttons click focusable if they have a non-null tabindex value is an excellent compromise; it allows the user agent to behave in the system-default way for most situations whilst giving authors the ability to explicitly instruct the user agent that they require a particular button to be focused when clicked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769257</commentid>
    <comment_count>75</comment_count>
    <who name="Patrick H. Lauke">redux</who>
    <bug_when>2021-06-13 05:23:33 -0700</bug_when>
    <thetext>&quot;The webpages that are theoretically and aspirationally platform-independent, but in the end strongly depend on this specific behavior from Windows.&quot;

Two points here:

- it&apos;s not just Windows. The same also happens on most (all?) Linux distros and their window managers (and then browsers that run on them).
- for the web to work as a platform/host environment agnostic platform in its own right, it needs consistent paradigms. otherwise, you end up exactly back where this started with platform-specific quirks/differences in behaviors.

&quot; I’m a little sad that it seems &quot;you must match Windows; please drop things that are different about the Mac because it is too difficult to accommodate them and keep websites compatible&quot; is the strongly encouraged approach to cross-browser compatibility.&quot;

It&apos;s sad, yes, but that&apos;s the way cross-browser compatibility has worked for a while. Once certain patterns/approaches get entrenched and are widely relied on, other browsers usually have to grudgingly adapt. There have been plenty of cases where browsers have had to adopt things that were Safari/WebKit specific (e.g. all those prefixed CSS properties, that other browsers had to end up aliasing/emulating) in order to make sites work correctly.

&quot;making buttons click focusable if they have a non-null tabindex value is an excellent compromise; it allows the user agent to behave in the system-default way for most situations whilst giving authors the ability to explicitly instruct the user agent that they require a particular button to be focused when clicked.&quot;

not a big fan of requiring authors to once again add extra markup/putting the onus on them to fix sites to accommodate for an idiosyncratic quirk of one particular user agent...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769258</commentid>
    <comment_count>76</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2021-06-13 06:14:16 -0700</bug_when>
    <thetext>&gt; 1. Radio buttons and check boxes are not focusable by mouse
&gt; 2. Radio buttons and check boxes also not focusable through tabbed browsing.

Does latest Safari passes these 2 :checked pseudo-class tests?

http://wpt.live/css/selectors/old-tests/css3-modsel-25.xml

http://wpt.live/css/selectors/old-tests/css3-modsel-70.xml

Epiphany 3.32.1.2 (which uses WebKitGTK+ 2.32.1) under Linux passes those 2 tests.

https://www.w3.org/TR/selectors-3/#checked

- - - -

&gt; User agents *should consider* focusable areas with non-null tabindex values to be click focusable.
(...)
&gt; so this is a bug as it&apos;s a violation of the HTML spec.

Generally speaking, when reading a spec, &quot;SHOULD&quot; means recommended but not required. 
https://www.ietf.org/rfc/rfc2119.txt 
Along with &quot;consider&quot; verb, this means very little. So, this is not a violation of the HTML5 spec. Safari could still claim compliance with the HTML5 spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769262</commentid>
    <comment_count>77</comment_count>
    <who name="David Scourfield">bugzilla</who>
    <bug_when>2021-06-13 07:00:15 -0700</bug_when>
    <thetext>(In reply to Gérard Talbot from comment #76)
 
&gt; &gt; User agents *should consider* focusable areas with non-null tabindex values to be click focusable.
&gt; (...)
&gt; &gt; so this is a bug as it&apos;s a violation of the HTML spec.
&gt; 
&gt; Generally speaking, when reading a spec, &quot;SHOULD&quot; means recommended but not
&gt; required. 
&gt; https://www.ietf.org/rfc/rfc2119.txt 
&gt; Along with &quot;consider&quot; verb, this means very little. So, this is not a
&gt; violation of the HTML5 spec. Safari could still claim compliance with the
&gt; HTML5 spec.

Yes, agreed that &apos;should&apos; is a recommendation rather than a requirement, but nonetheless recommendations should not be so easily dismissed.  It&apos;s reasonable for content authors to expect user agents to adhering to the non-null tabindex recommendation from the spec, just as it&apos;s reasonable for Safari to choose not to focus on click by default.

I think you&apos;re misunderstanding the meaning of the verb &apos;consider&apos; in this context.  &apos;Consider X to be Y&apos; means that you should think of X as Y.  E.g., &apos;you should consider the case closed&apos; does not mean you should think about whether or not the case is closed, it means you should think _that_ the case is closed.

Therefore this sentence in the spec is not an instruction for UA authors _to think about whether they want to_ make such elements click focusable, it&apos;s an instruction for UA authors to _explicitly treat_ such elements as click focusable.  This is quite clear when reading the sentence in the context of the whole section of text in which it appears in the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769263</commentid>
    <comment_count>78</comment_count>
    <who name="David Scourfield">bugzilla</who>
    <bug_when>2021-06-13 07:06:17 -0700</bug_when>
    <thetext>(In reply to Patrick H. Lauke from comment #75)

&gt; not a big fan of requiring authors to once again add extra markup/putting
&gt; the onus on them to fix sites to accommodate for an idiosyncratic quirk of
&gt; one particular user agent...

Just like any other part of the spec, the onus is absolutely on content authors to understand it and accommodate it.  The spec explicitly states that focus-on-click is not a required behaviour for user agents, and content authors should therefore not take it for granted.

Equally the onus is on UA authors to adhere to the spec; which is why I think Safari should adopt the behaviour of treating focusable elements with a non-null tabindex as click-focusable, just as the spec says it should.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1769301</commentid>
    <comment_count>79</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2021-06-13 14:46:32 -0700</bug_when>
    <thetext>&gt;&gt; the user agent might determine that an element is not click focusable even if it is focusable. For example, in some user agents, clicking on a non-editable form control does not focus it, i.e. the user agent has determined that such controls are not click focusable

&gt;So the behavior of Safari on Mac in this case is perfectly fine, and standards-compliant.

Those are elements with the disabled attribute or are hidden by elements with greater z-index layers.

&gt;not a big fan of requiring authors to once again add extra markup/putting the onus on them to fix sites to accommodate for an idiosyncratic quirk of one particular user agent...

The more quirks we have to deal with the less time we get to spend with our families or on non-work related activities.

&gt;Generally speaking, when reading a spec, &quot;SHOULD&quot; means recommended but not required. 

The point of having a specification or standard is to ELIMINATE the quirks between browsers; the word &quot;SHOULD&quot; has ZERO justification to be in any specification or standard. When someone argues &quot;but...&quot; then THEY are required to distinguish scenarios one and two and clarify any other scenarios requiring clarification.

I&apos;ve personally encountered alarming amounts of incompetence in &quot;standards&quot; such as scrollbar-width. The entire Git conversation was monopolized by people arguing over literal absolute ambiguities. The word &apos;thin&apos; has zero absolute definition, it was useless because obviously what a Linux die-hard think is &quot;thin&quot; will differ from a Windows die-hard&apos;s version of &quot;thin&quot;. Therefore the &quot;standard&quot; is pseudo (not really) because it &quot;officialized&quot; ambiguity and ruins forward-compatibility. Therefore when work on my own browser engine begins my team will adhere to proper standards and ignore anything ambiguous. Will people be upset? Yes, though they aren&apos;t the ones stuck working until 4AM dealing with who have to be awake to help their families at 8AM.

I understand why there is a lot of animosity towards behavior associated with Microsoft products however a good idea is a good idea period. If Mao, Hitler or Stalin say 2 + 2 = 4 and then further clarify that they are explicitly using the decimal system (versus 1 + 1 (spoken) = three and not clarifying binary) the fact that those were absolute evil marxist dictators does not change the fact that the sentence they spoke is true. At the end of the day work on browser engines is either done in the context of helping humans or enforcing some arbitrary notion because of some completely unrelated hatred. Competence and good behavior of a rendering engine is in absolute more important in the context of helping your fellow human beings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1785283</commentid>
    <comment_count>80</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-08-18 17:07:21 -0700</bug_when>
    <thetext>*** Bug 229245 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790348</commentid>
    <comment_count>81</comment_count>
    <who name="Andy Blum">andy.blum.01</who>
    <bug_when>2021-09-03 13:52:42 -0700</bug_when>
    <thetext>Hi there! Sorry to stir up old discussions, but I think there&apos;s got to be some sort of better behavior that safari could do than the status quo.

The main issue I have here is with this assertion:

&gt; Mac users expect the focus to remain in the text field if you click on a button. That’s what happens everywhere else on their computer in all the Mac applications. It’s a benefit that buttons work as expected, consistent with other buttons on the Mac, and don&apos;t pull the focus away from the text field you are already typing in.

If this were the standard behavior and that clicking a button didn&apos;t pull focus from the item that currently had it - well, I could live with that. But that&apos;s not what happens in Safari.

Interacting with a button in safari drops focus entirely. It&apos;s not left on the previously focused element, it doesn&apos;t go to button, nothing gets focus. Focus just ceases to exist.

I&apos;ve made a codepen to hopefully illustrate my point: https://codepen.io/andy-blum/pen/ExXgxWO

Clicking into a text input raises the following events:
- mousedown 
- focus
- focusin
- mouseup
- click

Then, clicking into a directly adjacent button:
- mousedown (button)
- blur      (input)
- focusout  (input)
- mouseup   (button)
- click     (button)

So... where is the focus? The tabbing order is maintained, but the focus leaves both the input and button.

The reason I came across this bug recently was an issue for a search component listening for focusout events to close the type-ahead suggestions. Clicking the search button on this form closes the results and interrupts the submission of the form because the entire component loses focus before the button can even be clicked.

I understand the arguments of intention presented here, but the implementation
in Safari simply does not align with those intentions and breaks intuitive behavior web developers anticipate and experience in other browsers - regardless of OS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790350</commentid>
    <comment_count>82</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2021-09-03 13:56:00 -0700</bug_when>
    <thetext>Good point about dropping the focus. Not the same as the bug reported here; might be helpful to file a new more specific bug report about that problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790358</commentid>
    <comment_count>83</comment_count>
    <who name="Andy Blum">andy.blum.01</who>
    <bug_when>2021-09-03 14:07:05 -0700</bug_when>
    <thetext>Thanks for the response, Darin. I&apos;ve opened a new ticket here: https://bugs.webkit.org/show_bug.cgi?id=229895</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790359</commentid>
    <comment_count>84</comment_count>
    <who name="Andy Blum">andy.blum.01</who>
    <bug_when>2021-09-03 14:07:44 -0700</bug_when>
    <thetext>Thanks for the response, Darin. I&apos;ve opened a new ticket here: https://bugs.webkit.org/show_bug.cgi?id=229895</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790363</commentid>
    <comment_count>85</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2021-09-03 14:21:40 -0700</bug_when>
    <thetext>(In reply to Andy Blum from comment #84)
&gt; Thanks for the response, Darin. I&apos;ve opened a new ticket here:
&gt; https://bugs.webkit.org/show_bug.cgi?id=229895

Yeah, I think this is a good bug to fix assuming that it&apos;s web compatible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790463</commentid>
    <comment_count>86</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2021-09-03 19:15:55 -0700</bug_when>
    <thetext>Are you two serious? Instead of advocating to fix this bug you go out of your way to post another bug report to advocate the devs to dig in their heels?!

How about standardizing some devastating needed questions in the technology industry:

1. How does this help productive members of society?

2. Does this serve a useful purpose?

3. Should I be doing this?

4. Have I had a full, non-interrupted, rational conversation with multiple people who disagrees to help determine if I have objectively determined my answers to the first three questions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1800043</commentid>
    <comment_count>87</comment_count>
    <who name="Aaron Davidson">aaron</who>
    <bug_when>2021-10-04 07:07:38 -0700</bug_when>
    <thetext>While working around this non web-standard behavior, I notice that Safari Developer Tools lets you apply focus to a selected element at the top of the styles pane
This magically displays what it the element would look like if it could be focused i.e. Developer Tools has already addressed this bug - shame it didn&apos;t make it into the main browser window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1833771</commentid>
    <comment_count>88</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-01-25 10:37:06 -0800</bug_when>
    <thetext>*** Bug 235471 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1843254</commentid>
    <comment_count>89</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-02-17 19:46:36 -0800</bug_when>
    <thetext>*** Bug 236725 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892574</commentid>
    <comment_count>90</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-08-19 17:56:49 -0700</bug_when>
    <thetext>*** Bug 28630 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895059</commentid>
    <comment_count>91</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2022-08-30 22:03:24 -0700</bug_when>
    <thetext>*** Bug 13724 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075741</commentid>
    <comment_count>92</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-11-17 20:50:48 -0800</bug_when>
    <thetext>*** Bug 267449 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>25169</attachid>
            <date>2008-11-14 04:19:32 -0800</date>
            <delta_ts>2008-11-14 04:19:32 -0800</delta_ts>
            <desc>page demonstrating bug</desc>
            <filename>webkit_button_focus.html</filename>
            <type>application/xhtml+xml</type>
            <size>1036</size>
            <attacher name="Mike Capp">mike.capp</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlv
bmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRp
b25hbC5kdGQiPg0K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HRoZW4gY2xpY2sgb3RoZXIgYnV0dG9uID0+IHByaW1hcnkgbG9zZXMgZm9jdXM8L2xpPg0K
ICA8L3VsPg0KICA8cCBpZD0ibG9nIiBzdHlsZT0iY29sb3I6cmVkOyI+PC9wPg0KIDwvYm9keT4N
CjwvaHRtbD4NCg==
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40241</attachid>
            <date>2009-09-28 09:25:11 -0700</date>
            <delta_ts>2009-09-30 13:03:48 -0700</delta_ts>
            <desc>Fix for the html elements not focused by mouse</desc>
            <filename>focus_bug.diff</filename>
            <type>text/plain</type>
            <size>467</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvaHRtbC9IVE1MRm9ybUNvbnRyb2xFbGVtZW50LmNwcAo9PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
Ci0tLSBXZWJDb3JlL2h0bWwvSFRNTEZvcm1Db250cm9sRWxlbWVudC5jcHAJKHJldmlzaW9uIDQ4
MjYyKQorKysgV2ViQ29yZS9odG1sL0hUTUxGb3JtQ29udHJvbEVsZW1lbnQuY3BwCSh3b3JraW5n
IGNvcHkpCkBAIC0yNTcsMTEgKzI1Nyw3IEBACiAKIGJvb2wgSFRNTEZvcm1Db250cm9sRWxlbWVu
dDo6aXNNb3VzZUZvY3VzYWJsZSgpIGNvbnN0CiB7Ci0jaWYgUExBVEZPUk0oR1RLKQogICAgIHJl
dHVybiBIVE1MRWxlbWVudDo6aXNNb3VzZUZvY3VzYWJsZSgpOwotI2Vsc2UKLSAgICByZXR1cm4g
ZmFsc2U7Ci0jZW5kaWYKIH0KIAogc2hvcnQgSFRNTEZvcm1Db250cm9sRWxlbWVudDo6dGFiSW5k
ZXgoKSBjb25zdAo=
</data>
<flag name="review"
          id="21428"
          type_id="1"
          status="-"
          setter="darin"
    />
          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40393</attachid>
            <date>2009-09-30 13:03:48 -0700</date>
            <delta_ts>2009-09-30 13:06:52 -0700</delta_ts>
            <desc>Fix for the html elements not focused by mouse.</desc>
            <filename>scrollfix.diff</filename>
            <type>text/plain</type>
            <size>717</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">SW5kZXg6IHdydC9ydW50aW1lY29yZS93ZWJjYW52YXMuY3BwCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHdydC9y
dW50aW1lY29yZS93ZWJjYW52YXMuY3BwCShyZXZpc2lvbiAxODYyMykKKysrIHdydC9ydW50aW1l
Y29yZS93ZWJjYW52YXMuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC02NzYsOSArNjc2LDE2IEBACiB7
CiAgICAgV2ViQ2FudmFzUHJpdmF0ZSogcCA9IG1fd2ViQ2FudmFzLT5kOwogCisgICAgLy8gU3Vi
bWl0IGFsbCBwZW5kaW5nIHBhaW50cyBiZWZvcmUgc2Nyb2xsCisgICAgaWYoIXAtPm1fZGlydHlS
ZWdpb24uaXNFbXB0eSgpKQorICAgICAgICB1cGRhdGVSZXF1ZXN0ZWQodHJ1ZSk7CisKICAgICBz
Y3JvbGwoZHgsIGR5KTsKIAotICAgIHAtPm1fZGlydHlSZWdpb24gPSBRUmVnaW9uKCk7CisgICAg
Ly8gRm9yY2UgcmVwYWludCBvZiBzY3JvbGxlZCBhcmVhcyBpbW1lZGlhdGVseSwgYmVjYXVzZQor
ICAgIC8vIGlmIGRlbGF5ZWQgYnkgc2NyZWVuIHVwZGF0ZSBvcHRpbWl6YXRpb25zIGRpcnR5IGFy
ZWFzIAorICAgIC8vIGJlY29tZSB1bnN5bmMgd2l0aCB3ZWJraXQgc2Nyb2xsIHN0YXRlCisgICAg
UUFwcGxpY2F0aW9uOjpzZW5kUG9zdGVkRXZlbnRzKCk7CiB9CiAKIHZvaWQgV2ViQ2FudmFzV2lk
Z2V0OjpwYWludEV2ZW50KFFQYWludEV2ZW50ICpldikK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40394</attachid>
            <date>2009-09-30 13:06:52 -0700</date>
            <delta_ts>2010-04-12 23:50:10 -0700</delta_ts>
            <desc>Fix for the html elements not focused by mouse.</desc>
            <filename>focusingfix.diff</filename>
            <type>text/plain</type>
            <size>1164</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0ODk0NCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTMgQEAKKzIwMDktMDktMzAgIFZpYXRjaGVzbGF2IE9zdGFwZW5rbyAgPG9zdGFw
ZW5rby52aWF0Y2hlc2xhdkBub2tpYS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZ
IChPT1BTISkuCisKKyAgICAgICAgRml4IGZvY3VzaW5nIG9mIGNvbnRyb2wgZWxlbWVudHMgb24g
bW91c2UgY2xpY2suCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNn
aT9pZD0yMjI2MQorCisgICAgICAgICogaHRtbC9IVE1MRm9ybUNvbnRyb2xFbGVtZW50LmNwcDoK
KyAgICAgICAgKFdlYkNvcmU6OkhUTUxGb3JtQ29udHJvbEVsZW1lbnQ6OmlzTW91c2VGb2N1c2Fi
bGUpOgorCiAyMDA5LTA5LTMwICBKZXJlbXkgT3Jsb3cgIDxqb3Jsb3dAY2hyb21pdW0ub3JnPgog
CiAgICAgICAgIEJ1aWxkIGZpeCBmb3IgUVQuICBEaWRuJ3Qga25vdyBXZWJDb3JlLnBybyBleGlz
dGVkLgpJbmRleDogV2ViQ29yZS9odG1sL0hUTUxGb3JtQ29udHJvbEVsZW1lbnQuY3BwCj09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT0KLS0tIFdlYkNvcmUvaHRtbC9IVE1MRm9ybUNvbnRyb2xFbGVtZW50LmNwcAkocmV2aXNp
b24gNDg5MDkpCisrKyBXZWJDb3JlL2h0bWwvSFRNTEZvcm1Db250cm9sRWxlbWVudC5jcHAJKHdv
cmtpbmcgY29weSkKQEAgLTI1OSwxMCArMjU5LDEwIEBAIGJvb2wgSFRNTEZvcm1Db250cm9sRWxl
bWVudDo6aXNLZXlib2FyZEYKIAogYm9vbCBIVE1MRm9ybUNvbnRyb2xFbGVtZW50Ojppc01vdXNl
Rm9jdXNhYmxlKCkgY29uc3QKIHsKLSNpZiBQTEFURk9STShHVEspCi0gICAgcmV0dXJuIEhUTUxF
bGVtZW50Ojppc01vdXNlRm9jdXNhYmxlKCk7Ci0jZWxzZQorI2lmIFBMQVRGT1JNKE1BQykKICAg
ICByZXR1cm4gZmFsc2U7CisjZWxzZQorICAgIHJldHVybiBIVE1MRWxlbWVudDo6aXNNb3VzZUZv
Y3VzYWJsZSgpOwogI2VuZGlmCiB9CiAK
</data>
<flag name="review"
          id="21611"
          type_id="1"
          status="-"
          setter="eric"
    />
          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53227</attachid>
            <date>2010-04-12 23:50:10 -0700</date>
            <delta_ts>2010-04-13 10:07:23 -0700</delta_ts>
            <desc>Fix with layout test.</desc>
            <filename>control_mouse_focusing_fix.diff</filename>
            <type>text/plain</type>
            <size>5952</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">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Rlc3RD
b250cm9sbGVyLmR1bXBBc1RleHQoKTsKK30KKword2luZG93Lm9ubG9hZCA9IGZ1bmN0aW9uKCkK
K3sKKyAgICBpZiAoIXdpbmRvdy5sYXlvdXRUZXN0Q29udHJvbGxlcikKKyAgICAgICAgcmV0dXJu
OworCisgICAgZm9yICh2YXIgaSA9IDE7IGkgPD0gNTsgaSsrKSB7CisgICAgICAgIHZhciBhRWxl
bWVudCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdhJyArIGkpOworICAgICAgICBhRWxlbWVu
dC5vbmZvY3VzID0gaGFuZGxlRm9jdXM7CisgICAgICAgIGV2ZW50U2VuZGVyLm1vdXNlTW92ZVRv
KGFFbGVtZW50Lm9mZnNldExlZnQgKyAyLCBhRWxlbWVudC5vZmZzZXRUb3AgKyAyKTsKKyAgICAg
ICAgZXZlbnRTZW5kZXIubW91c2VEb3duKCk7CisgICAgICAgIGV2ZW50U2VuZGVyLm1vdXNlVXAo
KTsKKyAgICB9CisKKyAgICB2YXIgdGMgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgndGVzdC1j
b250YWluZXInKTsKKyAgICB0Yy5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKHRjKTsKK307CisKKzwv
c2NyaXB0PgorPC9ib2R5PgorPC9odG1sPgpJbmRleDogTGF5b3V0VGVzdHMvZmFzdC9ldmVudHMv
Y2xpY2stZm9jdXMtY29udHJvbC1leHBlY3RlZC50eHQKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gTGF5b3V0VGVz
dHMvZmFzdC9ldmVudHMvY2xpY2stZm9jdXMtY29udHJvbC1leHBlY3RlZC50eHQJKHJldmlzaW9u
IDApCisrKyBMYXlvdXRUZXN0cy9mYXN0L2V2ZW50cy9jbGljay1mb2N1cy1jb250cm9sLWV4cGVj
dGVkLnR4dAkocmV2aXNpb24gMCkKQEAgLTAsMCArMSwxMi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QudHh0OiBB
ZGRlZC4KKyAgICAgICAgKiBmYXN0L2V2ZW50cy9jbGljay1mb2N1cy1jb250cm9sLmh0bWw6IEFk
ZGVkLgorICAgICAgICAqIHBsYXRmb3JtL21hYy9Ta2lwcGVkOgorICAgICAgICAqIHBsYXRmb3Jt
L3F0L2Zhc3QvZXZlbnRzL2NsaWNrLWZvY3VzLWNvbnRyb2wtZXhwZWN0ZWQudHh0OiBBZGRlZC4K
KwogMjAxMC0wNC0xMiAgRGFuaWVsIEJhdGVzICA8ZGJhdGVzQHJpbS5jb20+CiAKICAgICAgICAg
UmV2aWV3ZWQgYnkgQWRhbSBCYXJ0aC4K
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53258</attachid>
            <date>2010-04-13 10:07:23 -0700</date>
            <delta_ts>2010-05-24 14:49:07 -0700</delta_ts>
            <desc>Fix update</desc>
            <filename>control_mouse_focusing_fix.diff</filename>
            <type>text/plain</type>
            <size>5226</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1NzUwMikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMTAtMDQtMTIgIFZpYXRjaGVzbGF2IE9zdGFwZW5rbyAgPG9zdGFw
ZW5rby52aWF0Y2hlc2xhdkBub2tpYS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZ
IChPT1BTISkuCisKKyAgICAgICAgRml4IGZvY3VzaW5nIG9mIGNvbnRyb2wgZWxlbWVudHMgb24g
bW91c2UgY2xpY2suCisgICAgICAgIGh0dHBzOi8vY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dAorCisKK2ExIHJl
Y2VpdmVkIGZvY3VzICgpCithMiByZWNlaXZlZCBmb2N1cyAoKQorYTMgcmVjZWl2ZWQgZm9jdXMg
KCkKK2E0IHJlY2VpdmVkIGZvY3VzICgpCithNSByZWNlaXZlZCBmb2N1cyAoKQpJbmRleDogTGF5
b3V0VGVzdHMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIExheW91dFRlc3RzL0NoYW5nZUxvZwko
cmV2aXNpb24gNTc1MDIpCisrKyBMYXlvdXRUZXN0cy9DaGFuZ2VMb2cJKHdvcmtpbmcgY29weSkK
QEAgLTEsMyArMSwxNCBAQAorMjAxMC0wNC0xMiAgVmlhdGNoZXNsYXYgT3N0YXBlbmtvICA8b3N0
YXBlbmtvLnZpYXRjaGVzbGF2QG5va2lhLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBMYXlvdXQgdGVzdHMgZm9yIGZpeCBmb2N1c2luZyBvZiBj
b250cm9sIGVsZW1lbnRzIG9uIG1vdXNlIGNsaWNrLgorICAgICAgICBodHRwczovL2J1Z3Mud2Vi
a2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjIyNjEuCisKKyAgICAgICAgKiBmYXN0L2V2ZW50cy9j
bGljay1mb2N1cy1jb250cm9sLWV4cGVjdGVkLnR4dDogQWRkZWQuCisgICAgICAgICogZmFzdC9l
dmVudHMvY2xpY2stZm9jdXMtY29udHJvbC5odG1sOiBBZGRlZC4KKyAgICAgICAgKiBwbGF0Zm9y
bS9tYWMvU2tpcHBlZDoKKwogMjAxMC0wNC0xMiAgRGFuaWVsIEJhdGVzICA8ZGJhdGVzQHJpbS5j
b20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgQWRhbSBCYXJ0aC4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>56930</attachid>
            <date>2010-05-24 14:49:07 -0700</date>
            <delta_ts>2010-10-10 11:15:36 -0700</delta_ts>
            <desc>Add comment to Changelog.</desc>
            <filename>control_mouse_focusing_fix_03.diff</filename>
            <type>text/plain</type>
            <size>5358</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1OTc3NykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMTAtMDUtMjQgIFZpYXRjaGVzbGF2IE9zdGFwZW5rbyAgPG9zdGFw
ZW5rby52aWF0Y2hlc2xhdkBub2tpYS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZ
IChPT1BTISkuCisKKyAgICAgICAgRml4IGZvY3VzaW5nIG9mIGNvbnRyb2wgZWxlbWVudHMgb24g
bW91c2UgY2xpY2suCisgICAgICAgIEJyaW5ncyBHVEsgZml4IHRvIGFsbCBwbGF0Zm9ybXMgZXhj
ZXB0IE1hYy4KKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lk
PTIyMjYxCisKKyAgICAgICAgVGVzdDogZmFzdC9ldmVudHMvY2xpY2stZm9jdXMtY29udHJvbC5o
dG1sCisKKyAgICAgICAgKiBodG1sL0hUTUxGb3JtQ29udHJvbEVsZW1lbnQuY3BwOgorICAgICAg
ICAoV2ViQ29yZTo6SFRNTEZvcm1Db250cm9sRWxlbWVudDo6aXNNb3VzZUZvY3VzYWJsZSk6CisK
IDIwMTAtMDUtMTkgIEFuZGVycyBDYXJsc3NvbiAgPGFuZ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lbmRl
ci5tb3VzZVVwKCk7CisgICAgfQorCisgICAgdmFyIHRjID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5
SWQoJ3Rlc3QtY29udGFpbmVyJyk7CisgICAgdGMucGFyZW50Tm9kZS5yZW1vdmVDaGlsZCh0Yyk7
Cit9OworCis8L3NjcmlwdD4KKzwvYm9keT4KKzwvaHRtbD4KSW5kZXg6IExheW91dFRlc3RzL3Bs
YXRmb3JtL21hYy9Ta2lwcGVkCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIExheW91dFRlc3RzL3BsYXRmb3JtL21h
Yy9Ta2lwcGVkCShyZXZpc2lvbiA1OTcxMSkKKysrIExheW91dFRlc3RzL3BsYXRmb3JtL21hYy9T
a2lwcGVkCSh3b3JraW5nIGNvcHkpCkBAIC0xOTEsMyArMTkxLDcgQEAgc3RvcmFnZS9pbmRleGVk
ZGIKIAogIyBOZWVkIHRvIGludmVzdGlnYXRlIHdoeSBpdCB0aW1lcyBvdXQgaW4gTWFjIGJvdHMu
CiBmYXN0L2ZpbGVzL2ZpbGUtcmVhZGVyLmh0bWwKKyAKKyMgTWFjIHNob3VsZG4ndCBmb2N1cyBv
biBzb21lIGNvbnRyb2wgZWxlbWVudHMgCisjIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3df
YnVnLmNnaT9pZD0yMjI2MSAKK2Zhc3QvZXZlbnRzL2NsaWNrLWZvY3VzLWNvbnRyb2wuaHRtbCAK
</data>
<flag name="review"
          id="41426"
          type_id="1"
          status="-"
          setter="abarth"
    />
          </attachment>
      

    </bug>

</bugzilla>