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

RE: Mirror as background property

From: David Perrell <davidp@hpaa.com>
Date: Fri, 21 Aug 2009 13:11:14 -0700
To: <www-style@w3.org>
More thoughts on this...

Mirror could be incorporated into background-repeat:

  'mirror no-repeat' mirrors to the right.
  'no-repeat mirror' mirrors downward.
  'mirror' or 'mirror mirror' mirrors to the right, then mirrors both images downwards, giving you what would be a seamless pattern from any image.

The problem with that is that once you have that potentially-seamless pattern, you can't tile it.

Maybe a solution to that is a 'background-mirror' property that constructs a new image that then gets used when background-repeat is called for. In that case, you'd want

[ right | bottom | both | none ]

('both' would be like 'mirror mirror' above)

and rendering sequence would be 'background-flip'->'background-mirror'->'background-repeat'

- davidp
Received on Friday, 21 August 2009 20:12:25 UTC

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