WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 171664
245248
text-transform causes incorrect text placement in svg
https://bugs.webkit.org/show_bug.cgi?id=245248
Summary
text-transform causes incorrect text placement in svg
Ahmad Saleem
Reported
2022-09-15 15:09:34 PDT
Hi Team, This would be another Blink Merge Candidate bug. I was not able to find any similar bug so I created a new. The issue stems from where "whitespace" causes text within SVG to misplace and not render properly while using text-transform. This was fixed by Blink in this commit -
https://src.chromium.org/viewvc/blink?view=revision&revision=184655
and in Webkit, we have to modify following:
https://github.com/WebKit/WebKit/blob/e3e969227c9e4c59148f4e78a81fb9cbc6e2a3a3/Source/WebCore/rendering/svg/RenderSVGInlineText.cpp#L100
and add few bits in above and also in here:
https://github.com/WebKit/WebKit/blob/0d7afc5a45c140c44497a81e92416f01306be877/Source/WebCore/rendering/svg/RenderSVGInlineText.h#L50
I am going to take it up and fix it and see how it goes. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-15 16:07:21 PDT
*** This bug has been marked as a duplicate of
bug 171664
***
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