@@ -232,7 +232,7 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
232232 Inherited : no
233233 Percentages : N/A
234234 Media : visual
235- Computed value : see below
235+ Computed value : as specified, except with ''visible'' computing to ''auto'' if one of 'overflow-x' or 'overflow-y' is not ''visible''
236236 Animatable : no
237237 </pre>
238238
@@ -322,34 +322,8 @@ Scrollable Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties</
322322 If the computed value of 'overflow' on a <a>block box</a> is not ''overflow/visible'' ,
323323 it creates a new <a>block formatting context</a> for its content.
324324
325- <h3 id="overflow-computed-values">
326- Overflow Value Computation and Propagation</h3>
327-
328- <p> The computed values of 'overflow-x' and 'overflow-y'
329- are determined from the <a>specified values</a> [[!CSS3CASCADE]]
330- based on the following rules:
331-
332- <ol>
333- <li>
334- If one <a>specified value</a> is ''overflow/visible''
335- and the other is not,
336- then computed values are the <a>specified values</a>
337- with ''overflow/visible'' changed to ''overflow/auto'' .
338- </li>
339- <li>
340- Otherwise, if both <a>specified values</a> are ''overflow/visible''
341- and the computed value of 'contain' is
342- one that activates <a>paint containment</a>
343- (e.g. ''contain:strict''
344- or ''contain: paint''
345- or ''contain: layout paint'' …),
346- then the computed values of both 'overflow-x' and 'overflow-y'
347- are changed to ''overflow/clip'' .</li>
348- <li>
349- Otherwise, the computed values are as specified.
350- </li>
351- </ol>
352- </div>
325+ <h3 id="overflow-propagation">
326+ Overflow Value Propagation</h3>
353327
354328 UAs must apply the 'overflow' property
355329 set on the root element to the viewport.
0 commit comments