-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
From my personal collection:
view-mode describes the mode in which the Web application is being shown:
- windowed | floating | fullscreen | maximized | minimized
Opera (Presto) was the only browser to ever implement this back in 2011 as a media query. It was obsoleted by W3C in 2018 and revived as display-mode in browsers as part of the Web App manifest (presumably also valid for browser web extensions) incl. OP34+ (Blink).
@media (view-mode:windowed) {}
@media (view-mode:fullscreen) {}
@media (view-mode:maximized) {}
Other alternatives to actually use the feature are :fullscreen, :-webkit-full-screen and :-ms-fullscreen CSS pseudo-class.
To turn them into a filter however would require the long awaited @supports selector() which currently only ships in FF/70+. Announced to come in CH/83+ (now Canary) followed by other Blink browsers as Edgium/83, Opera/70+ and Vivaldi.
Metadata
Metadata
Assignees
Labels
No labels