|
|
Log in / Subscribe / Register

Firefox Specificiation Support

Firefox Specificiation Support

Posted Jul 9, 2024 22:57 UTC (Tue) by intelfx (subscriber, #130118)
In reply to: Firefox Specificiation Support by aphedges
Parent article: Firefox 128.0 released

Apologies — I actually meant to say Keyboard API, not Fullscreen API.


to post comments

Firefox Specificiation Support

Posted Jul 10, 2024 2:42 UTC (Wed) by WolfWings (subscriber, #56790) [Link] (3 responses)

...even then, nothing except Chrome-based browsers support that API. Not Firefox, not Safari, nadda. Even as a coder looking over that API I'm not seeing the benefit versus the existing keydown/keyup/keypress events?

Firefox Specificiation Support

Posted Jul 10, 2024 2:52 UTC (Wed) by intelfx (subscriber, #130118) [Link] (2 responses)

> ...even then, nothing except Chrome-based browsers support that API. Not Firefox, not Safari, nadda. Even as a coder looking over that API I'm not seeing the benefit versus the existing keydown/keyup/keypress events?

The benefit is that using e.g. a Web-based IP-KVM solution over anything but Chromium is a pain, because an "Esc" closes your fullscreen view rather than being forwarded into the target system.

Firefox Specificiation Support

Posted Jul 10, 2024 3:20 UTC (Wed) by WolfWings (subscriber, #56790) [Link] (1 responses)

That's how the Fullscreen API is designed though? You're not meant to be able to over-ride that escape "get out of fullscreen" keystroke.

If anything Chrome allowing it to be over-ridden is the bug because I never, ever, want a website to be able to block me from leaving fullscreen mode with the same universal keypress. Otherwise what's the point of saying "press [ESC] to exit fullscreen" when the fullscreen API activates?

Most IP-KVMs I've used for years now don't bother fullscreen'ing for that reason, that API is meant mostly for games. For an IP-KVM (or any remote console really) generally the CSS 'object-fit: contain' is what most folks want, then there's no need to mess with either of those APIs then.

Firefox Specificiation Support

Posted Jul 10, 2024 3:22 UTC (Wed) by intelfx (subscriber, #130118) [Link]

> If anything Chrome allowing it to be over-ridden is the bug because I never, ever, want a website to be able to block me from leaving fullscreen mode with the same universal keypress. Otherwise what's the point of saying "press [ESC] to exit fullscreen" when the fullscreen API activates?

Chrome allows to use Esc to exit fullscreen by holding it. That's exactly what its UI says.

> Most IP-KVMs I've used for years now don't bother fullscreen'ing for that reason, that API is meant mostly for games. For an IP-KVM (or any remote console really) generally the CSS 'object-fit: contain' is what most folks want, then there's no need to mess with either of those APIs then.

There's also Alt-Tab and other special key combinations that you would want to forward inside, not just Esc.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds