[whatwg] Focus remains on Hidden Element
kaustubh at motorola.com
Sat Oct 8 00:59:28 PDT 2011
In a form element, If a form input element has a focus and its then made
hidden using style property display:none the focus still remains on the
According to specs (
4th point) hidden input elements can not be focused. But there is
still inconstancy in the browsers.
Test case - http://xirc.chez.com/ie9-focus-display-none.html
Chrome 14 - Focus remains
Firefox - Focus is removed
MSIE 8 - Focus remains (Need to check on 9)
Opera - Focus is removed
Can we streamline it for consistency? Any comments would be great.
Thanks & Regards
More information about the whatwg