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

Re: CSS2.1 'content', 404 Not Found, and audio files

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 05 Aug 2004 07:51:20 +0200
Message-ID: <4111CAD8.8080708@annevankesteren.nl>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org

>> Also, it seems we haven't defined fallbacks very well here. If the
>> resource at the URL cannot be loaded as a replaced element, the
>> content value should fail and fall back, not load half-baked
>> strings.
>> 
>> content: "Welcome to " url(welcome.png) "!";
> 
> That's a rather bad example, welcome.png is content not style here.

Why not? If the markup was something like:

   <h1>Welcome to Thailand</h1>

... and you want to replace 'Thailand' with a decorative image. Why 
wouldn't that be style?

And even if it was a bad example, error handling still has to be addressed.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Thursday, 5 August 2004 01:52:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT