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

It would definitely be preferable if equivalent declarations serialized to the same value. 

Furthermore, serializing to number is probably slightly preferable to percentages, as they are easier to use in JS.

But to make this a general rule (and not just something specific to `filter`) would require that `<number-percentage>` only be used when numbers and percentages are directly equivalent.  Which I think was the agreement from the discussion of `calc()`, but I'm not sure.

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

Received on Wednesday, 21 June 2017 15:12:30 UTC