Re: [css3-background] 'background' shorthand

Bert Bos wrote:
> While working on open issues for the Backgrounds and Borders module, we 
> came across this old message, which looks like a feature request, but 
> has never had an answer from the WG yet:
> 
> http://lists.w3.org/Archives/Public/www-style/2006May/0037.html
> 
> Laurens Holst:
>> S.F. Alim schreef:
>>> Well I believe that size is necessary but what about image should
>>> flip vertical or horizotal or even mirror it - I mean inverse it
>>> like whatever is right to left should be left to right
>> Well, that sounds like a negative size.
>>
>> So, “url(foo)/-100%” auto will cause the image to flip.
> 
> This is not an official answer, only the opinion of the editors. We 
> think flipping images does not belong in CSS, certainly not in level 3. 
> There is little demand for it, little interest in implementing it and 
> images can easily be flipped *before* being sent to a UA (a method that 
> works for images outside of CSS, too).
> 
> [For Tracker: this fulfills ACTION-8.]
> 
> Bert


I can see that there is really no need to flip images (in theory) but I 
will mentioned that this was a unmentioned part of my 
background-position proposal.

http://lists.w3.org/Archives/Public/www-style/2007Nov/0255.html


Now having the symmetry different from margin, padding and borders.

background-position:0 0 0 0; /* left, top, right, bottom */


Flipping from top to bottom.

background-position:0 100% 0 100%; /* left, top, right, bottom */


Flipping from left to right.

background-position:100% 0 100% 0; /* left, top, right, bottom */


Flipping on both axises.

background-position:100% 100% 100% 100%; /* left, top, right, bottom */



Alan

http://css-class.com/test/

Received on Monday, 7 April 2008 17:02:30 UTC