[whatwg] Built-in image sprite support in HTML5

On Thu, Aug 26, 2010 at 9:01 PM, 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
>

Oh, wow, that's good to know. Thanks!
Silvia.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100826/8ad06edd/attachment.htm>

Received on Thursday, 26 August 2010 06:52:06 UTC