---
id: "contain-paint"
kind: "web-feature"
canonical: "https://timetostable.com/feature/contain-paint"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Paint containment (`contain-paint`)

The contain: paint CSS declaration prevents an element's descendants from being drawn outside the boundaries of the containing element, with any overflow clipped. This permits the browser to avoid slower painting calculations.

- **Group**: Containment
- **Baseline**: Widely Available
- **Newly Available Date**: 2022-03-14
- **Widely Available Date**: 2024-09-14
- **Specification**: https://drafts.csswg.org/css-contain-2/#containment-paint
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 52 | 2016-07-20 |
| Chrome Android | 52 | 2016-07-27 |
| Firefox | 69 | 2019-09-03 |
| Edge | 79 | 2020-01-15 |
| Firefox for Android | 79 | 2020-07-28 |
| Safari | 15.4 | 2022-03-14 |
| Safari on iOS | 15.4 | 2022-03-14 |

