File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -234,7 +234,8 @@ Paint Containment</h3>
234234 the contents of the element is clipped to the element's content box,
235235 including both the paint of the descendants and their geometry</span>
236236 2. The element must act as a containing block for absolutely positioned and fixed positioned descendants.
237- 3. The element must be a <a>formatting context</a> .
237+ 3. The element must be a <a>stacking context</a> .
238+ 4. The element must be a <a>formatting context</a> .
238239
239240 Possible optimizations that can be enabled by <a>paint containment</a> include (but are not limited to):
240241
@@ -251,4 +252,5 @@ Paint Containment</h3>
251252 so there's something to see as soon as the scroll happens,
252253 rather than a frame later.)
253254
254-
255+ 3. Because they are guaranteed to be stacking contexts,
256+ scrolling elements can be painted into a single GPU layer.
You can’t perform that action at this time.
0 commit comments