Re: [css4-images] @image rule

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 UTC