- From: Erik Dahlström <ed@opera.com>
- Date: Wed, 10 Sep 2014 14:48:50 +0200
- To: www-svg@w3.org, "David Dailey" <ddailey@zoominternet.net>
Hi David, do you happen to have any examples that expect a single trailing semicolon to mean there's an additional empty value at the end? Ideally I'd like all list-of-something to follow the same pattern of allowing/ignoring a trailing separator, which seems to be how most browsers handle such attributes, see e.g http://jsfiddle.net/u6s671gb/4/. For the case of values="0;5;3;;" is your expectation that the number of items in the parsed list of values should be 4, as in ["0", "5", "3", ""]? Or would you expect five values? On Wed, 10 Sep 2014 11:55:50 +0200, David Dailey <ddailey@zoominternet.net> wrote: > Hi all, > > "* Handling of trailing semicolons in list attributes (values, keyTimes, > keySplines, keyPoints, begin, end) (ed)" > > Just one quick (and no doubt naïve) observation. If by trailing > semicolons you mean things like values="0;5;3;" as opposed to "0;5;3" it > was a bit counter-intuitive as a learner when I first started playing > with <animate>. Not knowing what the spec had to say about it, I just > observed what the browsers did, and those (few at the time) that > implemented SMIL seemed to agree, so sometimes, if I recall correctly, I > left the last semicolon in since it did what I wanted it to. So if you > start fixing things to be more "intuitive" there may be the risk of > breaking some content. Now, if you mean "0;5;3;;", that’s something > different. Of course as people have pointed out "not many authors use > SMIL anyhow", whence the conclusion "SMIL must not be good." Of course, > there is a terrible fallacy in that argument, and I trust you all can > recall the gist of my 139 missives on said theme. > > Cheers > David > > -----Original Message----- > From: Erik Dahlström [mailto:ed@opera.com] > Sent: Wednesday, September 10, 2014 4:18 AM > To: www-svg@w3.org > Subject: Agenda, 11 September 2014 SVG WG telcon > [snip] > > > -- Erik Dahlstrom, Web Technology Developer, Opera Software Co-Chair, W3C SVG Working Group
Received on Wednesday, 10 September 2014 12:49:35 UTC