W3C home > Mailing lists > Public > www-svg@w3.org > December 2000

Re: <stop> offset type

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Wed, 06 Dec 2000 07:59:32 -0800
Message-Id: <>
To: Stephane Conversy <conversy@emn.fr>
Cc: www-svg@w3.org
The spec should describe the 'offset' attribute as being a 
<number>|<percentage>, not a <length>, since CSS units such as "in" or "cm" 
are not allowed. I'll make this change.

Given that, I think it is OK for the DOM to represent the attribute as an 
SVGAnimatedNumber, since there is a very easy mapping from percentages to 
fractions. At this late stage, I don't think the SVG group will want to 
change the DOM definition for this attribute.

Jon Ferraiolo
SVG Editor

At 09:59 AM 12/5/00 +0100, Stephane Conversy wrote:
>In the CR, it is said that the "offset" attribute of the "<stop>"
>is of type length, and can be a float number or a value expressed as a
>But in the idl, "offset" is a Number, and not a length...
>Is it normal ?
>stephane conversy
>ecole des mines de nantes
Received on Wednesday, 6 December 2000 11:29:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC