Re: [csswg-drafts] [css-transforms] Keywords for `transform` (#944)

The geometry APIs already have `flipX` and `flipY` as shorthand functions.  I'd love to be able to use those as `transform: flipX()` (with or without the empty parentheses).

https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-flipx

> In SVG, where `transform-origin` defaults to (0 0) instead of (50% 50%), flipping also requires a translation by the respective size (i.e. width or height) of the box.

That would *not* be consistent with the existing APIs.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/944#issuecomment-467233297 using your GitHub account

Received on Monday, 25 February 2019 23:54:45 UTC