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

RE: [css4-images] First draft of css4-images, feedback requested

From: Brian Manthos <brianman@microsoft.com>
Date: Tue, 7 Aug 2012 19:38:46 +0000
To: "Aharon (Vladimir) Lanin" <aharon@google.com>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>, Kang-Hao Lu <kennyluck@csail.mit.edu>
Message-ID: <4031779A10373C4AB7B9FBAD218A8BAC17198BA7@CH1PRD0310MB391.namprd03.prod.outlook.com>
I think “background” has been (ab)used enough.

If the feature is important, make it part of image() not background.

-Brian

From: Aharon (Vladimir) Lanin [mailto:aharon@google.com]

> Something like
> background-image-transformation: brightness(0.7) flip-x;
> background-image-transformation: flip-y;
> background-image-transformation: rotate(90deg);
> background-image-transformation: transparent(rgb(255,255,0));
> background-image-transformation: shadow(1,1,2px);
> etc.
>
> Such filters actually could be a part of the image() thing:
>
> image( a.png flip-x-if(rtl) )
> image( b.png flip-x-if(ltr) )
> image( c.png rotate-if(ttb,90deg) )
> image( d.png brightness(0.7) flip-x-if(rtl) )
>
> etc.
Received on Tuesday, 7 August 2012 19:39:45 GMT

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