Re: [csswg-drafts] [css-values] New units for <percentage> based on existing usage (#5551)

This proposal, obviously, is not about new features and only tangentially about an improved authoring experience. It would help to make future additions to CSS better if numbers were always followed by a unit unless they are counting something. If in one place or another it is commonplace to omit a particular unit and `<number>` is not used for counts, then it could be recorded in the definition of the respective property or function which unit is implied if none is present. There are, for instance, cases of `deg` and `px` being implied, while `%` is never implied (unlike \*`u` above).

We do not need to have issues like #5547, #4648, #4874, #4477, #3450, #3399, #3342, #2690, #2341, #872, #635, #573, #278 and #272 over and over again. #250, #646, #1463 and #2789 are also related.

For what it’s worth, though, I don’t think there’s a strong case to be made for \*`h`, \*`k` and \*`t`.

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


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

Received on Monday, 28 September 2020 18:19:51 UTC