A Safari PDF Rendering Bug Workaround
While making some small design changes to my website today, I noticed Safari on macOS was rendering a PDF at a very small scale, rather than filling the entire Safari window, as it usually does. After some troubleshooting, I realized Safari was generating a content security policy error, indicating the PDF itself was violating my site’s content security policy by trying to use unsafe-inline as its style-src.
• 2 min read