Re: [csswg-drafts] [css-syntax] "Serializing <an+b>" doesn't match what Firefox or Safari do

I have two thoughts on this:
* The [relevant section of syntax](https://drafts.csswg.org/css-syntax-3/#serialize-an-anb-value) should be clearer about what data type A and B are.  If it's clear that they're integers then the section would be clearly defined, but it's not particularly clear that they are.  (This makes it clear, for example, that the difference between "2" and "+2" is not retained, or the difference between "+0" and "-0", or the difference between "n" and "1n".)
* I think the inclusion of the "1" in "1n" goes against the general principle that CSS serialization serializes to the minimal form.  On the other hand, including it is simpler.

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

Received on Tuesday, 6 June 2017 20:22:57 UTC