Skip to content

[css-overflow-4] Syntax to opt into clamping at the earlier of a size and a number of line #13670

@frivoal

Description

@frivoal

In #12041, we decided that if you set both a max-line and n height or a max-height, only the number of lines affects clamping. ((max-)height affects the height, normally, but without changing what content gets clamped).

This was primarily driven by compat needs. We also said it'd be good to have an opt-in to clamp to the earlier of the (max-)height and the specified number of lines, we just need to find syntax for it. This issue is for discussing that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions