Re: [svgwg] Floating point number format discordance (SVG vs CSS vs browsers)

One could ask hypothetically if it would cause a problem if the CSS syntax rule were relaxed from 'one or more' to 'zero or more' decimal digits. Does CSS actually need to specify 'one or more', or is that just how someone wrote it because it made sense to them at the time? Could "nn." conceivably in the future be used in CSS to mean something other than "nn.0"? Is the rule intended to avoid the misinterpreation of "nn." as being an integer? Syntax rules should not arbitrarily prevent one from doing slightly unexpected things that are entirely harmless. In so far as it may be considered relevant, programming languages do not seem generally to take exception to "nn.". Of course the likelihood of changing CSS makes this more a philosophical matter really.    

-- 
GitHub Notification of comment by zed-vector
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/331#issuecomment-334001226 using your GitHub account

Received on Tuesday, 3 October 2017 22:48:09 UTC