Re: [w3c/uievents] Should an element remain focused and receive key events if it's display:none-ed? (#236)

As far as specifying this goes, I think it should go into HTML as that largely defines the focus model for the web. (There's various open issues here and in whatwg/html to make it better.)

As far as behavior goes, treating it equivalently to tree removal seems reasonable. We don't really have a "loses its CSS box" primitive at the moment, but adding that seems somewhat reasonable. Even if the `blur` event is not fired, there are other ways to observe whether the element lost focus, right? E.g., `activeElement`? So depending on what accessors flush layout this might still be observable before a more ideal point in time.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/236#issuecomment-506639774

Received on Friday, 28 June 2019 07:51:46 UTC