[Webkit-unassigned] [Bug 12999] Invisible <A> element inside a <div> does not receive focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 24 15:42:48 PDT 2010


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





--- Comment #5 from Daniel Bates <dbates at webkit.org>  2010-10-24 15:42:48 PST ---
(In reply to comment #2)
> WebKit behavior is different from Firefox, but seems more sensible to me - why focus an invisible element?

Notice, the test case  defines the <a> to be "visible" if it has a red border and "invisible" if it does not have a red border. This terminology differs from the terminology used in the HTML5 spec, which talks about elements "being rendered" <http://www.w3.org/TR/html5/rendering.html#being-rendered> or not. By the definition of "being rendered", the <a> is "being rendered" (since it doesn't specify "display: none" or "visibility: collapse" or any other styling that would exclude its rendering). Note, the <a> in the "invisible" case does not have an visible styling.

For completeness, section 7.4.2 of the HTML5 spec <http://www.w3.org/TR/html5/editing.html#focus-management>,  defines a focusable element.

-- 
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