v147 · css · in developer trial
Clip Text overflow on user interaction
When a user clicks into, edits, or navigates by caret inside an element styled with text-overflow: ellipsis, the browser temporarily switches the overflow rendering to clip — revealing the hidden content while the user is interacting and restoring the ellipsis when they leave.
chrome://flags/#enable-experimental-web-platform-features to test it. The behavior is still under development and the spec is not yet finalised for this interaction model.
at a glance
| Status in Chrome 147 | In developer trial (behind a flag) |
|---|---|
| Flag | chrome://flags/#enable-experimental-web-platform-features |
| Applies to | All elements with text-overflow: ellipsis — editable and non-editable. Form controls already had this behavior; this extends it universally. |
| Standards position | Firefox: Shipped/Shipping · Safari: Closed Without a Position (per the ChromeStatus API record, fetched 2026-11-22; this row previously read “No signal”) |
| Spec | CSS Overflow Module Level 3 §ellipsis-interaction |
| Chromium bug | issues.chromium.org/issues/40731275 |
| ChromeStatus | 5146265241387008 — Clip Text overflow on user interaction |
why it exists
Developers have long used text-overflow: ellipsis to truncate long labels and headings in constrained layouts. The problem is that once a user focuses or clicks into an ellipsis-clipped element — a contenteditable title, a long filename in a table cell, or an inline-editing widget — the truncated content is hidden and the user cannot reach or read the overflowing characters. <input> and <textarea> already handle this by scrolling or switching to clip mode on focus; this feature brings the same affordance to all elements.
Syntax
The feature adds no new property, value, or API. It changes how an existing declaration renders while the user interacts. The value definition of text-overflow from the CSS Overflow Module Level 3 propdef table, quoted verbatim (fetched 2026-11-22):
text-overflow: clip | ellipsis
/* Initial: clip · Applies to: block containers · Inherited: no */
The normative rule this feature implements, quoted verbatim from § user interaction with ellipsis:
When the user is interacting with content (e.g. editing, selecting, scrolling), the user agent may treattext-overflow: ellipsisastext-overflow: clip. Selecting the ellipsis should select the ellipsed text. If all of the ellipsed text is selected, UAs should show selection of the ellipsis. Behavior of partially-selected ellipsed text is up to the UA.
The rule is a may: the spec permits, but does not require, the switch. The ellipsis only renders at all when the block container has overflow other than visible and its inline content overflows (for example with white-space: nowrap).
the behavior
No new CSS property or JavaScript API. The change is purely in the rendering model:
| Trigger | User interaction begins on the element — a click, focus, caret navigation, or text selection. |
|---|---|
| While active | The browser renders overflow as clip (or scrollable, depending on the overflow property). The ellipsis character disappears and the user can see and interact with the full text content. |
| On blur / end of interaction | The ellipsis is restored and overflow truncation resumes. |
| Form controls | Already implement this model. The feature extends it to arbitrary elements. |
Examples
Live demo from the chrome-platform-showcase — Clip Text overflow on user interaction (feature index, five concepts). The embed below is its Live Edit concept: focus the single-line input, the contenteditable field and the URL-bar pattern, and the inspector reports focus, selection and the computed text-overflow.
contenteditable clip needs a browser that implements the behaviour — see the compatibility table).Source: chrome-platform-showcase — clip-text-overflow-on-user-interactionThe element below uses text-overflow: ellipsis. In a browser with this feature, clicking or focusing on it would reveal the full text.
The quick brown fox jumped over the lazy dog, then kept running for a very long time
/* No special CSS needed — existing text-overflow: ellipsis benefits automatically. */
.filename {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 200px;
}
/* To make an element interactable so the behavior triggers: */
.filename[contenteditable] {
cursor: text;
outline: none;
}
Source: CSS Overflow Module Level 3 spec, May 2026.
Browser compatibility
| Browser | ellipsis | Clip while interacting (BCD notes, verbatim) |
|---|---|---|
| Chrome | 1 | “In <textarea> elements, behaves as clip.” · “In textual <input> elements, behaves as clip while the element is focused.” · “From version 149, in contenteditable elements, behaves as clip while the element is focused.” (Chrome 147: developer trial behind chrome://flags/#enable-experimental-web-platform-features, per the ChromeStatus record; BCD records no flag for this note.) |
| Edge | 12 | No interaction note in BCD (Edge has its own entry here, not a Chrome mirror) — unknown whether it follows Chrome 149. |
| Firefox | 7 | “In textual <input> and <textarea> elements, behaves as clip.” · “In contenteditable elements, behaves as clip while the element is focused.” (standards position: Shipped/Shipping) |
| Safari | 1.3 | “In <textarea> elements, behaves as clip.” · “In textual <input> elements, behaves as clip while the element is focused.” — no contenteditable note (standards position: Closed Without a Position). |
Status disagreement, both sides reported rather than resolved: this page records the Chrome 147 developer trial behind
chrome://flags/#enable-experimental-web-platform-features, while the ChromeStatus record for feature
5146265241387008 reads status “Proposed” (fetched 2026-10-06; record last updated 2026-04-27). That record
resolves the apparent conflict itself: its developer-trial stage is set to desktop_first 147 while its
active stage is the intent-to-ship stage at 149 — so DevTrial-at-147 and ship-target-149 are both stated by the
source, not inferred here. This page reports the 147 trial; the 149 ship target is the status the page does not carry.
Specifications
| Specification | Section |
|---|---|
| CSS Overflow Module Level 3 (editor’s draft) | § user interaction with ellipsis · § text-overflow |