Re: [fxtf-drafts] [css-transform-2] Logical Transforms

> I wonder if instead of adding logical to each transform function we should add a logical "transform-function" which produces the correct flip for the writing mode.

Just what I was about to suggest.  Something like:

    transform: translate(100px, 200px) scale(2.0, 1.0) rotate(25deg) direction();

So for eample, for LTR, `direction()` would be equivalent to `scale(1,1)`.  And for RTL it would be equivalent to `scale(-1,1)`.

    transform: translate(100px, 200px) scale(2.0, 1.0) rotate(25deg) scale(-1,1);

For vertical modes, ther would be some rotate() in there.


-- 
GitHub Notification of comment by BigBadaboom
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/311#issuecomment-432668415 using your GitHub account

Received on Wednesday, 24 October 2018 13:58:49 UTC