svg
svg copied to clipboard
[Epic] Known List of SVG Rendering Issues
Here's a list of things that should, but don't, render correctly (or aren't supported).
- [ ] #13: background incorrectly translated
- [ ] SVGs which use
translate(x)(but noy): the SVG spec istranslate(x, [y = 0]). You get a warning on build, but it appears to display correctly. - [ ] SVGs that have a
viewBoxproperty on thesvgtag, but nowidthandheightproperties, are rendered with the default size of400x400instead of theviewBoxsize. - [ ] This sun SVG icon has a myriad of issues. Specifically, the path with
id="path9599"(orange circle background) appears correctly in many SVG viewers (Windows, Linux) but appears mis-translated to the right and down when the icon is rendered. (You can repro this by deleting everything from the icon except the rootgtag and thispathtag.) - [ ] #23: text, gradients, and rotation
- [ ] #29: dashed lines.
- [x] #31: three-character hex colours don't work
- [ ] #32: stroke width doesn't work
- [ ] #35: Stroke thickness is off by ~sqrt(2)/2
- [ ] #38: Parent/child object relationships are broken
- [ ] #41 Rotation doesn't work
- rendered svg path element is always closed. The "z" syntax inside path always ignoring.