Re: [SVG2] Clock-value syntax

On Mon, 23 Jun 2014 17:32:28 +0200, Robert Longson <longsonr@gmail.com>  
wrote:

> You’d still want to disallow negative numbers as Timecount values though
> wouldn’t you? What does Chrome/Opera do if you give it one of those?
>
> Robert

In 'begin' and 'end' at least, the syntax is extended with the sign, see  
e.g [1]. Other attributes have additional constraints, such as 'min' which  
says the 'Clock-value' must be greater than 0.

The sign prefix is accepted by the parser in Blink atm.

A negative repeatDur looks like it's just ignored, and a positive  
'Clock-value' with a + prefix is accepted and used.


[1] http://www.w3.org/TR/SVG11/animate.html#OffsetValueSyntax

-- 
Erik Dahlstrom, Web Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group

Received on Tuesday, 24 June 2014 13:53:42 UTC