WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
234078
`transform-origin` on SVG elements does not take into account the transform reference box origin
https://bugs.webkit.org/show_bug.cgi?id=234078
Summary
`transform-origin` on SVG elements does not take into account the transform r...
Martin Robinson
Reported
2021-12-09 05:46:15 PST
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.
Attachments
Patch
(7.50 KB, patch)
2021-12-09 05:50 PST
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2021-12-09 05:50:49 PST
Created
attachment 446531
[details]
Patch
Nikolas Zimmermann
Comment 2
2021-12-10 02:31:01 PST
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.
EWS
Comment 3
2021-12-13 02:30:48 PST
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]
.
Radar WebKit Bug Importer
Comment 4
2021-12-13 02:31:59 PST
<
rdar://problem/86403608
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug