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

RE: Mirror as background property

From: David Perrell <davidp@hpaa.com>
Date: Sat, 22 Aug 2009 12:50:20 -0700
To: <www-style@w3.org>
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}


 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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:28 UTC