Re: [csswg-drafts] [css-values] Serialization of <number-percentage>?

Serialization is really a matter of CSSOM spec, I believe.

In [the serialization section of CSSOM](https://drafts.csswg.org/cssom/#serializing-css-values), there is no individual rule for `<number-percentage>`, and from CSS Values spec, [`<number-percentage>`](https://drafts.csswg.org/css-values-3/#typedef-number-percentage) is really just `[ <number> | <percentage> ]` so I would suggest we should just serialize it as `[ <number> | <percentage> ]`, which means they should be serialized as-is in this case.

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

Received on Friday, 23 June 2017 01:01:09 UTC