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

[css-device-adapt] meta name="disable-adaptations" #2750

Open
eeeps opened this issue Jun 8, 2018 · 2 comments
Open

[css-device-adapt] meta name="disable-adaptations" #2750

eeeps opened this issue Jun 8, 2018 · 2 comments

Comments

@eeeps
Copy link
Contributor

eeeps commented Jun 8, 2018

According to https://developer.apple.com/videos/play/wwdc2018/239/, WebKit on watchOS 5 will override meta-name="viewport" content="width=X, initial-scale=Y" declarations, and present with a 320px-wide viewport (initial-scale=0.49) unless you say some new, magic words:

<meta name="disable-adaptations" content="watch">

With that, the watch presents using its actual, native, 156px-wide viewport.

According to the spec, new name values should be registered on the WHATWG wiki.

And disable-adaptations should be specified...somewhere. Maybe in CSS Device Adaptation?

@Malvoz
Copy link
Contributor

Malvoz commented Aug 26, 2019

I just noticed, Apple uses "disabled-adaptations".

@zcorpan
Copy link
Member

zcorpan commented Sep 26, 2019

Also see whatwg/html#2335

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

No branches or pull requests

4 participants