ISSUE-5: A background color that is shown when background images fail to download

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: [css-masking] reference boxes (from dschulze@adobe.com on 2013-12-17)
  2. Agenda request - CSS Masking issues (from dschulze@adobe.com on 2013-12-13)
  3. Re: [css-syntax] Multiple !values (from sebastianzartner@gmail.com on 2013-10-29)
  4. Re: [css-syntax] Multiple !values (from fantasai.lists@inkedblade.net on 2013-10-29)
  5. Re: [css-syntax] Multiple !values (from jackalmage@gmail.com on 2013-10-29)
  6. Re: [css-syntax] Multiple !values (from sebastianzartner@gmail.com on 2013-10-29)
  7. Re: [css-syntax] Multiple !values (from simonp@opera.com on 2013-10-29)
  8. Re: [css-syntax] Multiple !values (from sebastianzartner@gmail.com on 2013-10-29)
  9. [css-syntax] Multiple !values (from simon.sapin@exyr.org on 2013-10-29)
  10. Re: css-shapes] Comments on CSS Shapes ED (from stearns@adobe.com on 2013-09-13)
  11. Agenda conf call 08-may-2013 (from peter.linss@hp.com on 2013-05-07)
  12. Agenda Requests for Flexbox & CSS2.1, etc. (from fantasai@inkedblade.net on 2013-05-01)
  13. Re: [css3-flexbox][css21] Make table cells/flex items/grid items paint atomically? (from mstensho@opera.com on 2013-04-02)
  14. Re: [css3-flexbox][css21] Make table cells/flex items/grid items paint atomically? (from galineau@adobe.com on 2013-03-28)
  15. [css3-flexbox][css21] Make table cells/flex items/grid items paint atomically? (from jackalmage@gmail.com on 2013-03-28)
  16. [CSSWG] Minutes Tucson F2F Monday Afternoon I: Text Decoration, Multi-col (from fantasai.lists@inkedblade.net on 2013-02-14)
  17. Re: [css3-flexbox] Status and Going to CR (from adanilo@google.com on 2012-07-10)
  18. Re: [css3-flexbox] Status and Going to CR (from fantasai@inkedblade.net on 2012-07-09)
  19. [css3-flexbox] Status and Going to CR (from jackalmage@gmail.com on 2012-07-09)
  20. [css3-flexbox] Status and Going to CR (from fantasai@inkedblade.net on 2012-07-09)
  21. IE9 fails critical SVG-HTML integration & what is the status on this issue? (from kevinar18@hotmail.com on 2011-10-20)
  22. [CSSWG] Minutes and Resolutions 2011-10-19 (from fantasai.lists@inkedblade.net on 2011-10-19)
  23. [CSSWG] Minutes and Resolutions Seattle F2F 2011-07-26 AM: paint servers, pointer-events (from fantasai.lists@inkedblade.net on 2011-08-05)
  24. Re: [CSS3-UI] Still uncertain how to handle pointer-events for the top svg tag. (from tantek@cs.stanford.edu on 2011-01-18)
  25. [CSS3-UI] Still uncertain how to handle pointer-events for the top svg tag. (from kevinar18@hotmail.com on 2010-11-18)
  26. Re: [CSS21] last edition: pity (from amikhal@abisoft.spb.ru on 2009-05-08)
  27. Re: [CSS21] last edition: pity (from bert@w3.org on 2009-05-07)
  28. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-08)
  29. Re: fallback color for background-image (ISSUE-5) (from forums@david-woolley.me.uk on 2008-04-08)
  30. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-07)
  31. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-07)
  32. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-06)
  33. Re: fallback color for background-image (ISSUE-5) (from forums@david-woolley.me.uk on 2008-04-06)
  34. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
  35. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
  36. Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
  37. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-05)
  38. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  39. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  40. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  41. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  42. Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
  43. Re: fallback color for background-image (ISSUE-5) (from e9427749@student.tuwien.ac.at on 2008-04-04)
  44. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  45. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  46. Re: fallback color for background-image (ISSUE-5) (from christoph.paeper@crissov.de on 2008-04-04)
  47. Re: fallback color for background-image (ISSUE-5) (from fantasai.lists@inkedblade.net on 2008-04-04)
  48. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  49. Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  50. Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
  51. Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  52. Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  53. ISSUE-15 (clip bg color): Clip the 'background-color'? [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
  54. fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
  55. 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:

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, 14 May 2008, 03:32:16

Changelog:

Created issue 'A background color that is shown when background images fail to download' nickname fallback color owned by Bert Bos on product CSS3 Backgrounds and Borders, 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.' non-public

Bert Bos, 4 Apr 2008, 12:38:30

Status changed to 'open'

4 Apr 2008, 12:38:49

Status changed to 'closed'

12 May 2008, 17:23:39


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: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.325 2014-09-10 21:42:02 ted Exp $