Baseline Widely White space
white-space
The white-space CSS property sets how white space is collapsed and how lines wrap. It is a shorthand for white-space-collapse and text-wrap-mode.
Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Safari 1
2003-06-23
Core-3 Stability
1,998d (5.5y)
Last: Chrome (2008-12-11)
BCD Keys Mapped
11
Group: White space
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari | desktop | 1 | 2003-06-23 |
| Firefox | desktop | 1 | 2004-11-09 |
| Safari on iOS | mobile | 1 | 2007-06-29 |
| Chrome | desktop | 1 | 2008-12-11 |
| Firefox for Android | mobile | 4 | 2011-03-29 |
| Chrome Android | mobile | 18 | 2012-06-27 |
| Edge | desktop | 12 | 2015-07-29 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.properties.white-space | CSS | 1,998d (5.5y) |
| css.properties.white-space.break-spaces | CSS | 238d |
| css.properties.white-space.normal | CSS | 1,998d (5.5y) |
| css.properties.white-space.nowrap | CSS | 1,998d (5.5y) |
| css.properties.white-space.pre | CSS | 1,998d (5.5y) |
| css.properties.white-space.pre-line | CSS | 613d (1.7y) |
| css.properties.white-space.pre-wrap | CSS | 412d (1.1y) |
| css.properties.white-space.shorthand_values | CSS | 1,276d (3.5y) limbo |
| css.properties.white-space.svg_elements | CSS | 4,293d (11.8y) limbo |
| css.properties.white-space.textarea_support | CSS | 4,264d (11.7y) |