- From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
- Date: Tue, 17 Dec 2013 15:43:40 +0100
- To: www-svg@w3.org
Brian Birtles: >a) Make it a CSS property so you can, for example, tweak it with media >queries to make responsive SVG images. If the SVG document is referenced, one can already change it with a) element view b) SVG fragment identifiers c) animation Are there additional use cases covered by a property? If yes and this matters for content, it might be a good idea to provide a mechanism as well to have such a feature for content as well, not just for decoration. >Issue 1: The property name. >Proposal: 'viewbox' >Rationale: Otherwise we end up with 'viewBox', 'viewbox' (for >SVG-in-HTML) and 'view-box'. It feels like one word to me, or could be >anyway. The name of the attribute is already 'viewBox'. To avoid confusion for authors, the property should have the same name as the attribute. As far as I understand the HTML5 drafts, it is no problem to write the attribute as specified in SVG 'viewBox' and to forget about specific HTML5 rules, that allow to corrupt SVG content, if it appears inside the tag soup variant of HTML5 - for the XML variant anyway one has to use 'viewBox' as usual. Olaf
Received on Tuesday, 17 December 2013 14:44:24 UTC