RE: Mirror as background property

Paul wrote:
| I suggest using the verb 'flip' rather than 'mirror' since it's shorter 
| and the preferred term used in many leading graphics packages such as 
| Photoshop.

I'm inclined to agree because there's not much need for both flip and mirror to apply to a single background image. But I don't like my initial suggestion as to how it would work. Using the background-repeat syntax is better:

 Name:       background-flip
 Value:      [ <flip> [ , <flip> ]*
 Initial:    no-flip
 Applies to: all elements 

Where <flip> means:

 flip-x | flip-y | mirror-x | mirror-y |[flip | mirror | no-flip]{1,2}

Specifying

 background-flip: mirror-x;

to mirror the left half onto the right seems easy enough to understand and remember.

- davidp

Received on Saturday, 22 August 2009 19:51:05 UTC