In bug 418521, the behaviour of focus indicators (such as dotted
outlines) is changed to more accurately reflect native behaviour. One
specific change is that what feedback is given is dependent on three
different states instead of two.
Now:
1. an element is not focused
2. an element is focused but should not draw any focus indicator
3. an element is focused and should draw a focus indicator
The question is for which of the latter two the :focus pseudo should apply.
The implementation in 418521 keeps :focus matching both 2 and 3, but
adds a new pseudo -moz-focusring which matches only 3.
But perhaps it would be better to change :focus to match only 3 and add
a new pseudo instead to match 2 and 3?
As an example of the need for both, on Windows Vista, a bluish
background and border appears on a button when focused by any means,
whereas a dotted ring appears only when the keyboard has been used.
As an aside, comment 57 describes the implemented behaviour on various
elements.
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout