Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

picturefill on Windows 8 Phone defaults to x2

$
0
0

With the following code I see the Windows 8 Phone browser default to the 2x image. Imho my Nokia Lumia 920 does not have 2x or hiDPI display and it should load the single sized image. What could I do to prevent the 2x image loaded and scaled?

<picture><!--[if IE 9]><video style="display: none;"><![endif]--><source srcset="./static/images/logo.png 1x, ./static/images/logo@2x.png 2x"><!--[if IE 9]></video><![endif]--><img src="./static/images/logo.png"></picture>


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>