-
Notifications
You must be signed in to change notification settings - Fork 162
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
Distinction between browser and minimal-ui #1023
Comments
In case you have an Android device and want to check the above: Note that minimal-ui is not supported in iOS. |
Thanks. I think the situation in the general case is pretty clear (at least in intent, I'm not sure the spec wording supports that intent fully). It's the edge cases where it gets a little fuzzy. I think the essence of the question hangs on this sentence of yours:
I'd rephrase it as:
And the the question is what do you do in the case of a simplistic browser, not meaningfully different from what you'd get from a Even if you just stick to desktop, have a look at the browser offered by https://servo.org/. Sure, it's an experimental browser, with hardly any focus at all on its UI, but it's a browser nonetheless, so it needs to answer that mediaquery somehow. I'd expect the The query is explicitly defined as applying not only based on app manifest mode switching, but also to UAs that match the described mode. So I think we need a bit more. |
This is true. But at the same time, UAs are not required to support every display mode (or installable web apps at all). For instance, Firefox only supports installable web applications on mobile (and it doesn't support "minimal-ui").
That's correct.
It would match "browser". The only time it would match anything else is if the user agent:
In other words, because of 1, a regular web page would never match anything but "browser".
Ok, if it says "but also to UAs that match the described mode" that's definitely a bug. It must only match "standalone", "minimal-ui", or "standalone" iff manifest is applied. |
Hmmm… the spec looks very explicit to me that a regular web page should occasionally match things other than
|
Ok, let me check if anyone actually implemented that. It's been a while (years |
Ah d'oh, you are right! "fullscreen" does indeed do fullscreen in Gecko, and Chrome (but not in Safari). |
Ok, that's fun ... I guess it's back to better describing these :) |
What about if "generally" the Per HTML:
I kinda like that... it gives a nice mapping and is an explicit distinction between "browser" (regular window/tab) and "minimal-ui". It's also easy to implement (famous last words), because you can check it/set it when the popup window is constructed. |
@marcoscaceres I’d be down with that. |
There is no guidance on what the distinction between browser and minimal-ui should be.
display-mode
match? What if app manifest was used to explicitly invoke one or the other?The text was updated successfully, but these errors were encountered: