| Summary: | -apple-system font crashes safari when applied to an emoji in a canvas element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Levin Dixon <levindixon> |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Major | CC: | ap, dino |
| Priority: | P2 | ||
| Version: | Safari 15 | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 11 | ||
*** This bug has been marked as a duplicate of bug 230187 *** |
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>