Philippe Wittenbergh wrote:
On Sep 6, 2010, at 2:43 PM, Alan Gresley wrote:

<http://css-class.com/test/css/selectors/pseudo-class-active-focus.htm>


This test shows the problem that WebKit has with :focus when selecting a link 
with the mouse. Tabbing works.

I'm not so sure that is really a problem. Clicking on a link does not 
necessarily mean you set the focus to it. It certainly hardly qualify for 
'ready to receive keyboard input' as described in the CSS 2.1 spec.
<http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes>


You are quite correct. Maybe the mishandling of :focus by Gecko (me considering it is doing something right) has got me confused along with the fact that I was taking the the word 'accept' but applying the meaning of the word 'except'. I need to fix up the test cases.


The reverse is true with :active. The test shows that WebKit does not show 
:active when tabbing. Selecting a link with the mouse works.

That last paragraph is not really correct. WebKit shows the reddish background 
when clicking the link (mouse) or, once the link is focussed (tab to it), 
hitting the return key. It does show the background-colour briefly (more so 
than what Gecko shows).


Philippe
---
Philippe Wittenbergh
http://l-c-n.com/


The :active in the last test does not work in Safari at my end when tabbing. Tested in Version 5.0.1 (7533.17.8) on Windows 7.


--
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to