[Webkit-unassigned] [Bug 26856] AnchorElement, ButtonElement, InputButton and Document should fire focus event when it is clicked.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 06:35:34 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26856





--- Comment #9 from Chang Shu <Chang.Shu at nokia.com>  2009-10-08 06:35:34 PDT ---
Yes, they are very similar bugs and similar fixes.
With all this in mind, I am thinking if we can do
#if PLATFORM(MAC)
    if (isLink())
        return false;
#endif
    // Allow tab index etc to control focus.
    return HTMLElement::isMouseFocusable();

However, personally, I don't feel drawing the outline is a big performance
overhead. The drawing happens only if the user click the link. Comparing to the
time spent on human interaction, the drawing is negligible. On the other hand,
it could even be a positive thing: the user gets feedback on what he/she
clicked and even is able to stop the load if the link is accidentally clicked.
Well, this is just my two cents.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list