- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 May 2019 20:59:54 +0000
- To: public-svg-issues@w3.org
AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "SVG Native": == [svg-native] Should a viewBox be required? == A `viewBox` on the containing `<svg>` element gives the image an intrinsic aspect ratio & makes percentage lengths predictable (the convert to the same px values regardless of image scale), so that the graphic reliably scales up & down like an image (all parts scaling equally). [SVG in OpenType](https://docs.microsoft.com/en-us/typography/opentype/spec/svg) does not currently require a viewBox, but it's less of an issue there because the size & aspect ratio of each glyph is defined by other font data. As Chris notes in https://github.com/w3c/svgwg/issues/667#issuecomment-490167689, EPS requires a declared bounding box for similar reasons. See https://github.com/w3c/svgwg/issues/684
Received on Tuesday, 7 May 2019 20:59:55 UTC