Re: [csswg-drafts] [css-fonts][css-inline] Shorthand for font-size / line-height (#7199)

> Rather than creating a new property, could `font-size` simply be extended to take an optional second value (maybe with a `/` delimiter)? So you could say things like `font-size: 20px / 22px` or `font-size: larger / 1.4`, etc.

There is no precedent for shorthands that include themselves in their longhands, nor do I think it's technically possible to do.

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


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

Received on Wednesday, 20 July 2022 17:30:32 UTC