[Webkit-unassigned] [Bug 230886] New: iOS 15 regression crash when drawing SVG image on canvas with scaling
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 28 02:45:52 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=230886
Bug ID: 230886
Summary: iOS 15 regression crash when drawing SVG image on
canvas with scaling
Product: WebKit
Version: Other
Hardware: iPhone / iPad
OS: Other
Status: NEW
Severity: Major
Priority: P2
Component: Canvas
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kaput.sts at gmail.com
CC: dino at apple.com
It seems that when downscaling a HTML canvas by factor F, and drawing an image with SVG source, upscaled by factor F, iOS 15 Safari crashes when F is large enough, even though these two factors should cancel out (1/F * F = 1).
I think it will draw the SVG to an intermediate texture F times the size of the SVG, in this case (F*1000)^2 pixels => kaboom.
This is a regression because it works on all other browsers, and works fine in iOS 13 and 14 Safari.
To reproduce, visit https://codepen.io/Ziriax/full/LYLgYxp
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210928/51205c7f/attachment-0001.htm>
More information about the webkit-unassigned
mailing list