W3C home > Mailing lists > Public > www-style@w3.org > June 2020

[css-contain-2] Updated Working Draft of the CSS Containment Module Level 2

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 5 Jun 2020 11:33:51 +0900
Message-Id: <7D2A1C10-CF8F-493C-A153-9F460C35DB9A@rivoal.net>
To: www-style list <www-style@w3.org>
The CSS Working Group has published an updated Working Draft of the CSS Containment Module Level 2.

    https://www.w3.org/TR/css-contain-2/

This CSS module describes the contain property, which indicates that the element’s subtree is independent of the rest of the page, and the related and content-visibility property. This enables heavy optimizations by user agents when used well.

The main changes brought by this update are defining the interaction between paint containment and the newly introduced overflow-clip-margin, and adding the content-visibility property. The content-visibility property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed.

See also the Changes section for further details.

    https://www.w3.org/TR/2020/WD-css-contain-2-20200603/#changes-since-2019-11-11

Please send any comments to the mailing list <www-style@w3.org>, prefixed with [css-contain-2] (as I did on this message) or (preferably) file them in the GitHub repository at https://github.com/w3c/csswg-drafts/issues with the spec code [css-contain-2] and your comment topic in the subject line.

For the CSS WG,
—Florian Rivoal
Received on Friday, 5 June 2020 02:34:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:15 UTC