Bug 238893 - Incorrect geometry when drawing SVG image into canvas
Summary: Incorrect geometry when drawing SVG image into canvas
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-06 14:38 PDT by Simon Fraser (smfr)
Modified: 2022-04-18 16:27 PDT (History)
4 users (show)

See Also:


Attachments
Screenshot (left: Safari, right: Chrome) (318.34 KB, image/png)
2022-04-06 14:38 PDT, Simon Fraser (smfr)
no flags Details
Testcase (181.89 KB, application/zip)
2022-04-06 14:38 PDT, Simon Fraser (smfr)
no flags Details
simpler test case (1.69 KB, text/html)
2022-04-18 15:08 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.