Thanks Ian for the clarification. What I understand from the comment is
that, when focused element is made display:none in this case, the focus
should be moved to body element if its there else we should blur the
focused element. There is bug for the same issue
https://bugs.webkit.org/show_bug.cgi?
On Sat, 8 Oct 2011, Kaustubh Atrawalkar wrote:
>
> 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
> hidden element. According to specs (
> http://www.whatwg.org/specs/web-apps/current-work/multip
Hi,
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
hidden element.
According to specs (
http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#focus-management-
4th point) hidden inp