@@ -2740,9 +2740,9 @@ <h3>Floating inside and outside pages</h3>
27402740</ div >
27412741
27422742
2743- < h2 > Exclusion </ h2 >
2743+ < h2 > Exclusions </ h2 >
27442744
2745- < h3 > Exclusion based on floats</ h3 >
2745+ < h3 > Exclusions based on floats</ h3 >
27462746
27472747< p > A new value on 'float' is introduced to support intrusion in columns:
27482748
@@ -3028,13 +3028,14 @@ <h3>Pull-quotes</h3>
30283028< h3 > Exclusions based on images</ h3 >
30293029
30303030< div class =example >
3031+ < p > Here is an example that uses the background of the multicol element as a template for exclusions.
30313032< img src =car1.jpg >
30323033< pre >
30333034article {
30343035 padding: 4em;
30353036 columns: 15em;
30363037 background: url(nicecar.jpg);
3037- exclude-threshold: 0.5;
3038+ background- exclude-threshold: 0.5;
30383039}
30393040article h1 { column-span: all } /* Bonneville Speedway */
30403041</ pre >
@@ -3043,28 +3044,31 @@ <h3>Exclusions based on images</h3>
30433044</ div >
30443045
30453046< div class =example >
3047+ < p > This example is the same as the above, just with changed column widths.
30463048< img src =car2.jpg >
30473049< pre >
30483050article {
30493051 padding: 4em;
30503052 columns: 6em;
30513053 background: url(nicecar.jpg);
3052- exclude-threshold: 0.5;
3054+ background- exclude-threshold: 0.5;
30533055}
30543056article h1 { column-span: all } /* Bonneville Speedway */
30553057</ pre >
30563058</ div >
30573059
3060+
30583061< h3 > Exclusions based on shapes</ h3 >
30593062
30603063< div class =example >
30613064< img src =heart1.png >
30623065< pre >
30633066article::column(1) {
3064- shape -inside: circle(50%, 50%, 30%);
3067+ content -inside: circle(50%, 50%, 30%);
30653068}
3069+
30663070article::column(1) {
3067- shape-inside : polygon(x1, y1, x2, y2, x3, y3, ... xn, yn);
3071+ content-outside : polygon(x1, y1, x2, y2, x3, y3, ... xn, yn);
30683072 color: red;
30693073}
30703074</ pre >
@@ -3074,10 +3078,10 @@ <h3>Exclusions based on shapes</h3>
30743078< img src =heart2.png >
30753079< pre >
30763080article::column(1) {
3077- shape- : circle(x, y, z);
3081+ content-outside : circle(x, y, z);
30783082}
30793083article::column(1) {
3080- shape-outside : polygon(x1, y1, x2, y2, x3, y3, ... xn, yn);
3084+ content-inside : polygon(x1, y1, x2, y2, x3, y3, ... xn, yn);
30813085}
30823086</ pre >
30833087</ div >
@@ -3116,9 +3120,59 @@ <h2>Aligning baselines in multi-column layouts</h2>
31163120
31173121
31183122
3119- <!--
3120- div.chapter:columns-page(1) { }
3121- -->
3123+
3124+ < h2 > Regions</ h2 >
3125+
3126+ < p > Regions are stylable boxes into which content can be poured.
3127+ Columns are a kind of regions that are automatically generated to
3128+ contain all the content of the the multicol element. By adding
3129+ selectors for columns, columns can be styled and positioned.
3130+
3131+ < h3 > Selecting columns</ h3 >
3132+
3133+ < div class =example >
3134+ < pre >
3135+ div.chapter::column(3) /* the third column of the element */
3136+ div.chapter::column(2n) /* all even columns of the element */
3137+ div.chapter::column(3+) /* all even columns of the element */
3138+ div.chapter::column(2,2) /* second column on second page */
3139+ div.chapter::column(*,2) /* all columns on the second page */
3140+ </ pre >
3141+ </ div >
3142+
3143+ < p > Columns can be moved
3144+
3145+ < div class =example >
3146+ < img alt ="sample rendering " src =regions.png >
3147+
3148+ < pre >
3149+ article { columns: 3 }
3150+ img { column-span: 2; width: 100%; float: top }
3151+ article::column(1) { /* selects column 1 */
3152+ column-span: 2;
3153+ float: top;
3154+ visibility: collapse; /* so that column 2 moves in */
3155+ height: 3em; /* or something */
3156+ }
3157+ </ pre >
3158+ </ div >
3159+
3160+
3161+ < div class =example >
3162+
3163+ < pre >
3164+ article { columns: 14em; }
3165+ article::column(1) {
3166+ position: absolute;
3167+ font-size: 1.2em;
3168+ visibility: collapse; /* makes space available others to use */
3169+ ...
3170+ }
3171+ </ pre >
3172+ </ div >
3173+
3174+
3175+
31223176
31233177
31243178< h2 > The 'first-page' pseudo-element</ h2 >
0 commit comments