W3C home > Mailing lists > Public > www-svg@w3.org > January 2007

Proposed Liaison: [CSS2.1] Default Width and Height

From: Doug Schepers <doug.schepers@vectoreal.com>
Date: Thu, 11 Jan 2007 17:48:35 -0500
Message-ID: <45A6BEC3.2070403@vectoreal.com>
To: www-svg <www-svg@w3.org>

Hi, groupies-

Please peruse this here email and let me know if'n it is purty enough. 
I plan to send it to CSS and CDF.

Hi, CSS WG-

The SVG WG has reviewed the proposal [1] by Fantasai for smarter way for 
the default width and height of an SVG image in HTML+CSS.  We would like 
to express our approval of it, and hope that the CSS WG incorporates it 
into CSS 2.1.  We urge the CDF WG to review it as well, and report on 
its suitability.

The most common case for SVG documents, and the one endorsed by the SVG 
WG, is that the width and height attributes on the root element be 
unspecified or expressed as percentages, with the viewport and aspect 
ration determined by the viewBox.  Doing so allows for the automatic 
scaling of the image.  This proposal is in line with that use case.

The proposal also properly addresses the distinction between CSS and SVG 
percentages with respect to margins, padding, etc.

For our part, we have resolved to errata the 1.1 spec along the lines of 
the SVG Mobile 1.2 spec sections 7.11, 7.12, and 7.13 [2] to make it 
more clear, and we will inform you when that errata is published.  We 
will try to do this in a timely manner so it can be referenced.

Also, in the course of our discussion with Fantasai, we discovered that 
the SVG specs were not sufficiently clear that percentage values in the 
SVG root width and height attributes do not specify an intrinsic width 
and height.  We have resolved to add text to that effect, and hope that 
this clarifies matters for all involved.

We appreciate your efforts on this issue, and are glad that this 
proposal will work to the advantage of authors in an increasingly common 
use case.

[1] http://lists.w3.org/Archives/Member/w3c-svg-wg/2006OctDec/0373.html
[2] http://www.w3.org/TR/SVGMobile12/coords.html

Regards-
-Doug, on behalf of the SVG WG
Received on Thursday, 11 January 2007 22:49:04 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:36 GMT