The 'strict' and 'content' keywords for the 'contain' property used to include 'style'. Per CSSWG resolution and spec change this is no longer the case.
Motivation
No other browser ships style containment, Firefox were reluctant to ship due to usefulness of counters containment and compat with Chrome, and the CSSWG resolved to remove style from 'strict' and 'content' which has been reflected in the specification.
Documentation
Specification
Status in Chromium
In development (tracking bug)
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Positive
- No signal
- No signal
- No signals
Owner
Search tags
css, contain,Last updated on 2021-01-01