- From: Dirk Schulze <dschulze@adobe.com>
- Date: Tue, 24 Jun 2014 19:58:22 +0000
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- CC: Erik Dahlström <ed@opera.com>, "www-svg@w3.org" <www-svg@w3.org>
On Jun 24, 2014, at 8:27 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > On Tue, Jun 24, 2014 at 6: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)? > > gPAL doesn't even seem to be defined for when the argument is larger > than the path's length. Define *that*, and the answer to gPAL might > fall out automatically. Unless the answer is "the last point in the > path", in which case we still have a problem. I'm torn between > throwing and matching whatever answer we give for gBB of an invalid > path, as it kinda "lives" at that point. > > gPSAL should probably throw, (2a). It is a simple getter. No need to throw. Greetings, Dirk > > ~TJ >
Received on Tuesday, 24 June 2014 19:59:12 UTC