Skip to content

updated the line-clamp property to include new values - #45007

Open
dletorey wants to merge 57 commits into
mdn:mainfrom
dletorey:44839-line-clamp
Open

updated the line-clamp property to include new values#45007
dletorey wants to merge 57 commits into
mdn:mainfrom
dletorey:44839-line-clamp

Conversation

@dletorey

@dletorey dletorey commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

  • On the line-clamp CSS property:
    • Updated description
    • Updated the syntax
    • Updated values
    • Added new example

Motivation

Related issues and pull requests

@dletorey
dletorey requested a review from a team as a code owner August 4, 2026 09:49
@dletorey
dletorey requested review from estelle and removed request for a team August 4, 2026 09:49
@github-actions github-actions Bot added the Content:CSS Cascading Style Sheets docs label Aug 4, 2026
@github-actions github-actions Bot added the size/m [PR only] 51-500 LoC changed label Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

(comment last updated: 2026-09-10 15:46:51)

dletorey and others added 4 commits August 4, 2026 10:51
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@dletorey
dletorey requested review from pepelsbey and removed request for estelle August 5, 2026 11:10
@dletorey
dletorey requested a review from dipikabh September 1, 2026 10:51
@dipikabh
dipikabh removed the request for review from pepelsbey September 2, 2026 16:50

@dipikabh dipikabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these updates, @dletorey!

I have a few suggestions and questions

Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md

@dipikabh dipikabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more

Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
dletorey and others added 3 commits September 3, 2026 11:20
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
dletorey and others added 9 commits September 3, 2026 15:14
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@dletorey
dletorey requested a review from dipikabh September 3, 2026 14:24
@dletorey

dletorey commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Thank you @dipikabh for your suggestions

@dipikabh dipikabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, @dletorey. This is looking good now.
Just a few more finishing touches needed. Plus also check #45007 (comment). Approving.

Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
dletorey and others added 12 commits September 10, 2026 16:27
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment thread files/en-us/web/css/reference/properties/line-clamp/index.md
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 size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants