It looks like Gecko always redirect the focus because it implements `HTMLLabelElement::Focus()` and overloads the base class. https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/dom/html/HTMLLabelElement.cpp#53 It's doesn't seems that that the click handler doesn't call this method to "redirect" the focus? Should this method simply be removed since programmatically focus shouldn't redirect?
Bug 1240285 Comment 14 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
It looks like Gecko always redirect the focus because it implements `HTMLLabelElement::Focus()` and overloads the base class. https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/dom/html/HTMLLabelElement.cpp#53 It's doesn't seems that that the native click handling call this method to "redirect" the focus? Should this method simply be removed since programmatically focus shouldn't redirect?
It looks like Gecko always redirect the focus because it implements `HTMLLabelElement::Focus()` and overloads the base class. https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/dom/html/HTMLLabelElement.cpp#53 It's doesn't seems that the native click handling would call this method to "redirect" the focus? Should this method simply be removed since programmatically focus shouldn't be redirected?