[svgwg] Issue: Potentially invalid value for dasharray (#642) marked as Needs editing

svgeesus has just labeled an issue for https://github.com/w3c/svgwg as "Needs editing":

== 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

See https://github.com/w3c/svgwg/issues/642

Received on Tuesday, 7 May 2019 21:37:32 UTC