1111 rel =dcterms.rights >
1212 < meta content ="CSS Multi-column Layout Module " name =dcterms.title >
1313 < meta content =text name =dcterms.type >
14- < meta content =2013-09-15 name =dcterms.date >
14+ < meta content =2013-09-20 name =dcterms.date >
1515 < meta content ="Håkon Wium Lie " name =dcterms.creator >
1616 < meta content =W3C name =dcterms.publisher >
1717 < meta content ="http://dev.w3.org/csswg/css3-multicol/ "
4242
4343 < h1 > CSS Multi-column Layout Module</ h1 >
4444
45- < h2 class ="no-num no-toc " id =w3c-working > Editor's Draft 15 September 2013</ h2 >
45+ < h2 class ="no-num no-toc " id =w3c-working > Editor's Draft 20 September 2013</ h2 >
4646
4747 < dl >
4848 < dt > This version:
4949
5050 < dd >
51- <!--<a href="http://www.w3.org/TR/2013/CR-css3-multicol-20130915 ">http://dev.w3.org/csswg/css3-multicol/</a>-->
51+ <!--<a href="http://www.w3.org/TR/2013/CR-css3-multicol-20130920 ">http://dev.w3.org/csswg/css3-multicol/</a>-->
5252 < a
5353 href ="http://dev.w3.org/csswg/css3-multicol/ "> http://dev.w3.org/csswg/css3-multicol/</ a >
5454
@@ -174,6 +174,10 @@ <h2 class="no-num no-toc" id=table-of-contents><a name=contents>Table of
174174
175175 < li > < a href ="#the-multi-column-model "> < span class =secno > 2. </ span > The
176176 multi-column model</ a >
177+ < ul class =toc >
178+ < li > < a href ="#properties-and-values "> < span class =secno > 2.1.
179+ </ span > Properties and values</ a >
180+ </ ul >
177181
178182 < li > < a href ="#the-number-and-width-of-columns "> < span class =secno > 3.
179183 </ span > The number and width of columns</ a >
@@ -448,6 +452,11 @@ <h2 id=the-multi-column-model><span class=secno>2. </span>The multi-column
448452 example, columns of different widths and different backgrounds may be
449453 supported.
450454
455+ < p > This specification follows the < a
456+ href ="http://www.w3.org/TR/CSS21/about.html#property-defs "> CSS property
457+ definition conventions</ a > from < a href ="#CSS21 "
458+ rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > .
459+
451460 < div class =example >
452461 < p > Column gaps (yellow) and column rules (green) are shown in this sample
453462 rendition of a multi-column element with padding (blue). The blue and
@@ -666,6 +675,22 @@ <h2 id=the-multi-column-model><span class=secno>2. </span>The multi-column
666675 < p > Nested multi-column elements are allowed, but there may be
667676 implementation-specific limits.
668677
678+ < h3 id =properties-and-values > < span class =secno > 2.1. </ span > Properties and
679+ values</ h3 >
680+
681+ < p > This specification follows the < a
682+ href ="http://www.w3.org/TR/CSS21/about.html#property-defs "> CSS property
683+ definition conventions</ a > from < a href ="#CSS21 "
684+ rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > . The < dfn
685+ id =ltcolorgt > < var > <color></ var > </ dfn > value type is defined by < a
686+ href ="#CSS3COLOR " rel =biblioentry > [CSS3COLOR]<!--{{CSS3COLOR}}--> </ a > .
687+
688+ < p > In addition to the property-specific values listed in their definitions,
689+ all properties defined in this specification also accept the < a
690+ href ="http://www.w3.org/TR/CSS21/cascade.html#value-def-inherit "> inherit</ a >
691+ keyword as their property value. For readability it has not been repeated
692+ explicitly.
693+
669694 < h2 id =the-number-and-width-of-columns > < span class =secno > 3. </ span > The
670695 number and width of columns</ h2 >
671696
@@ -802,12 +827,8 @@ <h3 id=cw><span class=secno>3.1. </span>‘<a href="#column-width"><code
802827 < p class =note > The reason for making ‘< a href ="#column-width "> < code
803828 class =property > column-width</ code > </ a > ’ somewhat flexible is to achieve
804829 scalable designs that can fit many screen sizes. To set an exact column
805- width, all length values (in horizontal text these are: ‘< code
806- class =property > width</ code > ’, ‘< a href ="#column-width "> < code
807- class =property > column-width</ code > </ a > ’, ‘< a href ="#column-gap0 "> < code
808- class =property > column-gap</ code > </ a > ’, and ‘< a
809- href ="#column-rule-width "> < code
810- class =property > column-rule-width</ code > </ a > ’) must be specified.
830+ width, the column gap and the width of the multicol element (assuming
831+ horizontal text) must also be specified.
811832
812833 < h3 id =cc > < span class =secno > 3.2. </ span > ‘< a href ="#column-count "> < code
813834 class =property > column-count</ code > </ a > ’</ h3 >
@@ -1479,7 +1500,7 @@ <h3 id=break-before-break-after-break-inside><span class=secno>5.1.
14791500 < tr >
14801501 < td > < em > Media:</ em >
14811502
1482- < td > paged
1503+ < td > visual
14831504
14841505 < tr >
14851506 < td > < em > Computed value:</ em >
@@ -1528,7 +1549,7 @@ <h3 id=break-before-break-after-break-inside><span class=secno>5.1.
15281549 < tr >
15291550 < td > < em > Media:</ em >
15301551
1531- < td > paged
1552+ < td > visual
15321553
15331554 < tr >
15341555 < td > < em > Computed value:</ em >
@@ -1576,7 +1597,7 @@ <h3 id=break-before-break-after-break-inside><span class=secno>5.1.
15761597 < tr >
15771598 < td > < em > Media:</ em >
15781599
1579- < td > paged
1600+ < td > visual
15801601
15811602 < tr >
15821603 < td > < em > Computed value:</ em >
@@ -1758,7 +1779,6 @@ <h3 id=column-span><span class=secno>6.1. </span>‘<a
17581779
17591780 < pre class =css >
17601781h2 { column-span: all; background: silver }
1761- img { display: none }
17621782</ pre >
17631783
17641784 < p > By setting ‘< a href ="#column-span0 "> < code
@@ -1993,6 +2013,74 @@ <h3 id=column-span><span class=secno>6.1. </span>‘<a
19932013 </ div >
19942014 </ div >
19952015
2016+ < div class =example >
2017+ < p > Spanners create new block formatting contexts, but their margins can be
2018+ changed by their surroundings. In this example, two spanners naturally
2019+ end up at the top of a page. The top margin of the first spanner is
2020+ truncated due to being after an unforced break. The bottom margin of the
2021+ first spanner collapses with the top margin of the second spanner. The
2022+ bottom margin of the second spanner collapses with the top margin of the
2023+ subsequent element.
2024+
2025+ < pre class =css >
2026+ h2 {
2027+ margin: 0.5em 0;
2028+ column-span: all;
2029+ background: silver
2030+ }
2031+ </ pre >
2032+
2033+ < div class =cols >
2034+ < p > < br >
2035+ < br >
2036+ < br >
2037+ < br >
2038+ M nop qrst uv wx yz.< br >
2039+ Ab cde fgh i jkl. Mno< br >
2040+ pqr stu vw xyz. A bc< br >
2041+ def g hij klm nopqrs< br >
2042+ tuv wxy z. Abc de fg< br >
2043+ hi jklmno. Pqrstu vw< br >
2044+
2045+ < div class =col style ="left: 175px ">
2046+ < p > < br >
2047+ < br >
2048+ < br >
2049+ < br >
2050+ x yz. Abc def ghi jkl.< br >
2051+ M nop qrst uv wx yz.< br >
2052+ Ab cde fgh i jkl. Mno< br >
2053+ pqr stu vw xyz. A bc< br >
2054+ def g hij klm nopqrs< br >
2055+ tuv wxy z. Abc de fg< br >
2056+ </ div >
2057+
2058+ < div class =col style ="left: 350px ">
2059+ < p > < br >
2060+ < br >
2061+ < br >
2062+ < br >
2063+ hi jklmno. Pqrstu vw< br >
2064+ x yz. Abc def ghi jkl.< br >
2065+ M nop qrst uv wx yz.< br >
2066+ Ab cde fgh i jkl. Mno< br >
2067+ pqr stu vw xyz.
2068+ </ div >
2069+
2070+ < div class =rep
2071+ style ="width: 490px; top: 0; height: 20px; background: silver; font-size: 1.5em; padding: 5px "> An
2072+ H2 element</ div >
2073+
2074+ < div class =rep
2075+ style ="width: 490px; top: 40px; height: 20px; background: silver; font-size: 1.5em; padding: 5px "> Another
2076+ H2 element</ div >
2077+
2078+ < div class =gap style ="top: 80px; left: 150px "> </ div >
2079+
2080+ < div class =gap style ="top: 80px; left: 325px "> </ div >
2081+ </ div >
2082+ </ div >
2083+
19962084 < h2 id =filling-columns > < span class =secno > 7. </ span > Filling columns</ h2 >
19972085
19982086 < p > There are two strategies for filling columns: columns can either be
@@ -2542,6 +2630,9 @@ <h2 class=no-num id=index>Index</h2>
25422630 < li > break-inside, < a href ="#break-inside "
25432631 title ="section 5.1. "> < strong > 5.1.</ strong > </ a >
25442632
2633+ < li > < var > <color></ var > , < a href ="#ltcolorgt "
2634+ title ="section 2.1. "> < strong > 2.1.</ strong > </ a >
2635+
25452636 < li > column box, < a href ="#column-box "
25462637 title ="section 2. "> < strong > 2.</ strong > </ a >
25472638
@@ -2621,7 +2712,7 @@ <h2 class=no-num id=property-index>Property index</h2>
26212712
26222713 < td > N/A
26232714
2624- < td > paged
2715+ < td > visual
26252716
26262717 < tr >
26272718 < th > < a class =property href ="#break-before "> break-before</ a >
@@ -2637,7 +2728,7 @@ <h2 class=no-num id=property-index>Property index</h2>
26372728
26382729 < td > N/A
26392730
2640- < td > paged
2731+ < td > visual
26412732
26422733 < tr >
26432734 < th > < a class =property href ="#break-inside "> break-inside</ a >
@@ -2652,7 +2743,7 @@ <h2 class=no-num id=property-index>Property index</h2>
26522743
26532744 < td > N/A
26542745
2655- < td > paged
2746+ < td > visual
26562747
26572748 < tr >
26582749 < th > < a class =property href ="#column-count "> column-count</ a >
0 commit comments