- From: Scott Kellum via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Nov 2022 21:52:57 +0000
- To: public-css-archive@w3.org
scottkellum has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text] allow line-height to accept aspect-ratio style values == Unitless `line-height` is generally accepted as the best type of value for `line-height`, however this can sometimes be confusing for people to calculate from pixel-based mockups. ## Proposal Allow `line-height` to accept ratio formatted values similar to `aspect-ratio`. This would let authors easily convert pixel based values to numbers without the need for `calc`. So if a mockup has a font size of `16px` and a line height of `20px`, the CSS author would be able to write `line-height: 20 / 16` instead of `line-height: calc(20 / 16)` or doing the math to write `line-height: 1.25`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8129 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 November 2022 21:52:59 UTC