W3C home > Mailing lists > Public > www-style@w3.org > May 2006

Re: [css3-background] 'background' shorthand

From: <chiaki@dark-chiaki.net>
Date: Tue, 02 May 2006 18:16:33 +0200
Message-Id: <420313442@web.de>
To: www-style@w3.org

Hm, sounds good, but when similar to url(), expr() and now size(), than it should read like this:

... url(picture) pos(1em 1em) size(20% 50%) ... more1() more2() ...

So you'll have a similar syntax for all, and it would be easy to remember.

Regards,
Peter

> From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
> 
> Bert Bos wrote:
> >     ... 1em 1em (20% 50%)...
> 
>        ... 1em 1em size(20% 50%)...
> 
> The rationale is similarity with url() and future expr().  Drawbacks are 
> not compact syntax and too much uniqueness in CSS specs.
> 
> Regards,
> ogi
> 
Received on Tuesday, 2 May 2006 16:16:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT