ISSUE-5

fallback color

A background color that is shown when background images fail to download

State:
CLOSED
Product:
CSS3 Backgrounds and Borders
Raised by:
Bert Bos
Opened on:
2008-04-04
Description:
Some people (e.g., Emrah Baskaya and  Simon Pieters) have argued that there is a need for a fallback color, which is only shown when any specified image(s) cannot be loaded. See e.g., http://lists.w3.org/Archives/Public/www-style/2006Aug/0001.html

Elika and Bert decided to take over that suggestion, but simplified. There is only a fallback color for the bottom-most image. See
http://lists.w3.org/Archives/Member/w3c-css-wg/2008JanMar/0153.html

The editors' draft now contains a specification for

    background-color: <color> [ / <color> ]?

where the second color is the fallback.
Related Actions Items:
No related actions
Related emails:
  1. Re: [CSS21] last edition: pity (from amikhal@abisoft.spb.ru on 2009-05-08)
  2. Re: [CSS21] last edition: pity (from bert@w3.org on 2009-05-07)
  3. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-08)
  4. Re: fallback color for background-image (ISSUE-5) (from forums@david-woolley.me.uk on 2008-04-08)
  5. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-07)
  6. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-07)
  7. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-06)
  8. Re: fallback color for background-image (ISSUE-5) (from forums@david-woolley.me.uk on 2008-04-06)
  9. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
  10. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
  11. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
  12. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-05)
  13. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  14. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  15. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  16. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  17. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  18. Re: fallback color for background-image (ISSUE-5) (from e9427749@student.tuwien.ac.at on 2008-04-04)
  19. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  20. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  21. Re: fallback color for background-image (ISSUE-5) (from christoph.paeper@crissov.de on 2008-04-04)
  22. Re: fallback color for background-image (ISSUE-5) (from fantasai.lists@inkedblade.net on 2008-04-04)
  23. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  24. Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  25. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  26. Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  27. Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  28. ISSUE-15 (clip bg color): Clip the 'background-color'? [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
  29. fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  30. ISSUE-5 (fallback color): A background color that is shown when background images fail to download [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)

Related notes:

2008-05-14 03:32:16: Anne suggested to make the first color optional, so that the syntax would allow background-color: / <color>; where the first color defaults to 'transparent'. In most cases transparent is wanted here. This saves typing and avoids typos. It looks weird here, but looks better in the shorthand. background: url(semitransparent.png) / white;
[Elika Etemad]

Display change log ATOM feed


Peter Linss <peter.linss@hp.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, Chairs, Chris Lilley <chris@w3.org>, Bert Bos <bert@w3.org>, Staff Contacts
Tracker, originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.231 2009/11/16 15:00:54 dom Exp $