<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573" -->

---
title: Get Clamped: Unwinding Some Difficult CSS History
description: An Igalia engineer working with Andreu Botella traces the long, messy history of CSS line clamping, from its accidental origin as an internal WebKit...
canonical: https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Get Clamped: Unwinding Some Difficult CSS History | daily.dev
og:description: An Igalia engineer working with Andreu Botella traces the long, messy history of CSS line clamping, from its accidental origin as an internal WebKit...
og:url: https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573
og:image: https://api.daily.dev/og/posts/FuTYOx573.png
og:image:alt: Get Clamped: Unwinding Some Difficult CSS History
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Clamped: Unwinding Some Difficult CSS History

**[Planet Igalia](https://daily.dev/sources/planet-igalia)** · 5 min read · 0 upvotes · 0 comments

## Summary

An Igalia engineer working with Andreu Botella traces the long, messy history of CSS line clamping, from its accidental origin as an internal WebKit flexbox-related feature (-webkit-line-clamp) that leaked into public Safari releases, spread across browsers via de facto standardization, to the current effort to standardize it properly as an unprefixed line-clamp property in CSS Overflow Level 4. The new implementation is available today in Chromium behind the experimental web platform features flag, supporting both fixed values and an auto mode tied to max-height. Because -webkit-line-clamp appears on over 40% of page loads, the team, funded by Bloomberg Tech, is asking developers to test the new property and report interoperability issues before rolling it out broadly.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bkardell.com/blog/GetClamped.html>

## Questions this post answers

### How do I use the new unprefixed line-clamp CSS property instead of -webkit-line-clamp?

The new line-clamp property, part of CSS Overflow Level 4, lets you write line-clamp: 3 directly without the display: -webkit-box and -webkit-box-orient hacks the prefixed version required. It also supports an auto value that clamps text based on a measured height, such as max-height: 400px combined with line-clamp: auto. It is implemented in Chromium behind the experimental web platform features flag.

_Developers testing new CSS features can track rollout progress like line-clamp on daily.dev._

### Why does -webkit-line-clamp exist without a W3C standard behind it for so long?

It started as an undocumented internal WebKit feature (-apple-line-clamp, later -khtml-line-clamp) built on the same experimental flexbox-like layout model Apple used before standard Flexbox existed, and it escaped into public Safari releases without ever being officially publicized. Developers discovered and shared it anyway, making it a de facto standard; Microsoft added -webkit-line-clamp support in April 2018 and Firefox in July 2019, purely for compatibility.

_Understanding messy CSS history like this helps developers on daily.dev avoid similar prefix pitfalls._

### How widely used is -webkit-line-clamp on the web today?

It appears on over 40% of page loads according to Chrome usage metrics and on over 30% of pages in the HTTPArchive crawl, with usage still growing. That scale is why the team standardizing the new line-clamp property is proceeding cautiously and asking developers to test and report regressions before finalizing the reconciled behavior.

_Teams relying on widely used CSS features track changes like this via daily.dev before they ship broadly._

## Similar posts on daily.dev

- [CSS Infinity Use Cases · July 25, 2026](https://daily.dev/posts/css-infinity-use-cases-july-25-2026-wwuly17lm) · Adam Argyle · 10 upvotes · 2 comments
- [Balancing flex items with flex-wrap: balance](https://daily.dev/posts/balancing-flex-items-with-flex-wrap-balance-vyfwzd9n7) · Ahmad Shadeed · 8 upvotes · 0 comments
- [CSS Clamp](https://daily.dev/posts/css-clamp-7zr6z0fnu) · Cassidy's blog · 103 upvotes · 8 comments

---

Tags: [#css](https://daily.dev/tags/css), [#safari](https://daily.dev/tags/safari), [#chromium](https://daily.dev/tags/chromium)

[View this post on daily.dev](https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Get Clamped: Unwinding Some Difficult CSS History","url":"https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573"},"datePublished":"2026-09-20T07:44:28.055Z","dateModified":"2026-09-20T07:50:28.784Z","description":"An Igalia engineer working with Andreu Botella traces the long, messy history of CSS line clamping, from its accidental origin as an internal WebKit...","image":"https://media.daily.dev/image/fetch/s--VC6t-miC--/f_auto,pg_1,q_auto/https://bkardell.com/media/2026/mbb.gif?_a=BAMAMiZY0","thumbnailUrl":"https://media.daily.dev/image/fetch/s--VC6t-miC--/f_auto,pg_1,q_auto/https://bkardell.com/media/2026/mbb.gif?_a=BAMAMiZY0","isAccessibleForFree":true,"articleSection":"Planet Igalia","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Planet Igalia","logo":"https://media.daily.dev/image/upload/s--84VSWNwZ--/f_auto,q_auto/v1789890204/logos/planet-igalia?_a=BAMAMicg0","url":"https://daily.dev/sources/planet-igalia"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,safari,chromium","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet Igalia","item":"https://daily.dev/sources/planet-igalia"},{"@type":"ListItem","position":3,"name":"Get Clamped: Unwinding Some Difficult CSS History"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/get-clamped-unwinding-some-difficult-css-history-futyox573#faq","mainEntity":[{"@type":"Question","name":"How do I use the new unprefixed line-clamp CSS property instead of -webkit-line-clamp?","acceptedAnswer":{"@type":"Answer","text":"The new line-clamp property, part of CSS Overflow Level 4, lets you write line-clamp: 3 directly without the display: -webkit-box and -webkit-box-orient hacks the prefixed version required. It also supports an auto value that clamps text based on a measured height, such as max-height: 400px combined with line-clamp: auto. It is implemented in Chromium behind the experimental web platform features flag. Developers testing new CSS features can track rollout progress like line-clamp on daily.dev."}},{"@type":"Question","name":"Why does -webkit-line-clamp exist without a W3C standard behind it for so long?","acceptedAnswer":{"@type":"Answer","text":"It started as an undocumented internal WebKit feature (-apple-line-clamp, later -khtml-line-clamp) built on the same experimental flexbox-like layout model Apple used before standard Flexbox existed, and it escaped into public Safari releases without ever being officially publicized. Developers discovered and shared it anyway, making it a de facto standard; Microsoft added -webkit-line-clamp support in April 2018 and Firefox in July 2019, purely for compatibility. Understanding messy CSS history like this helps developers on daily.dev avoid similar prefix pitfalls."}},{"@type":"Question","name":"How widely used is -webkit-line-clamp on the web today?","acceptedAnswer":{"@type":"Answer","text":"It appears on over 40% of page loads according to Chrome usage metrics and on over 30% of pages in the HTTPArchive crawl, with usage still growing. That scale is why the team standardizing the new line-clamp property is proceeding cautiously and asking developers to test and report regressions before finalizing the reconciled behavior. Teams relying on widely used CSS features track changes like this via daily.dev before they ship broadly."}}]}
```

