[svgwg] Potentially invalid value for dasharray (#642)

pyoor has just created a new issue for https://github.com/w3c/svgwg:

== Potentially invalid value for dasharray ==
Dasharray is currently defined as `<dasharray> = [ <length> | <percentage> | <number> ]#*`
According to https://drafts.csswg.org/css-values-3/#component-multipliers

`A hash mark (#) indicates that the preceding type, word, or group occurs one or more times, separated by comma tokens (which may optionally be surrounded by white space and/or comments). It may optionally be followed by the curly brace forms, above, to indicate precisely how many times the repetition occurs, like <length>#{1,4}. `

Based on this definition it doesn't appear that combining the hash and asterisk multipliers is valid.  

It should be:
`<dasharray> = [ <length> | <percentage> | <number> ]# | [ <length> | <percentage> | <number> ]*`

https://github.com/w3c/svgwg/blob/6c2568dd9ce23b6c9050e0a8703680b3b86c5631/specs/strokes/master/Overview.html#L894

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/642 using your GitHub account

Received on Friday, 1 February 2019 19:25:06 UTC