[whatwg] Built-in image sprite support in HTML5

Tab Atkins Jr. jackalmage at gmail.com
Thu Aug 26 04:01:56 PDT 2010

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.


More information about the whatwg mailing list