@@ -305,6 +305,8 @@ <h2>The multi-column model</h2>
305305functionality. For example, columns of different widths and different
306306backgrounds may be supported.</ p >
307307
308+ < p > This specification follows the < a href ="http://www.w3.org/TR/CSS21/about.html#property-defs "> CSS property definition conventions</ a > from [[!CSS21]].
309+
308310
309311< div class ="example ">
310312
@@ -560,6 +562,20 @@ <h2>The multi-column model</h2>
560562implementation-specific limits.
561563
562564
565+ < h3 > Properties and values</ h3 >
566+
567+ < p > This specification follows the < a href ="http://www.w3.org/TR/CSS21/about.html#property-defs "> CSS
568+ property definition conventions</ a > from [[!CSS21]].
569+ The < dfn > < var > <color></ var > </ dfn > value type is defined by
570+ [[CSS3COLOR]].
571+
572+ < p > In addition to the property-specific values listed in their definitions,
573+ all properties defined in this specification also accept the
574+ < a href ="http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit "> inherit</ a >
575+ keyword as their property value. For readability it has not been repeated
576+ explicitly.
577+
578+
563579< h2 > The number and width of columns</ h2 >
564580
565581< p > Finding the number and width of columns is fundamental when laying
@@ -673,9 +689,8 @@ <h3 id='cw'>'column-width'</h3>
673689
674690< p class =note > The reason for making 'column-width' somewhat flexible
675691is to achieve scalable designs that can fit many screen sizes. To set
676- an exact column width, all length values (in horizontal text these
677- are: 'width', 'column-width', 'column-gap', and 'column-rule-width')
678- must be specified.</ p >
692+ an exact column width, the column gap and the width of the multicol
693+ element (assuming horizontal text) must also be specified.</ p >
679694
680695
681696< h3 id ='cc '> 'column-count'</ h3 >
@@ -1151,7 +1166,7 @@ <h3>'break-before', 'break-after', 'break-inside'</h3>
11511166 < td > N/A
11521167 < tr >
11531168 < td > < em > Media:</ em >
1154- < td > paged
1169+ < td > visual
11551170 < tr >
11561171 < td > < em > Computed value:</ em >
11571172 < td > specified value
@@ -1181,7 +1196,7 @@ <h3>'break-before', 'break-after', 'break-inside'</h3>
11811196 < td > N/A
11821197 < tr >
11831198 < td > < em > Media:</ em >
1184- < td > paged
1199+ < td > visual
11851200 < tr >
11861201 < td > < em > Computed value:</ em >
11871202 < td > specified value
@@ -1213,7 +1228,7 @@ <h3>'break-before', 'break-after', 'break-inside'</h3>
12131228 < td > N/A
12141229 < tr >
12151230 < td > < em > Media:</ em >
1216- < td > paged
1231+ < td > visual
12171232 < tr >
12181233 < td > < em > Computed value:</ em >
12191234 < td > specified value
@@ -1359,7 +1374,6 @@ <h3>'column-span'</h3>
13591374
13601375< pre class ="css ">
13611376h2 { column-span: all; background: silver }
1362- img { display: none }
13631377</ pre >
13641378
13651379< p > By setting 'column-span' to ''all'', all content that appear before
@@ -1616,6 +1630,69 @@ <h3>'column-span'</h3>
16161630</ div >
16171631
16181632
1633+ < div class ="example ">
1634+
1635+ < p > Spanners create new block formatting contexts, but their margins
1636+ can be changed by their surroundings. In this example, two spanners
1637+ naturally end up at the top of a page. The top margin of the first
1638+ spanner is truncated due to being after an unforced break. The bottom
1639+ margin of the first spanner collapses with the top margin of the
1640+ second spanner. The bottom margin of the second spanner collapses with
1641+ the top margin of the subsequent element.
1642+
1643+
1644+ < pre class ="css ">
1645+ h2 {
1646+ margin: 0.5em 0;
1647+ column-span: all;
1648+ background: silver
1649+ }
1650+ </ pre >
1651+
1652+
1653+ < div class =cols >
1654+
1655+ < p > < br > < br > < br > < br >
1656+
1657+ M nop qrst uv wx yz.< br >
1658+ Ab cde fgh i jkl. Mno< br >
1659+ pqr stu vw xyz. A bc< br >
1660+ def g hij klm nopqrs< br >
1661+ tuv wxy z. Abc de fg< br >
1662+ hi jklmno. Pqrstu vw< br >
1663+
1664+
1665+
1666+ < div class ="col " style ="left: 175px ">
1667+ < p > < br > < br > < br > < br >
1668+ x yz. Abc def ghi jkl.< br >
1669+ M nop qrst uv wx yz.< br >
1670+ Ab cde fgh i jkl. Mno< br >
1671+ pqr stu vw xyz. A bc< br >
1672+ def g hij klm nopqrs< br >
1673+ tuv wxy z. Abc de fg< br >
1674+
1675+
1676+ </ div >
1677+
1678+ < div class ="col " style ="left: 350px ">
1679+ < p > < br > < br > < br > < br >
1680+ hi jklmno. Pqrstu vw< br >
1681+ x yz. Abc def ghi jkl.< br >
1682+ M nop qrst uv wx yz.< br >
1683+ Ab cde fgh i jkl. Mno< br >
1684+ pqr stu vw xyz.
1685+
1686+ </ div >
1687+
1688+ < div class =rep style ="width: 490px; top: 0; height: 20px; background: silver; font-size: 1.5em; padding: 5px "> An H2 element</ div >
1689+ < div class =rep style ="width: 490px; top: 40px; height: 20px; background: silver; font-size: 1.5em; padding: 5px "> Another H2 element</ div >
1690+ < div class =gap style ="top: 80px; left: 150px "> </ div >
1691+ < div class =gap style ="top: 80px; left: 325px "> </ div >
1692+ </ div >
1693+
1694+ </ div >
1695+
16191696
16201697
16211698< h2 > Filling columns</ h2 >
0 commit comments