The way to integrate with the event loop that we ultimately landed on is https://fullscreen.spec.whatwg.org/#run-the-fullscreen-steps. There is a step in https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering that calls out to HTML.
This does mean that HTML needs to know about all the specs that integrate with it, which is arguably backwards layering-wise, but the upside is that the order of things is clearly defined, and cannot really be well defined without a central point of order.
--
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/screen-orientation/issues/136#issuecomment-457201931