W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Mon, 25 Feb 2019 23:54:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-467233297-1551138883-sysbot+gh@w3.org>
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).


> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:44 UTC