https://bugzilla.wikimedia.org/show_bug.cgi?id=52572
Kang Su Gatlin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://en.wikipedia.org/wik | |i/Bill_Gates CC| |[email protected] Mobile Platform|--- |Windows Phone 8 Web browser|--- |Internet Explorer Summary|min-resolution |Some infoboxes are clipped | |on some smartphones --- Comment #2 from Kang Su Gatlin <[email protected]> --- You can see this on several pages like Bill Gates, Jay Z, tiger, rose, and Steve Jobs pages (pretty much any page with an infobox on the top). As the page is loading the infobox is rendered correctly, but as the page completes its loading it re-renders much larger and is clipped on the right side. It doesn't happen on all phones, but can repro consistently on phones where it is an issue. It appears to be related to the computed devicepixelratio: devicePixelRatio=function(){if(window.devicePixelRatio!==undefined){return window.devicePixelRatio;}else if(window.msMatchMedia!==undefined){if(window.msMatchMedia('(min-resolution: 192dpi)').matches){return 2;}else if(window.msMatchMedia('(min-resolution: 144dpi)').matches){return 1.5;}else{return 1;}}else{return 1;}};$.fn.hidpi=function(){ This value returns '2' on phones where this is a problem. If the value is changed to 1.5, it renders fine. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
