Re: [whatwg] Focus remains on Hidden Element

2012-03-07 Thread Kaustubh Atrawalkar
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?

Re: [whatwg] Focus remains on Hidden Element

2012-02-21 Thread Ian Hickson
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

[whatwg] Focus remains on Hidden Element

2011-10-08 Thread Kaustubh Atrawalkar
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