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] Clarify no content meta viewport <meta name="viewport"> should be ignored or not #4995

Open
hiikezoe opened this issue Apr 23, 2020 · 0 comments

Comments

@hiikezoe
Copy link

On a site in a webcompat report, there are two meta viewport elements like this;
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0">
...
<meta name="viewport">

As far as I know, in cases where multiple meta viewport elements exist, both Chrome and Firefox uses the last modified one, but in this particular case, Chrome ignores the latter meta viewport, whereas Firefox uses the latter one. To me the Chrome's behavior makes sense, so I am going to change Firefox's behavior in bug 1632020.

Note that both Chrome and Firefox use <meta name="viewport" content="">.

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

2 participants