Last modified: 2012-02-27 19:51:40 UTC
Created attachment 9200 [details] error in chrome Mobile Wikipedia pages specify incorrect delimiters for the "viewport" property, which causes errors in the Chrome browser. The incorrect line is <meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> It should instead use commas <meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" /> Please see this StackOverflow article for more info http://stackoverflow.com/questions/5555125/viewport-tag-syntax/5850408#5850408 Here is a test page that fails in Chrome http://en.m.wikipedia.org/wiki/Bashir_Ahmad_(politician) I have included a screenshot of the error in Chrome.
Actually, all semicolons should be removed: <meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
A reminder -- this change was made (fixing the ';'s to ','s) a while ago on the PHP codebase, but this was discovered to cause bug 31214 when eg embedding in a WebView control on an iPad app, and was reverted to the original form which caused no such problems. Most likely the viewport settings need to be redone to something that just indicates '1:1 CSS pixels to logical pixels, no zooming' instead of making claims on the size of the device (which is NOT guaranteed to be the size of the web view!)
This got resolved... several times. :)