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

[SVGMobile12] <length> unit

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 20 May 2005 12:21:22 +0000 (UTC)
To: www-svg@w3.org
Message-ID: <Pine.LNX.4.61.0505201212010.23855@dhalsim.dreamhost.com>

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.

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>.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 20 May 2005 12:21:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:06 UTC