Re: [csswg-drafts] [css-values] Let B default to 1 in `round(<strategy>?, A, B)` (#9668)

It just occurred to me that with keywords in the second parameter, `round()` _could_ also be a place to implement truly physical length measurements. #5986 #614

Either `round(100mm, physical)` or `round(100mm, millimeter)` would give the best approximation of 1 dm the browser can do with the active output device. 

However, authors would probably want arbitrary precision there, which would be crude to support with keywords and always remain incomplete. Treat this as a devil’s advocate proposal then. 

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


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

Received on Saturday, 9 December 2023 15:48:19 UTC