W3C home > Mailing lists > Public > www-svg@w3.org > April 2006

RE: SVG12: height/width defaults

From: Scott Hayman <shayman@rim.com>
Date: Fri, 28 Apr 2006 14:31:58 -0400
Message-ID: <1CA55DCF91707745A9B5091A303367E903D48C22@XCH43YKF.rim.net>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: <www-svg@w3.org>

Hi Björn,

> From: Bjoern Hoehrmann
> Sent: January 4, 2006 8:04 PM

> >  * the px unit should not be referred to as absolute unit as CSS
> >    considers it a relative unit.
> This isn't fixed.

In order to avoid the inconsistent definitions of units in CSS and XSL [1], we've removed the word "absolute" when referring to units.  See updated text below.

> >  * the algorithm does not define the result for height and width in
> >    user units, em, ex, etc. 
> Not fixed.

The algorithm has been clarified to cover these cases.  The updated text is now:

	# If the 'width' and 'height' of the rootmost svg element are both specified with unit identifiers (in, mm, cm, pt, pc, px, em, ex) or in user units, then the aspect ratio is calculated from the 'width' and 'height' after resolving both values to user units.
	# If either/both of the 'width' and 'height' of the rootmost svg element are in percentage units, the aspect ratio is calculated from the width and height of the 'viewBox' specified for the current SVG document fragment. If the 'viewBox' is not correctly specified, or set to none, the intrinsic aspect ratio cannot be calculated and is considered unspecified.

> >And the dependency on the view specifications on the root 
> svg element 
> >is inconsistent with SVG 1.1 where the view specification 
> might be in 
> >the fragment identifier for the SVG document and authors 
> would expect 
> >these to be considered when the intrinsic aspect ratio is determined.
> Not fixed. This is the most important point really, instead 
> of referring to the attributes on the <svg> element it should 
> refer to the view that is established through the view 
> specifications. This is probably the same in Tiny but not in "Full".

Yes, it is the same in Tiny.  As such, the text in Tiny will remain as is.  We will be sure to cover how this works in Full.

Please let us know, within 2 weeks, if this does not address your comments.

Scott Hayman
On behalf of the SVG WG
Scott Hayman

[1] http://www.w3.org/TR/xsl11/#d0e5769

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Friday, 28 April 2006 18:32:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC