Re: [csswg-drafts] [fonts-4] @font-palette-values uses illegal integer descriptor names

> I don't know of any reason to disallow integer names for declarations.

Because it's currently illegal, per Syntax, and will result in those declarations being thrown out as syntax errors. ^_^

> Prefixing a number with 0 makes me think it's an octal number.

That seems irrelevant? The question is what happens when people *do* it, not what you might interpret it as.  (CSS is extremely clear that `05` is just the integer 5.) 

If we want to allow integer declaration names, we have to answer some questions about how they're compared.

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

Received on Monday, 19 June 2017 18:59:17 UTC