animateTransform and functional arguments (was Re: review comments for SVG-related parts of css3-transforms)

Hi,

On Mar 14, 2012, at 7:11 AM, Dirk Schulze wrote:

>> 
>> 
>> In 7.8.4. The SVG ‘animateTransform’ element:
>> 
>>  The SVG ‘type’ attribute gets extended by all transform functions
>>  listed in 2D Transformation Functions, 3D Transformation Functions
>>  and SVG Transformation Functions.
>> 
>> For all the new types that animateTransform supports, is the syntax for
>> values just a comma-or-whitespace separated list of the values that
>> appear within the parentheses of the functional notation?  This should
>> be defined.
> What about:
> 
> "The attributes 'from', 'by' and 'to' of the 'animateTransform' element take the argument(s) to the functional notation. If a function takes more than one argument, the arguments are either separated by a comma (‘,’) with optional whitespace before and after the comma or one or more whitespace characters.
> 
> The ‘values’ attribute for the ‘animateTransform’ element consists of a semicolon-separated list of values, where each individual value is expressed as described above for ‘from’, ‘by’ and ‘to’."
> 
> 
> For consistency reasons the section "The SVG ‘animate’ and ‘set’ element" needs to be updated as well:
> 
> "The attribute 'to' of the 'animate' and 'set' elements as well as the attributes 'from' and 'by' of the 'animate' element take a list of transform functions.
> 
> 
> The 'values' attribute for the 'animate' element consists of a semicolon-separated list of transform function lists."

I added a patch to https://www.w3.org/Bugs/Public/show_bug.cgi?id=16376

It removes the section about attributeType (like I said before this is not in the scope of CSS3 Transforms) and adds the following paragraphs to the 'animateTransform' section:

""
The attributes 'from', 'by' and 'to' of the 'animateTransform' element take the argument(s) to the functional notation and follow the syntax of the SVG 'transform' attribute.

The ‘values’ attribute of the ‘animateTransform’ element consists of a semicolon-separated list of values, where each individual value is expressed as described above for ‘from’, ‘by’ and ‘to’ attributes.
""

"syntax of the SVG 'transform' attribute" links to the syntax description at http://dev.w3.org/csswg/css3-transforms/#svg-syntax

I did not change the section for 'animate' and 'set'. This is in the scope of SVG animation (choose either CSS or SVG parsing rules).

Does that cover your concerns?

Greetings,
Dirk

Received on Wednesday, 14 March 2012 19:31:48 UTC