W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: [CSS3] content, background-image and fallbacks

From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date: Thu, 20 Aug 2009 00:28:49 +0200
Message-ID: <cb7bb73a0908191528p78ee7ajff5c9f80cca3e1fa@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style@w3.org
On Thu, Aug 20, 2009 at 12:13 AM, Andrew
Fedoniouk<news@terrainformatica.com> wrote:
> I am using[1] :incomplete and :busy state flags exposed to CSS.


> In general selector :
> something:not(:busy):incomplete {...}
> can be used to trigger fallback rendering when some images defined by
> element style are not available.
> Practice shows that most of cases this is enough.
> [1] http://www.terrainformatica.com/htmlayout/main.whtm

This is a very nice approach, thank you very much for the hint. So you
say it also works for CSS-defined images? (list-item,
background-image)? That's even more interesting.

The syntax is extremely long and rather clumsy to write, though, and
since there is no provision to let the UA know in advance the MIME
type of images, you still get more downloaded data than necessary.

Giuseppe "Oblomov" Bilotta
Received on Wednesday, 19 August 2009 22:29:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC