Skip to content

Commit

Permalink
Add note about not-supported white-space-collapse: discard
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Jan 1, 2025
1 parent 9b03882 commit d192bf9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion files/en-us/web/css/white-space-collapse/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ The `white-space-collapse` property is specified as a single keyword chosen from
- A line-breaking opportunity exists after every preserved white space character, including between white space characters.
- Preserved spaces take up space and do not hang, thus affecting the box's intrinsic sizes ({{cssxref("min-content")}} size and {{cssxref("max-content")}} size).

> **Note:** _Segment break characters_ are characters such as line feeds that cause text to break onto new lines.
> [!NOTE]
> _Segment break characters_ are characters such as line feeds that cause text to break onto new lines.

> [!NOTE]
> The [CSS text](/en-US/docs/Web/CSS/CSS_text) module defines a `discard` value for the `white-space-collapse` property to discard all white space in the element, however, this is not supported in any browsers.

## Collapsing of white space

Expand Down

0 comments on commit d192bf9

Please sign in to comment.