<svg> attribute `viewBox` is lowercased to `viewbox`
rutrum opened this issue · comments
The result of this error can be seen in this image.
This happens on chromium-based browsers, since it will not interpret viewbox
as viewBox
(like in Firefox). This case-sensitive behavior is unique to the <svg>
tag, and is necessary for proper rendering.
After checking the rust code for the site (and seed itself) I can conclude that the issue doesn't lie in the rust code or the svg files for the seed logo. I suspect it is the result of a postprocessing step minifying the code. It could be similar to this problem with Parcel where it would lowercase the viewBox
attribute. I'm unsure at the moment what JS dependency of the site could be causing this behavior.