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

Document line-clamp property #34731

Closed
manuelmeister opened this issue Jul 9, 2024 · 3 comments
Closed

Document line-clamp property #34731

manuelmeister opened this issue Jul 9, 2024 · 3 comments
Labels
Content:CSS Cascading Style Sheets docs document not written Missing document page

Comments

@manuelmeister
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/line-clamp

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

line-clamp (unprefixed) is not documented. It probably should have a page similar to https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp but with browser support as well.

What did you expect to see?

Browser support & examples

Do you have any supporting links, references, or citations?

https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp

Do you have anything more you want to share?

No response

@manuelmeister manuelmeister added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 9, 2024
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jul 9, 2024
@Josh-Cena
Copy link
Member

Hi! line-clamp doesn't exist yet. In general, we don't document things not supported in any browser, so -webkit-line-clamp is the only feature available at the moment.

@Josh-Cena Josh-Cena closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
@Josh-Cena Josh-Cena added closed: wontfix Out of scope, too much effort, or working as intended and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jul 9, 2024
@nileshprajapati
Copy link

Hi,

As of Safari 18.2, support for line-clamp is now native and no longer requires the -webkit vendor prefix.

For further reference, please check out the MDN (Browser compatibility table), caniuse and CodePen example.

https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
https://codepen.io/nileshprajapati/pen/qEWoOEe
https://caniuse.com/?search=CSS%20property%3A%20line-clamp

@Josh-Cena Josh-Cena added closed: duplicate This issue or pull request already exists document not written Missing document page and removed closed: wontfix Out of scope, too much effort, or working as intended labels Jan 13, 2025
@Josh-Cena Josh-Cena changed the title CSS: line-clamp page missing Document line-clamp property Jan 13, 2025
@Josh-Cena Josh-Cena removed the closed: duplicate This issue or pull request already exists label Jan 13, 2025
@Josh-Cena Josh-Cena reopened this Jan 13, 2025
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 13, 2025
@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 13, 2025
@Josh-Cena
Copy link
Member

Done in #37953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs document not written Missing document page
Projects
None yet
Development

No branches or pull requests

3 participants