https://bugzilla.wikimedia.org/show_bug.cgi?id=31562

       Web browser: ---
             Bug #: 31562
           Summary: Mobile pages have incorrect delimiters for viewport
                    properties
           Product: Wikimedia Mobile
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: generic
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Created attachment 9200
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9200
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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to