(bug 45677) CSSJanus: support text-shadow and box-shadow flipping
authorMatmaRex <matma.rex@gmail.com>
Mon, 4 Mar 2013 11:36:41 +0000 (12:36 +0100)
committerMatmaRex <matma.rex@gmail.com>
Tue, 5 Mar 2013 19:42:52 +0000 (20:42 +0100)
commite457d804eb6f854baf5edfd022ce217d53d6e946
treefb23b4f747f719e4f6e10720cc0811d20d4ee068
parent5b51a2e848f8819916c498d2f2ff53124fd3c97a
(bug 45677) CSSJanus: support text-shadow and box-shadow flipping

We just need to negate the horizontal offset value in both of them.

This only supports *a single shadow* per element; multiple shadows
are not supported (only the first will be flipped).

Also, to make it possible:
* don't mangle 5+ consecutive numeric values in the
  'four_notation_quantity' rule
* support rgb(a) and hsl(a) colors in the 'color' rule

Change-Id: I148229558e1b9a0516e413ffe86007235c3c3ef8
includes/libs/CSSJanus.php
tests/phpunit/includes/libs/CSSJanusTest.php