[w3c/manifest] [Proposal] Add options to control app window (#842)

App windows are used to display PWAs on desktop and other big screen devices like TVs, tablets, phablets, foldable devices, etc.

E.g. at this moment Desktop PWAs lack basic abilities that every desktop platform has like setting an initial desired window size, minimum and maximum window size, and so on. So I propose to add the following members to web app manifest spec to close the capabilities gap with native:

* `width` Integer (optional) — Window's width in pixels.
* `height` Integer (optional) — Window's height in pixels.
* `x` Integer (optional) — Window's left offset from screen.
* `y` Integer (optional) — Window's top offset from screen.
* `minWidth` Integer (optional) — Window's minimum width.
* `minHeight` Integer (optional) — Window's minimum height.
* `maxWidth` Integer (optional) — Window's maximum width.
* `maxHeight` Integer (optional) — Window's maximum height.
* `resizable` Boolean (optional) — Whether window is resizable. Default is `true`.
* `movable` Boolean (optional) — Whether window is movable. Default is `true`.
* `minimizable` Boolean (optional) — Whether window is minimizable. Default is `true`.
* `maximizable` Boolean (optional) — Whether window is maximizable. Default is `true`.
* `closable` Boolean (optional) — Whether window is closable. Default is `true`.
* `focusable` Boolean (optional) — Whether the window can be focused. Default is `true`.
* `fullscreenable` Boolean (optional) — Whether the window can be put into fullscreen mode. Default is `true`.
* `alwaysOnTop` Boolean (optional) — Whether the window should always stay on top of other windows. Default is `false`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/issues/842

Received on Friday, 10 January 2020 09:58:42 UTC