Bug 238893

Summary: Incorrect geometry when drawing SVG image into canvas
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=227748
Attachments:
Description Flags
Screenshot (left: Safari, right: Chrome)
none
Testcase
none
simpler test case none

Description Simon Fraser (smfr) 2022-04-06 14:38:16 PDT
Created attachment 456861 [details]
Screenshot (left: Safari, right: Chrome)

When drawing an SVG image into canvas, we draw with the wrong scale at the wrong location. See testcase.
Comment 1 Simon Fraser (smfr) 2022-04-06 14:38:38 PDT
Created attachment 456862 [details]
Testcase
Comment 2 Radar WebKit Bug Importer 2022-04-13 14:39:14 PDT
<rdar://problem/91715740>
Comment 3 Said Abou-Hallawa 2022-04-18 15:08:22 PDT
Created attachment 457826 [details]
simpler test case
Comment 4 Said Abou-Hallawa 2022-04-18 15:44:49 PDT
This seems to be a regression of r289981
Comment 5 Said Abou-Hallawa 2022-04-18 16:27:55 PDT
I take this back, the bug is fixed once the page is refreshed with and without r289981.