Web platform features explorer

white-space-collapse

Newly available since 2024-03-19
Tags: css Groups: CSS > White space

The white-space-collapse CSS property sets whether new line characters are shown as line breaks, and whether multiple consecutive spaces are all displayed or combined.

Browser support

  • Chrome 114 Released on 2023-05-30
  • Chrome Android 114 Released on 2023-05-30
  • Edge 114 Released on 2023-06-02
  • Firefox 124 Released on 2024-03-19
  • Firefox for Android 124 Released on 2024-03-19
  • Safari 17.4 Released on 2024-03-05
  • Safari on iOS 17.4 Released on 2024-03-05

Usage (according to Chrome Platform Status)

~0.703% of page loads. More data at chromestatus.