W3C home > Mailing lists > Public > www-svg@w3.org > November 2005

Re: [SVGMobile12] <length> unit

From: Chris Lilley <chris@w3.org>
Date: Fri, 11 Nov 2005 19:57:27 +0100
Message-ID: <691008744.20051111195727@w3.org>
To: www-svg@w3.org
Cc: Ian Hickson <ian@hixie.ch>

Hello Ian,

> Currently SVG 1.2 uses a <length> type.
> 
> This type is defined so as to be the same as a <number> for all cases 
> except two attributes on the root-most <svg> element.
> 
> <number> is not a valid <length> in CSS.

Our <length> is not claimed to be a CSS <length>.

> Please change the SVG spec so that the attributes that allow only <number> 
> are clearly stated as allowing only <number>, and the attributes that 
> allow both <number> and the CSS <length> type are clearly labelled as 
> accepting both. Then, please clearly define <length> in a manner identical 
> to the CSS definition (unit not optional), so that the term does not 
> change meaning across different W3C specifications.
> 
> Similarly, please define <coordinate> in terms of <number>, not <length>, 
> since none of the cases that allow <coordinate> actually allow anything 
> other than <number>.

These would be excellent suggestions if there were only an SVG Tiny 1.2
and no SVG Full 1.2, but because there will be an SVG Full 1.2 where
<length> will be used much more extensively, it is more manageable from
an editorial perspective to continue to refer to <length> in the Tiny
spec, but have the definition of <length> in Tiny say that it equates to
<number>. This editorial approach proved to be satisfactory for Tiny 1.1
implementors and we believe it will also prove satisfactory for Tiny 1.2
implementors.

Please let us know shortly if this explanation does not resolve your
comment.

-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Friday, 11 November 2005 18:57:32 GMT

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