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

Mark Schenk pointed this out to me:

http://www.w3.org/TR/CSS21/generate.html#content
  # The value is a URI that designates an external resource.
  # If a user agent cannot support the resource because of
  # the media types it supports, it must ignore the resource.

The question is, what if the user agent supports the resource
but cannot load it (not found, file corrupted, etc.)?

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) "!";

Claudio also wants to know what happens if one embeds an audio
file in a visual display.

   body:before { content: url(welcome-fanfare.mid); }

~fantasai

-- 
http://fantasai.inkedblade.net/contact

Received on Wednesday, 4 August 2004 07:09:02 UTC