W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2017

Re: [csswg-drafts] [css-transforms-1] Error in prose describing order of multiple transform function

From: Simon Fraser via GitHub <sysbot+gh@w3.org>
Date: Sun, 05 Nov 2017 20:53:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-342004558-1509915180-sysbot+gh@w3.org>
How about something like this:

-This transform moves the element by 80 pixels in both the X and Y directions, then scales the element by 150%, then rotates it 45&deg; clockwise about the Z axis. Note that the scale and rotation operate about the center of the element, since the element has the default transform-origin of ''50% 50%''.
+This transformation translates the local coordinate system by 80 pixels in both the X and Y directions, then applies a 150% scale, then a 45&deg; clockwise rotation about the Z axis. The impact on the rendering of the element can be intepreted as an application of these transforms in reverse order: the elements is rotated, then scaled, then translated.


-- 
GitHub Notification of comment by smfr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/909#issuecomment-342004558 using your GitHub account
Received on Sunday, 5 November 2017 20:53:03 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 5 November 2017 20:53:04 UTC