Bug 245122
| Summary: | Percentage-based translations don't work with SVG <text> | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | Layout and Rendering | Assignee: | Tim Nguyen (:ntim) <ntim> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, commit-queue, rbuis, simon.fraser, webkit-bug-importer, zalan, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 245499 | ||
| Bug Blocks: | |||
Tim Nguyen (:ntim)
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
<rdar://problem/99854408>
Tim Nguyen (:ntim)
*** This bug has been marked as a duplicate of bug 245120 ***
Tim Nguyen (:ntim)
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)
bug 245120 fixes foreignObject
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/4408
EWS
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
Re-opened since this is blocked by bug 245499
Tim Nguyen (:ntim)
Pull request: https://github.com/WebKit/WebKit/pull/4607
EWS
Committed 254777@main (ec9527d7aa0c): <https://commits.webkit.org/254777@main>
Reviewed commits have been landed. Closing PR #4607 and removing active labels.