Re: [whatwg/fullscreen] Remove top layer definitions, now that CSS Position 4 contains them. (PR #223)

@tabatkins commented on this pull request.



>  
 <p>To <dfn>unfullscreen an <var>element</var></dfn>, unset <var>element</var>'s
-<a>fullscreen flag</a> and <a>iframe fullscreen flag</a> (if any), and <a for=set>remove</a> it from
-its <a>node document</a>'s <a>top layer</a>.
+<a>fullscreen flag</a> and <a>iframe fullscreen flag</a> (if any), and
+<a>request removal from the top layer</a> for it from its <a>node document</a>.

Yes, `:fullscreen` will immediately stop matching. I think this is good - it means if you have transitions set up for an exiting-fullscreen animation, they'll start going then. The difference between "Immediately" and "at next style update" aren't significant for this purpose; top layer needs to delay so it can react to newly-added 'overlay' transitions, but otherwise the CSS effects both happen at the same time, when you Update The Rendering.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/223#discussion_r1171959251
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/pull/223/review/1393035045@github.com>

Received on Thursday, 20 April 2023 00:10:25 UTC