Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unprefixed line-clamp #725

Open
BenjaminAster opened this issue Sep 18, 2024 · 3 comments
Open

Unprefixed line-clamp #725

BenjaminAster opened this issue Sep 18, 2024 · 3 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@BenjaminAster
Copy link

Description

The line-clamp CSS property still needs a -webkit- prefix and some additional non-standard properties (display: -webkit-box and -webkit-box-orient: vertical) to be set in Chromium, WebKit and Firefox. Chromium is currently working on implementing the unprefixed property. Implementing this new standardized property, which differs significantly from the old non-standard -webkit-line-clamp property, likely needs a lot of work from an implementation standpoint.


This issue is one of seven issues regarding unprefixing CSS properties/values, originally all in #702 (as per #702 (comment)). The aim is to group the properties together into multiple (but not seven) focus areas.

Specification

https://drafts.csswg.org/css-overflow-4/#line-clamp

Additional Signals

No response

@gsnedders
Copy link
Member

See also #16 and discussion there from prior years.

@bfgeek
Copy link

bfgeek commented Sep 18, 2024

Note the new collapse variant specification is here:
w3c/csswg-drafts#10816

@bfgeek
Copy link

bfgeek commented Sep 18, 2024

If this goes through it should only be for line-clamp and not the individual sub-properties yet (max-lines, continue, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

3 participants