W3C home > Mailing lists > Public > www-style@w3.org > September 2008

[css3-background] Contradiction regarding equivalence of failed images and 'none'

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 16 Sep 2008 13:22:11 -0700
To: www-style@w3.org
Message-ID: <20080916202211.GA4510@pickering.dbaron.org>

http://dev.w3.org/csswg/css3-background/#the-background-color says:
  # The color after the slash, if present, is used instead of the
  # first color in the case the element's specified bottom-most
  # background image, if any, cannot be drawn. This color is called
  # the fallback color.

http://dev.w3.org/csswg/css3-background/#the-background-image says:
  # A value of ‘none’ counts as an image layer but draws nothing. An
  # image that is empty (zero width or zero height), that fails to
  # download, or that cannot be displayed (e.g., because it is not
  # in a supported image format) has the same effect as ‘none’.

The second paragraph contradicts the first.  If an image fails to
download or cannot be displayed, the fallback color should be used,
so it is not the same effect.

However, something should specify in exactly which of these cases
the fallback color is used, since "cannot be drawn" is rather


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Tuesday, 16 September 2008 20:22:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC