From 7d96fba8a60ee24742292524f4a7a4aec3f178ca Mon Sep 17 00:00:00 2001
From: Eric Willigers Specifying path data: the 'd'none value.
When 'd' is parsed as an attribute, it is parsed according to the + svg-path EBNF + grammar, instead of the CSS grammar given above.
+For animation, two 'd' property values can only be interpolated smoothly when the path data strings contain have the @@ -253,12 +257,40 @@
Name | +Value | +Initial value | +Animatable | +
---|---|---|---|
d | +"path data" | +As if not specified. | +yes | +
+ The contents of the attribute must match the svg-path EBNF grammar defined below, and errors within the string are handled according to the rules in the Path Data Error Handling section. If the path data string contains no valid commands, then the behavior is the same as if the attribute was not specified. +
+ +The following sections list the commands that can be used in path data strings. Those that draw straight line segments include the lineto commands diff --git a/master/types.html b/master/types.html index 52b62e12..e236b8fc 100644 --- a/master/types.html +++ b/master/types.html @@ -143,7 +143,11 @@
Note that all presentation attributes, since they are +
The 'd' presentation attribute is an exception, it is parsed + according to the svg-path + EBNF grammar.
+ +Note that all other presentation attributes, since they are defined by reference to their corresponding CSS properties, are defined using the CSS Value Definition Syntax.