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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 04 Aug 2004 13:08:12 +0200
Message-ID: <4110C39C.2010007@inkedblade.net>
To: www-style@w3.org

Mark Schenk pointed this out to me:

  # 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); }


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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:07 UTC