Re: [csswg-drafts] [css-values] Specify if serialized angles should always use canonical unit (#8530)

Specified values are still very handwavy in general, yeah. I *think* they're expected, on their own, to preserve the author-provided unit.

But yes, calc() is well-specified to do simplification/canonicalization, so for the example in the OP, Firefox/WebKit are correct. (Modulo the precision, which calc() serialization doesn't specify, deferring to CSSOM serialization of numeric values. I think the difference there is the #7416 issue.)

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 March 2023 18:15:53 UTC