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
245122
Percentage-based translations don't work with SVG <text>
https://bugs.webkit.org/show_bug.cgi?id=245122
Summary
Percentage-based translations don't work with SVG <text>
Tim Nguyen (:ntim)
Reported
2022-09-12 21:57:40 PDT
Affected WPT: css/css-transforms/transform-box/view-box-mutation-002.html:
https://wpt.live/css/css-transforms/transform-box/view-box-mutation-002.html
css/css-transforms/transform-box/view-box-mutation-003.html:
https://wpt.live/css/css-transforms/transform-box/view-box-mutation-003.html
Both tests exercise transform: translate(-50%, 0) and transform-box
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-12 21:58:10 PDT
<
rdar://problem/99854408
>
Tim Nguyen (:ntim)
Comment 2
2022-09-14 10:40:12 PDT
*** This bug has been marked as a duplicate of
bug 245120
***
Tim Nguyen (:ntim)
Comment 3
2022-09-15 08:48:58 PDT
The issue here is separate from
bug 245120
. We pass in a 0x0 rect as bounding box rect for transforms:
https://searchfox.org/wubkat/rev/0c40ba62b482511fe03646f1d4982efd727475dd/Source/WebCore/svg/SVGTextElement.cpp#59
Similar issue occurs with <foreignobject>
Tim Nguyen (:ntim)
Comment 4
2022-09-15 16:20:11 PDT
bug 245120
fixes foreignObject
Tim Nguyen (:ntim)
Comment 5
2022-09-15 16:33:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/4408
EWS
Comment 6
2022-09-19 19:21:40 PDT
Committed
254656@main
(b87209ee89e8): <
https://commits.webkit.org/254656@main
> Reviewed commits have been landed. Closing PR #4408 and removing active labels.
WebKit Commit Bot
Comment 7
2022-09-21 12:15:20 PDT
Re-opened since this is blocked by
bug 245499
Tim Nguyen (:ntim)
Comment 8
2022-09-22 14:00:00 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/4607
EWS
Comment 9
2022-09-22 20:58:23 PDT
Committed
254777@main
(ec9527d7aa0c): <
https://commits.webkit.org/254777@main
> Reviewed commits have been landed. Closing PR #4607 and removing active labels.
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