Closed dlockhart closed 6 years ago
I think we should set transform-origin
directly to the value we want in this case: center
.
Agreed, I've updated the code.
I'm running this through tests at the moment. It'll probably be later tonight by the time results are in so I'll post an update tomorrow.
http://go/polymerelements_iron-iconset-svg_pull_81 All the tests there are the same as others that failed in the same run, so I'm going to call this ok.
This fixes #80 and an issue with icons in RTL being mirrored around the incorrect origin on browsers which support native shadow DOM.
(sample code in #80)
Before:![iconset-rtl](https://user-images.githubusercontent.com/5491151/35463848-ca21603e-02c0-11e8-9d57-9a4762eca2b4.png)
After:![iconset-rtl-fixed](https://user-images.githubusercontent.com/5491151/35463890-0c5be320-02c1-11e8-95d9-959b4c243909.png)