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

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.
>

[snip]

>
> 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