Last modified: 2014-02-12 23:55:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55026, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53026 - Hidpi polyfills broken on mobile
Hidpi polyfills broken on mobile
Status: RESOLVED DUPLICATE of bug 49440
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-19 10:20 UTC by Derk-Jan Hartman
Modified: 2014-02-12 23:55 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Some images are enlarged, in 2x device-pixel ratio display (103.65 KB, image/png)
2013-08-19 11:03 UTC, Peter Wong
Details

Description Derk-Jan Hartman 2013-08-19 10:20:49 UTC
In all MF modes (production/beta/dragons), polyfills of linked inline images are broken.

This is caused by the CSS block:

img.tex,
.image img,
.thumb img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}

Which conflicts with the polyfill JS, which depends on the original width height attributes being set.
Comment 1 Derk-Jan Hartman 2013-08-19 10:26:40 UTC
Example page: https://en.wikipedia.org/wiki/Wikipedia:Route_diagram_template, where the majority of the railway diagram icons are shown at double size.
Comment 2 Peter Wong 2013-08-19 11:03:38 UTC
Created attachment 13123 [details]
Some images are enlarged, in 2x device-pixel ratio display

Affected images shown are those with link to their own File page, and those images without link to their own File page are unaffected. Affected images fall into CSS selector ".image img".
Comment 3 Derk-Jan Hartman 2013-08-19 11:56:36 UTC
This is actually a known issue for a while now: 49440.

If jon won't fix this, he should disable the hidpi plugin.
Comment 4 Jon 2013-08-19 15:50:37 UTC

*** This bug has been marked as a duplicate of bug 49440 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links