W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Built-in image sprite support in HTML5

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 26 Aug 2010 04:01:56 -0700
Message-ID: <AANLkTimrhXD_eNf0MoUKa3-uc5ym6toc9i1HX8jNYW6v@mail.gmail.com>
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
Received on Thursday, 26 August 2010 04:01:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC