Re: [whatwg/fullscreen] Flatten requestFullscreen() error conditions (PR #224)

Yeah, something like

> Let _error_ be the result of 'is fullscreen prevented' given this.

would work I think. And is fullscreen prevented can return early so the checks stay simple, e.g.,

> If _element_ is a dialog element, then return true.

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

Message ID: <whatwg/fullscreen/pull/224/c1534121015@github.com>

Received on Thursday, 4 May 2023 05:39:26 UTC