When setting the transform-origin attribute on SVG elements, the resulting origin is not properly taking into account the transform reference box origin. Instead only the size is taken into account, which means that the origin is often wrong.
Created attachment 446531 [details] Patch
Comment on attachment 446531 [details] Patch Thanks Martin, looks good: unofficial, r=me - given that there is sufficient test coverage (percentage transform-origin, transform-origin + various transform-box modes etc. -- this I did not check). This is all handled in LBSE as well, I expect these testcases to pass as well with the new SVG engine.
Committed r286942 (245167@main): <https://commits.webkit.org/245167@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446531 [details].
<rdar://problem/86403608>