- From: Richard Bushell <notifications@github.com>
- Date: Sat, 02 Mar 2019 01:41:21 -0800
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fullscreen/issues/148@github.com>
Hopefully, someone can give a definitive clarification on a current query I have on fullscreenchange. I believe, if I understand the current spec correctly, that in a simple case, when any element enters or exits fullscreen, then there is just ONE fullscreenchange event fired, and that it is always fired directly at the target element ONLY. That will bubble back to window. Can someone definitively confirm that is correct as per the current spec, and as implemented by all modern browsers, as I believe there may have been changes made in this regard in that last year or two. MDN reference here:- https://developer.mozilla.org/en-US/docs/Web/Events/fullscreenchange states that TWO independent events are fired (one at the element and one at the document) Of course, I realise that the Living Standard spec is evolving and should always be consulted, but MDN has obviously been unified as the go-to "general" source by many developers, and their reference seems at odds with my current understanding of the spec. I have a few fullscreen api related bug reports and PRs filed with third-party JS libraries, and a couple of bug reports with browsers too, so I want to be absolutely sure that there is only ONE fullscreenchange EVENT fired. Can anybody please clarify definitively. -- 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/148
Received on Saturday, 2 March 2019 09:41:44 UTC