← Back to release summary

Disable propagation of body style to viewport when contained

Category
CSS
Type
No developer-visible change
Status
Enabled by default (Chrome 96)
Intent stage
Shipped

WPT details: https://wpt.fyi/results/css/css-contain The tests prefixed with contain-body-* and contain-html-*

Summary

Used contain values different from none on the root or body elements will disable propagation of CSS properties from body as per specification[1]. [1] https://drafts.csswg.org/css-contain-1/#c3

Standards & signals

Ecosystem

View on chromestatus.com