🏠 New in High Baseline Support: Paint containment
September 14, 2024
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.
Source features
css.properties.contain.paint[mdn]