437 bytes, text/html
If you at http://lolo.bearteam.org/bug.html and cycle through the link with TAB, the first time you are on the first link, it is green instead of pale blue. If you go to the 2nd link (TAB) and then go back to the 1st one (Shift+TAB) then it's blue.
The problem here it's that to the :hover is being activated sometimes by the keyboard, and not only by a mouse over. The :focus isn't a problem at all, so changing summary from ":hover and :focus" to ":focus is activated by selecting a link with the keyboard" As I don't think that this is a dup of bug 78765 or bug 20022, I'm marking it as New and moving to Event Handling. Also changing OS to all as this happens to me in win98, Build 2001081303
Really reassigning to Event Handling...
Shouldn't the summary actually say ":hover is activated by selecting a link with a keyboard?" After all, you'd expect :focus to be activated due to keyboard tabbing.
Yes, of course. Updating summary
*** Bug 99088 has been marked as a duplicate of this bug. ***
I think it makes sense to apply the :hover style on tabbing to a link. The problem isn't that :hover applies to tabbed-to links, but that it only applies if you tab *from* certain other objects (such as other links). See also bug 140655, "caret browsing: :hover effect tests old caret location instead of new location".
Created attachment 81337 [details] similar testcase where hover, focus effects aren't mutually exclusive