[svgwg] ACTION-3670: align <list> and <list-of-Ts> parsing rules. Allow leading and trailing whitespace and ignore a single trailing semicolon in 'keyTimes', 'keySplines' and 'values'.

https://github.com/w3c/svgwg/commit/b6d1c39893ac62560329c2d3fdad7e751545d0fc
commit b6d1c39893ac62560329c2d3fdad7e751545d0fc
Author: Erik Dahlström <ed@opera.com>
Date:   Fri Oct 10 17:11:24 2014 +0200

    ACTION-3670: align <list> and <list-of-Ts> parsing rules.
    
    Allow leading and trailing whitespace and ignore a
    single trailing semicolon in 'keyTimes', 'keySplines'
    and 'values'.

diff --git a/master/animate.html b/master/animate.html
index 3e1afd2..3995f19 100644
--- a/master/animate.html
+++ b/master/animate.html
@@ -1238,7 +1238,13 @@ interpolation method between discrete values.</p>
     syntax of the <a>'attributeType'</a> domain. Per the SMIL
     specification, leading and trailing white space,
     and white space before and after semicolon separators,
-    is allowed and will be ignored.  Except for
+    is allowed and will be ignored.
+
+    If the last semicolon separator is followed by either just white space
+    or no more characters, ignore both the separator and the implied
+    empty value at the end.
+
+     Except for
     any SVG-specific rules explicitly mentioned in this
     specification, the normative definition for this attribute
     is the
@@ -1267,7 +1273,17 @@ interpolation method between discrete values.</p>
     the pacing of the animation. Each time in the list
     corresponds to a value in the <a>'values'</a>
     attribute list, and defines when the value is used in the
-    animation function. Each time value in the
+    animation function.
+
+	Leading and trailing white space,
+    and white space before and after semicolon separators,
+    is allowed and will be ignored.
+
+    If the last semicolon separator is followed by either just white space
+    or no more characters, ignore both the separator and the trailing
+    white space.
+
+    Each time value in the
     <a>'keyTimes'</a> list is specified as a floating
     point value between 0 and 1 (inclusive), representing a
     proportional offset into the simple duration of the
@@ -1345,7 +1361,17 @@ interpolation method between discrete values.</p>
     the <a>'keyTimes'</a> list, defining a cubic
     Bézier function that controls interval pacing. The
     attribute value is a semicolon-separated list of control
-    point descriptions. Each control point description is a set
+    point descriptions.
+
+    Leading and trailing white space,
+    and white space before and after semicolon separators,
+    is allowed and will be ignored.
+
+    If the last semicolon separator is followed by either just white space
+    or no more characters, ignore both the separator and the trailing
+    white space.
+
+    Each control point description is a set
     of four values: <code>x1 y1 x2 y2</code>, describing the
     Bézier control points for one time segment. Note:
     <a href="http://www.w3.org/TR/2008/REC-SMIL3-20081201/smil-animation.html#adef-keySplines">SMIL</a>
diff --git a/master/changes.html b/master/changes.html
index a682d7b..1f4444c 100644
--- a/master/changes.html
+++ b/master/changes.html
@@ -348,6 +348,7 @@ have been made.</p>
   <li>Folded the ElementTimeControl interface into <a>SVGAnimationElement</a>.</li>
   <li>Removed the <span class="element-name">animateColor</span> element.</li>
   <li>Added the onbegin, onend and onrepeat attributes to the <a>SVGAnimationElement</a> interface.</li>
+  <li class='added-since-last-wd'>The <a>'values'</a>, <a>'keyTimes'</a> and <a>'keySplines'</a> attributes now ignore the last semicolon separator if it's not followed by a value.</li>
 </ul>
 
 <h3 id="fonts">Fonts chapter</h3>


============================================================
/home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --list-pages
/home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build animate changes
/home/svgwg/bin/node "/home/svgwg/svgwg.org/git/svgwg/tools/publish/publish.js" --build-single-page

Received on Friday, 10 October 2014 15:14:37 UTC