Re: [csswg-drafts] [css-transforms] view-box interacts poorly with transform-origin percentages

>  All positions in SVG are relative to the `viewBox` origin.

Er...  but `transform-box: fill-box;` makes my example render as expected.

![demo](https://user-images.githubusercontent.com/94112/37474314-51b2f4ea-282d-11e8-85d2-6f4226c7fd69.png)

The whole point of `transform-box` is to change what `transform-origin` is relative to, so I don't understand why `view-box` couldn't simply be positioned to match the actual view box.  (Aside from breaking anything relying on the current behavior, of course.)

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

Received on Thursday, 15 March 2018 15:49:45 UTC