File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,10 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
230230If the path data string contains no valid commands, then the behavior
231231is the same as the < span class ='prop-value '> none</ span > value.</ p >
232232
233+ < p > When < a > 'd'</ a > is parsed as an attribute, it is parsed according to the
234+ < a href ="#PathDataBNF "> svg-path</ a > < a href ="types.html#syntax "> EBNF
235+ grammar</ a > , instead of the CSS grammar given above.</ p >
236+
233237< p >
234238 For animation, two < a > 'd'</ a > property values can only be
235239 interpolated smoothly when the path data strings contain have the
Original file line number Diff line number Diff line change @@ -144,7 +144,11 @@ <h2 id="syntax">Attribute syntax</h2>
144144unitless length and angles to be used in presentation attribute while
145145disallowing them in corresponding property values.</ p >
146146
147- < p class ="note "> Note that all < a > presentation attributes</ a > , since they are
147+ < p > The < a > 'd'</ a > presentation attribute is an exception, it is parsed
148+ according to the < a href ="paths.html#PathDataBNF "> svg-path</ a >
149+ < a href ="types.html#syntax "> EBNF grammar</ a > .</ p >
150+
151+ < p class ="note "> Note that all other < a > presentation attributes</ a > , since they are
148152defined by reference to their corresponding CSS properties, are defined using
149153the CSS Value Definition Syntax.</ p >
150154
You can’t perform that action at this time.
0 commit comments