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

Re: [css4-images] @image rule

From: Lea Verou <leaverou@gmail.com>
Date: Sat, 05 May 2012 16:08:58 +0300
Message-ID: <4FA5266A.7020608@gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 5/5/12 09:25, Tab Atkins Jr. wrote:
> I agree with this reasoning.  I believe David Baron suggested
> something similar several years ago, as an alternative to multiple
> background layers.  I'd like to introduce something like this.
>
> Your suggestion to use image() to refer to it is pretty clever; I
> don't see any immediate problem with it if we make sure to enforce
> that the<image-decl>  comes first when we reintroduce the ltr/rtl
> keywords and such.
>
> ~TJ
Another benefit of this is that it covers many other use cases we heard 
over the years. `background-spacing` for example, is covered by just 
applying margin to the @image.

-- 
Lea Verou (http://lea.verou.me | @LeaVerou)
Received on Saturday, 5 May 2012 13:09:31 GMT

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