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

Add note about not-supported white-space-collapse: discard #37459

Merged
merged 2 commits into from
Jan 1, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
skyclouds2001 marked this conversation as resolved.
Show resolved Hide resolved
skyclouds2001 marked this conversation as resolved.
Show resolved Hide resolved

> [!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
Loading