- From: Nikos Andronikos via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Aug 2016 10:36:22 +0000
- To: public-svg-issues@w3.org
nikosandronikos has just labeled an issue for https://github.com/w3c/svgwg as "DoC_accepted": == Result for a value of zero for pathLength is undefined == The pathLength attribute description states that a negative value is an error, but does not give guidance on what to do with a value of zero. https://svgwg.org/svg2-draft/paths.html#PathLengthAttribute A value of zero should probably be an error too since the user agent scales all distance computations by the ratio of pathLength to the user agent's own calculated length. A value of zero for pathLength would result in a ratio of zero (pathLength / calculated length). [According to my test](https://jsfiddle.net/dodgeyhack/heLLspss/), implementations handle a pathLength of zero differently. FireFox = handles as an error (ignores, gives the same result as when a negative value is used) Chrome = disables dash array Safari = doesn't support pathLength (at least on dasharray) InkScape = doesn't support pathLength (at least on dasharray) See https://github.com/w3c/svgwg/issues/81
Received on Monday, 8 August 2016 10:36:32 UTC