The 'strict' and 'content' keywords for the 'contain' property will now include 'style'. Per CSSWG resolution this was (re-)added now that contain:style is well-defined in the specifications.


A previous intent (*) removed contain: style from these keywords, since contain:style was not well-enough specified to obtain spec consensus. Subsequently, the spec issues were fixed and consensus was achieved (**), so contain:style is now being re-added. (*) (**)


Specification link

Unknown standards status - check spec link for status

Status in Chromium


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signals


Last updated on 2021-12-13