[whatwg] Built-in image sprite support in HTML5

David Weitzman dweitzman at gmail.com
Thu Dec 1 10:09:34 PST 2011

Reviving an old question here: is there anything in current or
upcoming web specs that should give me hope that I will eventually see
a day when sprites are either unnecessary at a protocol level or
easily supported in <img> tags?

On Thu, Aug 26, 2010 at 4:01 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Wed, Aug 25, 2010 at 7:00 PM, Silvia Pfeiffer
> <silviapfeiffer1 at gmail.com> wrote:
>> It would, however, be good to have an indication where HTML would like to
>> see it going. Would it be better for a media fragment URI for images such as
>> http://example.com/picture.png#xywh=160,120,320,240  to display the full
>> image with the rectangle somehow highlighted (as is the case with fragment
>> URIs to HTML pages), or would it be better to actually just display the
>> specified region and hide the rest of the image (i.e. create a sprite)? What
>> makes the most sense for images?
> The CSS Image Values Module ( http://dev.w3.org/csswg/css3-images/#url
> ) is currently recommending Media Fragments as a way to sprite out a
> portion of a resource.  We have a note that we're expecting a spec to
> reference at some point.
> ~TJ

More information about the whatwg mailing list