Re: [whatwg/fullscreen] document.fullscreenElement in scroll event after entering fullscreen matters for compat (#74)

@upsuper, would you support changing the spec to be closer to Gecko? It is rather unfortunate to not make the state changes right before the events, but then the resize has already happened so there's no way to have everything happen at the very same time. (Unless, I suppose, every observable side effect of the resize is hidden until the resize event, which seems like a lot of effort to sort through.)

> BTW, if the element is already removed from the document, I suppose browser should exit fullscreen anyway... unless they just hide the element.

Yeah, I recall you mentioned a change like this in Gecko, and I have a TODO in Blink around this. FWIW, it will be slightly easier to handle this situation at resize time, because at least one doesn't need to consider how things can change between then and when the animation frame task is run (in the current model).

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

Received on Thursday, 26 January 2017 14:01:37 UTC