Skip to content

Opera 12 @media(view-mode) #10

@WebMechanic

Description

@WebMechanic

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions