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 11:58:09 -0700
To: <www-style@w3.org>
Message-ID: <HIEDLECHAFDEPLGKECDDKEPKAMAB.davidp@hpaa.com>
| The best would then be :
| 
| background-repeat: <repeat-value> (<mirror-style>)?
|     <repeapt-value> : 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
|     <mirror-style> : 'no-mirror' | 'mirror' | 'mirror-x' | 'mirror-y'

Yes, that works. And <flip-style> could also be added.

| To solve the problem of the mirrored gradient, we can create a 
| function like
| 
| <image> : ... | <seamless>
|     <seamless> :  'seamless(' <image> ', ' <mirror-style> ')'

Hmm...

Both solutions seem a bit too complicating (and semantics-muzzing?).

Since mirroring will (hopefully) not be anywhere near as commonly-used as existing properties that could be extended to incorporate it, seems best to make it a separate property.

- davidp
Received on Saturday, 22 August 2009 18:59:46 GMT

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