Fwd: [whatwg] Built-in image sprite support in HTML5

Wow! I think that makes for a good argument...
S.

---------- Forwarded message ----------
From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, Aug 26, 2010 at 9:01 PM
Subject: Re: [whatwg] Built-in image sprite support in HTML5
To: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Cc: Ian Hickson <ian@hixie.ch>, David Weitzman <dweitzman@gmail.com>,
whatwg@lists.whatwg.org


On Wed, Aug 25, 2010 at 7:00 PM, Silvia Pfeiffer
<silviapfeiffer1@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 13:53:28 UTC