-
Notifications
You must be signed in to change notification settings - Fork 35
Description
So, srcset
, we’re strongly assuming that no art direction is going on. For this reason, we can get a little tricky with window resizing vs. making requests: if we start with a large window and resize it down, there’s no reason to request the smaller versions of the same image when it can just be scaled down with CSS—save a couple requests, where there’d be no real benefit.
Resizing from small to large is a little more complicated. See the discussion in http://ircbot.responsiveimages.org/bot/log/respimg/2014-07-02#T80671
The gist is that we can save requests when scaling the viewport up, but at the cost of blurry images. This feels a little broken to me, from an author standpoint, where an image would appear distorted “sometimes” and correct itself when the page is reloaded.
Zoom is another matter—the above behavior seems a lot more expected on zoom (see #228).