[csswg-drafts] Provide options for flexible line height, fitting text vertically to the container (#5515)

BennyHinrichs has just created a new issue for https://github.com/w3c/csswg-drafts:

== Provide options for flexible line height, fitting text vertically to the container ==
I couldn't find a short name for the spec, so let me know if there is one. 

This change would be useful both for contracting things so they don't exceed a parent height and spreading them out to fit the parent height. I don't know what the best way to go about doing this would be. Here are some ideas:

* Add either `auto` or `flex` keyword to `line-height` that will cause the text to vertically fit the container it's in, whether it require a contraction or expansion.

* Make `minmax()` accessible for `line-height`.

* Implement a function similar to `fit-content()`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5515 using your GitHub account


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

Received on Tuesday, 15 September 2020 21:44:31 UTC