Works in Explorer Mac, Mozilla and Opera.

Doesn't work in Explorer Mac when you click on a label instead of the form field itself.

This test checks the pseudo class input:focus that specifies styles for a focused form element.

I have :focus styles in my general style sheet for this entire site. They change the background colour of focused form elements.