Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do we want so support additional viewmodes? #22

Closed
marcoscaceres opened this issue Apr 29, 2013 · 3 comments
Closed

Do we want so support additional viewmodes? #22

marcoscaceres opened this issue Apr 29, 2013 · 3 comments
Assignees

Comments

@marcoscaceres
Copy link
Member

The current manifest supports "fullscreen": true | false.

If people are really serious about supporting other view modes, then we can change the manifest to allow the various view mode values. Something like:

{

"viewModes": ["fullscreen", "maximized"]
...
}

Where viewMode is: A list that denotes the author's preferred view mode, followed by the next most preferred view mode and so forth. When the value is missing, or is left empty, it implies that the author expects the user agent to select an appropriate viewmode for the application.

With regards to width and height, we will need those for the "floating" case. But they only serve as a hint for the preferred width and height when the app starts up. I don't think we should add other window positioning information (leave that to the window manager).

[1] http://www.w3.org/TR/view-mode/

@ghost ghost assigned marcoscaceres May 13, 2013
@mounirlamouri
Copy link
Member

Didn't we reach a consensus in the mailing list?

@marcoscaceres
Copy link
Member Author

Additional data point: https://bugzilla.mozilla.org/show_bug.cgi?id=895826

@marcoscaceres
Copy link
Member Author

Addressed by mode member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants