- From: Rick <graham.rick@gmail.com>
- Date: Tue, 24 Jun 2014 10:06:05 -0400
- To: Erik Dahlström <ed@opera.com>
- Cc: "www-svg@w3.org" <www-svg@w3.org>
Received on Tuesday, 24 June 2014 14:06:39 UTC
On Tue, Jun 24, 2014 at 9:15 AM, Erik Dahlström <ed@opera.com> wrote: > Hi, > > what should SVGPathElement.getPointAtLength[1] and getPathSegAtLength[2] > return if there's no path data (or if the path data has no valid segments)? > > This topic was discussed on last week's call[3], but no consensus was > reached. > > A testcase[4] shows the following behavior: > > 2c) gPSAL should return undefined > This seems to be the most logical result. Returning a valid but incorrect result is definitely a mistake. An exception might be better, but the messages listed in the proposals don't make sense, a cursory look at the current exceptions doesn't suggest a logical candidate to me. NO_PATH_DATA would be an acceptable message.
Received on Tuesday, 24 June 2014 14:06:39 UTC