W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: background-image-frame

From: Simon Fraser <smfr@me.com>
Date: Fri, 08 Jul 2011 16:52:02 -0700
Cc: www-style@w3.org
Message-id: <56AE7950-28CE-442A-96D1-9A1ED31F0C11@me.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
On Jul 7, 2011, at 11:51 PM, Andrew Fedoniouk wrote:

> It would be convenient if CSS will have 'background-image-frame: "string" '
> property.

I presume we'd also need border-image-frame: and similar for any other image-using
properties that we have?

> PNG and other image formats support annotated/taged/named
> sub-images

Can you cite references for this?

> so in principle they can be used as image-lists - single-file collections of
> multiple images / frames.
> CSS "sprites" as a workaround are quite popular among Web designers
> but current solution [1] looks more like a hack rather than a solution.

I think a media fragments syntax for named frames would be much more suitable. Then you could just do:

background-image: url(foo.png?frame=kitten)

or something.

Received on Friday, 8 July 2011 23:52:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC