Baseline Widely Containment
Layout containment
The contain: layout CSS declaration isolates the inside of an element such that it cannot affect the layout of the rest of the page or be affected by the rest of the page. This permits the browser to avoid slower layout calculations.
Baseline Status
Widely Available
Since 2022-03-14
First Core Launch
Chrome 52
2016-07-20
Core-3 Stability
2,063d (5.6y)
Last: Safari (2022-03-14)
BCD Keys Mapped
1
Group: Containment
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 52 | 2016-07-20 |
| Chrome Android | mobile | 52 | 2016-07-27 |
| Firefox | desktop | 69 | 2019-09-03 |
| Edge | desktop | 79 | 2020-01-15 |
| Firefox for Android | mobile | 79 | 2020-07-28 |
| Safari | desktop | 15.4 | 2022-03-14 |
| Safari on iOS | mobile | 15.4 | 2022-03-14 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.properties.contain.layout | CSS | 2,063d (5.6y) |