Bug 273939 - SVG transform3d lost on export to canvas, affecting scratch.mit.edu
Summary: SVG transform3d lost on export to canvas, affecting scratch.mit.edu
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: scratch.mit.edu
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2024-05-09 05:28 PDT by slyi
Modified: 2024-05-09 18:12 PDT (History)
6 users (show)

See Also:


Attachments
repro of issue : 3d transform not working on canvas import (2.42 KB, text/html)
2024-05-09 05:28 PDT, slyi
no flags Details
rendering in safari, firefox, chrome (248.84 KB, image/png)
2024-05-09 18:12 PDT, Karl Dubost
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description slyi 2024-05-09 05:28:38 PDT
Created attachment 471335 [details]
repro of issue : 3d transform not working on canvas import

Loading an svg to canvas results in lost transform3d on webkit (ios and mac). It works on chrome, edge and firefox but it mess's up on webkit. 
Please find below a minimal test to verify the issue. This effects how svgs are rendered on scratch.mit.edu
Comment 1 Radar WebKit Bug Importer 2024-05-09 10:26:43 PDT
<rdar://problem/127821370>
Comment 2 Simon Fraser (smfr) 2024-05-09 10:44:31 PDT
WebKit doesn't support 3d transform functions in "flattened" drawing (e.g. into canvas). Our underlying graphics frameworks don't support this.
Comment 3 Karl Dubost 2024-05-09 18:12:00 PDT
Created attachment 471349 [details]
rendering in safari, firefox, chrome