RE: -webkit-image-set

Apparently all the discussion on this has taken place on the site, so I know I have missed plenty.


I don’t understand your question below, though. Does what need a markup-based solution? Providing multiple image options to the browser, or providing sizing information to the browser?



From: Kevin Suttle [] 


This is a point I brought up on the site. To re-cap:


"img is content, so having it in markup makes sense. However, the size of an img is presentational. By design, this is most likely a problem that CSS needs to solve."


I guess the way I see it, if it is the same image content, does it need a markup-based solution? We're trying to tackle a performance/presentation issue. Thoughts? 




On Friday, March 23, 2012 at 3:56 AM, Dominique Hazael-Massieux wrote:

 WebKit has just integrated a patch (from Apple) to make it possible to

 provide variants of a CSS image based on the device scale factor:


 I don't think that addresses the markup-based use case, but it probably

 should inform it.




Received on Friday, 23 March 2012 20:06:58 UTC