User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 Steps to reproduce: Please note that this problem is only with the Mac Version of Firefox. It works fine on windows and linux (ubuntu). When a checkbox/radio is clicked with a mouse, the focus event is not fired. If I use <Tab> key to navigate then the focus event is fired. Here is an example: http://jsfiddle.net/54y69/147/ Click on the checkboxes on different operating systems and notice the difference. Actual results: Focus event was not triggered, whereas it should have been. It is triggered in Windows/Linux version. Expected results: Focus event should be triggered when clicking a checkbox/radio on Mac version of Firefox.
IIRC this is on purpose, because the behavior is OSX convention.
(I could be wrong. Haven't used OSX for ages.)
That's correct behaviour, as buttons are not focused when clicked on Mac.
It will be great if someone can explain the reasoning behind different behaviour, depending on the Operating system. Why does this happen only on Mac? For example, chrome behaves the same on all OS in this case. The focus event is not triggered on clicking the checkbox/radio, and is triggered on pressing <TAB> key, but it is uniform across all platforms.
(In reply to Amit Saxena from comment #4) > It will be great if someone can explain the reasoning behind different > behaviour, depending on the Operating system. Why does this happen only on > Mac? Since the Mac predates both Windows and gtk, it might be more correct to ask why they are different. In all seriousness though, we try to implement the focus behaviour of the native operating system as best we can. Which means that on Mac, buttons are not focused when clicked.