css-overflow/Overview.bs

changeset 15293
0e204dd1baf1
parent 15284
4c33957343ca
child 15296
850ecd34b1dc
     1.1 --- a/css-overflow/Overview.bs	Tue Mar 10 16:27:01 2015 -0700
     1.2 +++ b/css-overflow/Overview.bs	Wed Mar 11 21:44:42 2015 +0100
     1.3 @@ -380,7 +380,7 @@
     1.4  
     1.5  	<pre class=propdef>
     1.6  		Name: overflow-x, overflow-y
     1.7 -		Value: ''visible'' | ''hidden'' | ''scroll'' | ''auto''
     1.8 +		Value: ''visible'' | ''hidden'' | ''scroll'' | ''overflow/auto''
     1.9  		Initial: ''visible''
    1.10  		Applies to: block containers [[!CSS21]], flex containers [[!CSS3-FLEXBOX]], and grid containers [[!CSS3-GRID-LAYOUT]]
    1.11  		Inherited: no
    1.12 @@ -399,7 +399,7 @@
    1.13  
    1.14  	<pre class=propdef>
    1.15  		Name: overflow
    1.16 -		Value: ''visible'' | ''hidden'' | ''scroll'' | ''auto''
    1.17 +		Value: ''visible'' | ''hidden'' | ''scroll'' | ''overflow/auto''
    1.18  		Initial: see individual properties
    1.19  		Applies to: block containers [[!CSS21]], flex containers [[!CSS3-FLEXBOX]], and grid containers [[!CSS3-GRID-LAYOUT]]
    1.20  		Inherited: no
    1.21 @@ -477,8 +477,8 @@
    1.22  
    1.23  	<pre class=propdef>
    1.24  		Name: continue
    1.25 -		Value: ''next'' | ''overflow'' | ''paginate'' | ''fragments'' | ''discard''
    1.26 -		Initial: next
    1.27 +		Value: ''continue/auto'' | ''overflow'' | ''paginate'' | ''fragments'' | ''discard''
    1.28 +		Initial: auto
    1.29  		Applies to: block containers [[!CSS21]], flex containers [[!CSS3-FLEXBOX]], and grid containers [[!CSS3-GRID-LAYOUT]]
    1.30  		Inherited: no
    1.31  		Percentages: N/A
    1.32 @@ -503,13 +503,13 @@
    1.33  while ''continue: paginate'' replaces "overflow: paged-x | paged-y | paged-x-controls | paged-y-controls"
    1.34  
    1.35  	<dl dfn-for="continue" dfn-type="value">
    1.36 -		<dt><dfn>next</dfn>
    1.37 -		<dd>Content that doesn't fit is pushed to the next region
    1.38 +		<dt><dfn>auto</dfn>
    1.39 +		<dd>''continue/auto'' may only occur as a computed value
    1.40  		if the element is a <a spec="css-regions">CSS Region</a>
    1.41 -		other than the last one in a <a spec="css-regions">region chain</a>,
    1.42 -		or to the next page if the element is part of a page chain,
    1.43 -		or to the next <a>fragment box</a> if the element is a <a>fragment box</a>
    1.44 -		Otherwise, it overflows.
    1.45 +		other than the last one in a <a spec="css-regions">region chain</a>.
    1.46 +		Content that doesn't fit is pushed to the next region of the chain.
    1.47 +
    1.48 +		In all other cases, ''continue/auto'' computes to one of the other values.
    1.49  
    1.50  		<dt><dfn>overflow</dfn>
    1.51  		<dd>Content that doesn't fit overflows, according to the 'overflow' property
    1.52 @@ -539,10 +539,10 @@
    1.53  
    1.54  The computed value of the 'continue' for a given element or pseudo element is determined as follow:
    1.55  <ol>
    1.56 -	<li>If the specified value is ''continue/next''
    1.57 +	<li>If the specified value is ''continue/auto''
    1.58  	<ol>
    1.59  		<li>On a <a spec="css-regions">CSS Region</a> other than the last one in a <a spec="css-regions">region chain</a>,
    1.60 -		the computed value is ''continue/next''
    1.61 +		the computed value is ''continue/auto''
    1.62  		<li>On a page
    1.63  		the computed value is ''continue/paginate''
    1.64  		<li>On a <a>fragment box</a>
    1.65 @@ -559,8 +559,8 @@
    1.66  </ol>
    1.67  
    1.68  Issue: If we introduce a pseudo element that can select columns in a multicol,
    1.69 -we would need to specify that next computes to next on it,
    1.70 -or introduce a new value and have next compute to that
    1.71 +we would need to specify that auto computes to auto on it,
    1.72 +or introduce a new value and have auto compute to that
    1.73  (but what would that value compute to on things that aren't columns?).
    1.74  
    1.75  Note: For background discussions leading to this property, see these threads:
    1.76 @@ -577,7 +577,7 @@
    1.77  
    1.78  <div class="issue">
    1.79  Should traditional pagination (e.g. when printing)
    1.80 -be expressed through some magic in the computed value of ''continue: next'',
    1.81 +be expressed through some magic in the computed value of ''continue/auto'',
    1.82  or by inserting this in the UA stylesheet:
    1.83  <pre><code class="lang-css">
    1.84  @media (overflow-block: paged), (overflow-block: optional-paged) {

mercurial