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

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Sun, 17 Mar 2019 16:34:33 +0000
To: public-svg-issues@w3.org
Message-ID: <issue_comment.created-473682226-1552840472-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.3.1 : Sunday, 17 March 2019 16:34:35 UTC