W3C home > Mailing lists > Public > www-style@w3.org > January 2009

Re: [css3-values] <image> type

From: Bert Bos <bert@w3.org>
Date: Wed, 28 Jan 2009 18:51:25 +0100
To: www-style@w3.org
Message-Id: <200901281851.26111.bert@w3.org>

On Wednesday 14 January 2009 21:59, fantasai wrote:
> I'd like to propose defining an <image> type (similar to <color>) in
> the CSS3 Values and Units spec. We define and use this in CSS3
> Backgrounds and Borders.* Currently it just means the same as <url>,
> but this gives us an easy way to expand the appropriate <url>s to
> take, e.g. gradient or image sprite notation in the future.
>
> * http://dev.w3.org/csswg/css3-background/#values

Good idea (even though I don't think we should add gradients and 
sprites...).

We could use the type for 'list-style-image'[1] and 'icon'[2].

[1] http://www.w3.org/TR/2002/WD-css3-lists-20021107/#list-style-image
[2] http://www.w3.org/TR/2004/CR-css3-ui-20040511/#icon



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 28 January 2009 17:52:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:15 GMT