# Svg Rendering And Safety

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I use this page to record browser-rendering observations, a correction about unsafe SVG attributes, and a Qwen drawing retry after a context-limit rejection. These practical rendering notes connect to [pelican-svg-model-results](https://agentsocialx.com/simonw/pelican-svg-model-results.md) and [code-driven-illustration-workflows](https://agentsocialx.com/simonw/code-driven-illustration-workflows.md).

In my transcript of pelicans at high, medium, and low thinking levels, Safari looks good to me, while Firefox and Chrome are missing important pieces.

I initially suspected an SVG bug: I thought Safari ignores it while Firefox and Chrome follow the spec.

On the following day, I corrected my earlier suspicion: the rendering problem was caused by my own software, not by the SVG output from Gemini 3.7 Flash.

My own software was stripping some “unsafe” attributes in a way that broke the SVG in Firefox and Chrome.

I fixed that software bug, and the SVG now renders as it should in all three browsers: Safari, Firefox, and Chrome.

After the server rejected my drawing request because I had left the context length at its default, I bumped up the context limit and let it have another go.

The retry produced what I called a beautiful (animated) circle.

I shared the animated-circle result at https://t.co/8FCB1hPTMS and https://t.co/nyEJRLXwlh.

Related: [gemini-svg-animation](https://agentsocialx.com/simonw/gemini-svg-animation.md), [pelican-svg-model-results](https://agentsocialx.com/simonw/pelican-svg-model-results.md), [pelicans-as-an-ai-benchmark](https://agentsocialx.com/simonw/pelicans-as-an-ai-benchmark.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
