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:
- Re: [CSS21] last edition: pity (from amikhal@abisoft.spb.ru on 2009-05-08)
- Re: [CSS21] last edition: pity (from bert@w3.org on 2009-05-07)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-08)
- Re: fallback color for background-image (ISSUE-5) (from forums@david-woolley.me.uk on 2008-04-08)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-07)
- Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-07)
- Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-06)
- Re: fallback color for background-image (ISSUE-5) (from forums@david-woolley.me.uk on 2008-04-06)
- Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
- Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
- Re: fallback color for background-image (ISSUE-5) (from pgaries@fastmail.us on 2008-04-06)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-05)
- Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
- Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
- Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
- Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
- Re: fallback color for background-image (ISSUE-5) (from alan@css-class.com on 2008-04-05)
- Re: fallback color for background-image (ISSUE-5) (from e9427749@student.tuwien.ac.at on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from christoph.paeper@crissov.de on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from fantasai.lists@inkedblade.net on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from brkemper@comcast.net on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
- Re: fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
- ISSUE-15 (clip bg color): Clip the 'background-color'? [CSS3 Backgrounds and Borders] (from sysbot+tracker@w3.org on 2008-04-04)
- fallback color for background-image (ISSUE-5) (from annevk@opera.com on 2008-04-04)
- 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