Skip to content

[css-values-5] [css-overflow-4]How does line-clamp transition from <integer> to auto or none? #10502

Open
@yisibl

Description

@yisibl

@andreubotella The current implementation of line-clamp in Chrome adds auto values, and the use case here is very much like the height: 0 to auto scenario.

Will the interpolate-size property added a while ago work in this scenario?

Demo: https://codepen.io/yisi/pen/rNgojEx
Explainers: https://github.com/Igalia/explainers/blob/main/css/line-clamp/README.md

cc @frivoal @tabatkins @dbaron @flackr

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions