[Webkit-unassigned] [Bug 201854] transform presentation attribute seems to ignore transform-origin
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 19 04:23:33 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=201854
Maxim Kulikov <maximlkulikov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maximlkulikov at gmail.com
--- Comment #2 from Maxim Kulikov <maximlkulikov at gmail.com> ---
I can confirm that the bug is reproduced in Safari versions 14.0.3, 13.1.2 and 12.1.2. I didn't test it on earlier versions.
It seems like transform-origin SVG attribute is applied only to transformations defined in transform CSS property, but not in transform SVG attribute.
For example, this is rendered incorrectly
<g transform="scale(0.75 0.75)" transform-origin="100 100">...</g>
while this is rendered correctly
<g style="transform: scale(0.75, 0.75);" transform-origin="100 100">...</g>
Here is a more demonstrative example of the bug: https://maxlk.github.io/svg-transform-origin-attribute/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210419/54143367/attachment-0001.htm>
More information about the webkit-unassigned
mailing list