diff --git a/css-containment/Overview.bs b/css-containment/Overview.bs index 4082ef75abd..cfa78555d69 100644 --- a/css-containment/Overview.bs +++ b/css-containment/Overview.bs @@ -184,10 +184,7 @@ Layout Containment Giving an element layout containment has the following effects: - 1. The element must be a formatting context. - - Issue: This needs to specify how it becomes a formatting - context (and which type it becomes). + 1. The element becomes a formatting context. 2. If a fragmentation context participates in layout containment, the first element with layout containment @@ -286,9 +283,9 @@ Paint Containment to access or indicate the presence of the clipped content; nor does it inhibit the creation of any such mechanism through other properties, such as 'overflow', 'resize', or 'text-overflow'. - 2. The element must act as a containing block for absolutely positioned and fixed positioned descendants. - 3. The element must be a stacking context. - 4. The element must be a formatting context. + 2. The element acts as a containing block for absolutely positioned and fixed positioned descendants. + 3. The element creates a stacking context. + 4. The element becomes a formatting context. Possible optimizations that can be enabled by paint containment include (but are not limited to): @@ -308,6 +305,15 @@ Paint Containment 3. Because they are guaranteed to be stacking contexts, scrolling elements can be painted into a single GPU layer. +