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

Simon Fraser (smfr)
Reported 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.
Attachments
Screenshot (left: Safari, right: Chrome) (318.34 KB, image/png)
2022-04-06 14:38 PDT, Simon Fraser (smfr)
no flags
Testcase (181.89 KB, application/zip)
2022-04-06 14:38 PDT, Simon Fraser (smfr)
no flags
simpler test case (1.69 KB, text/html)
2022-04-18 15:08 PDT, Said Abou-Hallawa
no flags
Simon Fraser (smfr)
Comment 1 2022-04-06 14:38:38 PDT
Created attachment 456862 [details] Testcase
Radar WebKit Bug Importer
Comment 2 2022-04-13 14:39:14 PDT
Said Abou-Hallawa
Comment 3 2022-04-18 15:08:22 PDT
Created attachment 457826 [details] simpler test case
Said Abou-Hallawa
Comment 4 2022-04-18 15:44:49 PDT
This seems to be a regression of r289981
Said Abou-Hallawa
Comment 5 2022-04-18 16:27:55 PDT
I take this back, the bug is fixed once the page is refreshed with and without r289981.
Note You need to log in before you can comment on or make changes to this bug.