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

Yeah, if we currently have compat with `A.rFS(); B.rFS(); A.rFS();` working and ending with A fullscreened on top, then I think we should indeed just edit that behavior in. I suspect the check should be that A is in the top layer *and* has the fullscreen flag, but isn't the doc's fullscreen element, then we remove and re-add it so it cycles to the top.

If it's already in the top layer but *doesn't* have the fullscreen flag, that means some other feature has put it in and we probably shouldn't touch it, at least not until we have the cross-feature agreement figured out.

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

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

Received on Tuesday, 25 April 2023 21:24:39 UTC