W3C home > Mailing lists > Public > public-svg-issues@w3.org > March 2019

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

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Mar 2019 06:37:35 +0000
To: public-svg-issues@w3.org
Message-ID: <issues.labeled-405840464-None-sysbot+gh@w3.org>
dirkschulze has just labeled an issue for https://github.com/w3c/svgwg as "Agenda+":

== 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 Monday, 11 March 2019 06:37:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 11 March 2019 06:37:37 UTC