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

> Apparently, browsers are far more flexible than the above.

So browsers are using the SVG parsing rules, allowing things like `.9.9.9.9` to be parsed as four distinct numbers.

I'm not sure whether that is consistent with CSS parsing. "Space-separated" is actually a misnomer for the CSS `+` multiplier. It just specifies list of consecutive tokens, which means the spaces could be optional if the token parsing is unambiguous. But I can't think of a CSS property that accepts a list of numbers, to know if browsers apply the same space-optional parsing rules.

Either way, I don't know whether we *need* to specify support for the condensed version. It would depend on whether SVG software (e.g., minimizing tools) currently takes advantage of the support.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/642#issuecomment-473682226 using your GitHub account

Received on Sunday, 17 March 2019 16:34:35 UTC