@@ -197,9 +197,8 @@ Paint Containment</h3>
197197
198198 Giving an element <dfn export>paint containment</dfn> has the following effects:
199199
200- 1. As specified in [[!CSS-OVERFLOW-3]] ,
201- the computed value the 'overflow-x' and 'overflow-y' is changed to ''overflow/clip''
202- if it would otherwise have been ''overflow/visible'' .
200+ 1. If the computed value of overflow-x or overflow-y would otherwise have been ''overflow/visible'' ,
201+ it must instead compute to ''overflow/clip'' . [[!CSS-OVERFLOW-3]]
203202 <span class=note> This means that regardless of the specified value of 'overflow' ,
204203 the contents of the element is clipped to the element's content box,
205204 including both the paint of the descendants and their geometry</span>
@@ -212,8 +211,8 @@ Paint Containment</h3>
212211 the UA can directly skip trying to paint its contents,
213212 as they're guaranteed to be off-screen/obscured as well.
214213
215- 2. If the containing element would have been ''overflow:visible'' ,
216- it becomes ''overflow:clip'' and
214+ 2. If the containing element's overflow has been changed to ''overflow/clip''
215+ (because it was originally ''overflow/visible'' ),
217216 the UA can reserve "canvas" space for the element exactly the element's size.
218217 (In similar, scrollable, situations, like ''overflow: hidden'' ,
219218 it's possible to scroll to the currently-clipped content,
0 commit comments