Skip to content

Commit 8e229da

Browse files
committed
[css-multicol-2] column-height and column-wrap
Defines that column-height creates a multicol container #11975 Also defines column-wrap: auto #11754
1 parent bc22791 commit 8e229da

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

css-multicol-2/Overview.bs

+10-6
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ In addition, once final, it will replace and supersede the following:
202202
<h2 id="the-multi-column-model">
203203
The multi-column model</h2>
204204

205-
An element whose 'column-width' or 'column-count' property is not ''column-width/auto''
205+
An element whose 'column-width', 'column-count', or 'column-height' property is not ''column-width/auto''
206206
establishes a <dfn lt="multi-column container|multicol container" oldids="multi-column-element" export>multi-column container</dfn>
207207
(or <i>multicol container</i> for short),
208208
and therefore acts as a container for [=multi-column layout=].
@@ -871,8 +871,8 @@ The number and width of columns</h2>
871871

872872
<pre class=propdef>
873873
Name: column-wrap
874-
Value: nowrap | wrap
875-
Initial: nowrap
874+
Value: auto | nowrap | wrap
875+
Initial: auto
876876
Applies to: multicol containers
877877
Inherited: no
878878
Percentages: n/a
@@ -882,10 +882,14 @@ The number and width of columns</h2>
882882
</pre>
883883

884884
The column-wrap property controls the behavior of overflow columns in continuous media.
885-
The property only takes effect if 'column-height' is not 'auto',
886-
and there is more content than will fit in a single row of columns at the specified 'column-height'.
885+
Overflow columns occur when there is more content than will fit in a single row of columns at the specified 'column-height',
886+
or inside a height defined by the multicol container.
887887

888888
<dl dfn-type=value dfn-for=column-wrap>
889+
<dt><dfn>auto</dfn>
890+
<dd>
891+
If 'column-height' is not 'auto' behaves as the value 'wrap' otherwise acts as 'nowrap'.
892+
889893
<dt><dfn>nowrap</dfn>
890894
<dd>
891895
Overflow columns are created in the inline direction.
@@ -932,7 +936,7 @@ The number and width of columns</h2>
932936
New rows repeat until all content is displayed.
933937
</div>
934938

935-
Issue(11754): The addition of this property is as yet unresolved.
939+
Issue(11754): The issue relating to the addition of this property is still open due to debate as to whether it's required.
936940

937941
Issue(11754): What happens if you set a height on the multicol container, 'column-wrap: wrap' but no 'column-height'?
938942
Options are 1: The 'column-wrap' property is ignored. 2: 'column-height: auto' resolves to the available space

0 commit comments

Comments
 (0)