RE: SVG12: height/width defaults

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.

Regards,
Scott Hayman
On behalf of the SVG WG
--
Scott Hayman
mailto:shayman@rim.com

[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