RE: Mirror as background property

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

'background-mirror'
[ 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