Intent to Prototype: CSS 'lh' Length Unit

225 views
Skip to first unread message

Rune Lillesveen

unread,
Sep 8, 2022, 8:09:21 AMSep 8
to blink-dev

Contact emails

fut...@chromium.org

Explainer

None

Specification

https://www.w3.org/TR/css-values-4/#lh

Summary

Support for expressing CSS lengths relative to the line-height



Blink component

Blink

Motivation

There is a wish/need to use the lh unit to size textareas to fit a given number of lines of text. See [1]. [1] https://github.com/w3c/csswg-drafts/issues/7542



Initial public proposal



TAG review



TAG review status

Not applicable

Risks



Interoperability and Compatibility



Gecko: No signal

WebKit: No signal

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?



Debuggability

The new unit should be automatically supported by devtools. No need for any changes.



Is this feature fully tested by web-platform-tests?

Yes

Flag name



Requires code in //chrome?

False

Tracking bug

https://crbug.com/937104

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/4998371945742336

This intent message was generated by Chrome Platform Status.

--
Rune Lillesveen

Reply all
Reply to author
Forward
0 new messages