Skip to content

[css-overflow-4] max-lines and independent formatting contexts #12962

@fantasai

Description

@fantasai

While trying to work through how to implement the size attribute on <select>, we were wondering if max-lines could, instead of ignoring independent formatting contexts in the count, count each one as the equivalent of one line.

This would solve the problem for <select> and also be more generally useful, if we can make it work. The main question is Web-compat, or if we can work around the Web-compat issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    css-overflow-4topic: line-clampline-clamp, -webkit-line-clamp, and related long hands, not including continue:discard

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions