iOS Safari Errors
Hi,
I know this a very small thing, but it really bugs me.
When the website is viewed on an iOS device, and error and a tip are produced. This is due to the viewport meta tag "width=device-width; initial-scale= 1.0; user-scalable=no" being incorrect syntax.
Rather than it being "width=device-width; initial-scale= 1.0; user-scalable=no", it should be "width=device-width, initial-scale= 1.0, user-scalable=no" (note the comma, and not semi-colon).
If there's a reason behind this, please say so, as from a developer stand point, I'd like to know if what I'm doing is incorrect.
I know this is minor, but this bugs the hell out of me :)

All Comments (7)
Jump to unread Post a CommentWhat you are doing is correct, according to the Safari Web Content Guide:
[ http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html#//apple_ref/doc/uid/TP40006509-SW1 ]
As a temporary measure, do you have (or do you know of) any add-ons (plug-ins or extensions) in iOS Safari that will allow you to change the syntax of the Meta Tag definition "on the fly"?
I do not know of extensions that will provide this functionality, but if it did exist, it would only be for jailbroken devices.
I do have a jailbroken iDevice, but I couldn't find anything.
I do not know of extensions that will provide this functionality, but if it did exist, it would only be for jailbroken devices.
I do have a jailbroken iDevice, but I couldn't find anything.
OK. I don't have any iOS devices, so it sounds like we will have to wait for HeroDeveloper to respond from tomorrow onwards.
To be honest, it doesn't look like it was ever really alive.
This is something I would love for iOS, but I guess we would a developer that is knowledgeable about the internal APIs, or a custom browser.
Thanks, Hero, it's nice to see an active developer around!
I can confirm I no longer receive any errors :)
I can confirm I no longer receive any errors :)
Inactive developers are more like an oblong or pear shape.