RESOLVED DUPLICATE of bug 230187 231988
-apple-system font crashes safari when applied to an emoji in a canvas element
https://bugs.webkit.org/show_bug.cgi?id=231988
Summary -apple-system font crashes safari when applied to an emoji in a canvas element
Levin Dixon
Reported 2021-10-19 15:02:38 PDT
This example causes the tab to crash: <!DOCTYPE html> <html> <body> <canvas id="myCanvas" width="200" height="100"></canvas> <script> var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); ctx.font = "30px -apple-system"; ctx.fillText("⚪ Grey - On hold",10,50); </script> </body> </html>
Attachments
Alexey Proskuryakov
Comment 1 2021-10-19 17:47:37 PDT
*** This bug has been marked as a duplicate of bug 230187 ***
Note You need to log in before you can comment on or make changes to this bug.