Re: [csswg-drafts] [css-shapes] Serialization of computed value of <position> in circle() and ellipse() function (#402)

I don't think anything should serialize as `calc(0px + 0%)` unless it was specified as a calc() with % and length in it to begin with. It violates both shortest-serialization principle of generic serialization rules, and the "don't change shape" principle of calc() serialization which preserves 0s *if they were specified*.

This applies to both background-position and shape functions.

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

Received on Friday, 6 March 2020 22:32:43 UTC