Re: [csswg-drafts] [css-values] Add <number-optional-number> type

Besides the discussion about the type or multiplier, shouldn't SVG 
rather start discouraging mixed separator syntaxes? E.g. it doesn't 
make sense to allow `viewBox="0 0 50,50"`, for example.
There was a lengthy discussion lately about the usage of commas as 
separators in color methods (see issue #266).

As I understand it, in CSS commas are normally used to separate list 
items, where an item is a coherent chunk of data. According to that 
the only valid syntax for `viewBox` would be `viewBox="0 0 50 50"`, as
 the four values belong together.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/385#issuecomment-242291228 
using your GitHub account

Received on Thursday, 25 August 2016 06:19:37 UTC