When reading an article over a mobile connection (Good 2G or Regular 3G) the lead section of the article often exhibits a re-render for images in the infobox.
This despite MediaWiki core providing fixed width and height attributes on the image that are supposed to let the browser reserve the appropiate space.
First paint:
Last major paint:
This is caused by Miverva style rules for auto scaling that are supposed to prevent certain bugs and to ensure images with a fixed dimension larger than the mobile device, it is downscaled.
.content a > img { max-width: 100% !important; height: auto !important; }
// Prevent inline styles on images in wikitext // Note we restrict to img's to avoid conflicts with VisualEditor shields // See bug 62460 a > img { // make sure that images in articles don't cause a horizontal scrollbar // on small screens max-width: 100% !important; height: auto !important; }

