You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
property is not ''column-width/auto'' and therefore acts as a container for
160
161
multi-column layout.
161
162
163
+
<wpt>
164
+
multicol-count-computed-004.xht
165
+
</wpt>
166
+
162
167
In the traditional CSS box model, the content of an element is
163
168
flowed into the content box of the corresponding element. Multi-column
164
169
layout introduces a new type of container between the content box and
@@ -222,6 +227,11 @@ The multi-column model</h2>
222
227
223
228
Note: Column boxes do not become the containing block for elements with ''position: fixed'' or ''position: absolute''. The containing block is the multicol element, it being the principal box.
224
229
230
+
<wpt>
231
+
multicol-containing-001.xht
232
+
multicol-containing-002.xht
233
+
</wpt>
234
+
225
235
<div class="example">
226
236
In this example, the multi-column container has ''position: relative'' thus becoming the containing block. The image is a direct child of the multi-column container and has ''position: absolute''. It takes positioning from the multi-column container and not from the column box.
227
237
@@ -352,6 +362,19 @@ these two properties determine the outcome:-->
352
362
available space is smaller than the specified column width). Negative values are not allowed. Used values will be clamped to a minimum of 1px.
353
363
</dl>
354
364
365
+
<wpt>
366
+
multicol-basic-003.html
367
+
multicol-basic-008.xht
368
+
multicol-width-001.xht
369
+
multicol-width-002.xht
370
+
multicol-width-003.xht
371
+
multicol-width-ch-001.xht
372
+
multicol-width-negative-001.xht
373
+
multicol-width-invalid-001.xht
374
+
multicol-width-large-001.xht
375
+
multicol-width-large-002.xht
376
+
</wpt>
377
+
355
378
<div class="example">
356
379
For example, consider this style sheet:
357
380
@@ -424,6 +447,20 @@ these two properties determine the outcome:-->
424
447
value describes the maximum number of columns.
425
448
</dl>
426
449
450
+
<wpt>
451
+
multicol-count-001.xht
452
+
multicol-count-002.xht
453
+
multicol-basic-002.html
454
+
multicol-basic-006.xht
455
+
multicol-width-count-001.xht
456
+
multicol-width-count-002.xht
457
+
multicol-columns-toolong-001.xht
458
+
multicol-count-negative-001.xht
459
+
multicol-count-negative-002.xht
460
+
multicol-count-non-integer-001.xht
461
+
multicol-count-non-integer-002.xht
462
+
multicol-count-non-integer-003.xht
463
+
</wpt>
427
464
428
465
<div class="example">
429
466
Example:
@@ -462,6 +499,23 @@ these two properties determine the outcome:-->
462
499
</pre>
463
500
</div>
464
501
502
+
<wpt>
503
+
multicol-columns-001.xht
504
+
multicol-columns-002.xht
505
+
multicol-columns-003.xht
506
+
multicol-columns-004.xht
507
+
multicol-columns-005.xht
508
+
multicol-columns-006.xht
509
+
multicol-columns-007.xht
510
+
multicol-columns-invalid-001.xht
511
+
multicol-columns-invalid-002.xht
512
+
multicol-basic-001.html
513
+
multicol-basic-003.html
514
+
multicol-basic-005.xht
515
+
multicol-basic-007.xht
516
+
</wpt>
517
+
518
+
465
519
<h3 id="pseudo-algorithm">
466
520
Pseudo-algorithm</h3>
467
521
@@ -516,6 +570,10 @@ Two assumptions are being made by the pseudo-algorithm:
516
570
regard for explicit column breaks or constrained column heights,
517
571
while the actual value takes these into consideration.
518
572
573
+
<wpt>
574
+
column-count-used-001.html
575
+
</wpt>
576
+
519
577
<div class="example">
520
578
In this example, the actual column-count is higher than the used column-count due to explicit column breaks:
521
579
@@ -588,7 +646,12 @@ Column gaps and rules</h2>
588
646
container. Column rules are painted just above the border of the multicol element. For scrollable multicol elements, note that while the border and background of the multicol element obviously aren't scrolled, the rules need to scroll along with the columns. Column rules are
589
647
only drawn between two columns that both have content.
590
648
591
-
<h3 id='column-gap'>
649
+
<wpt>
650
+
multicol-count-computed-003.xht
651
+
multicol-count-computed-005.xht
652
+
</wpt>
653
+
654
+
<h3 id='cg'>
592
655
'column-gap'</h3>
593
656
594
657
<pre class=propdef>
@@ -601,6 +664,12 @@ Column gaps and rules</h2>
601
664
Computed value: as specified, with <<length>>s made absolute
602
665
Animation type: length, percentage, or calc
603
666
</pre>
667
+
668
+
<wpt>
669
+
multicol-gap-animation-001.html
670
+
multicol-gap-animation-002.html
671
+
multicol-gap-animation-003.html
672
+
</wpt>
604
673
605
674
<i>'column-gap' accepting <<length-percentage>> is at risk,
606
675
and may be reverted to <<length>>.</i>
@@ -614,12 +683,25 @@ Column gaps and rules</h2>
614
683
615
684
The <<length>> or <<percentage>> cannot be negative.
616
685
686
+
<wpt>
687
+
multicol-gap-000.xht
688
+
multicol-gap-002.xht
689
+
multicol-gap-percentage-001.html
690
+
</wpt>
691
+
617
692
<dt><dfn>normal</dfn>
618
693
<dd>
619
694
Identical to <a value for="column-gap"><length-percentage></a>,
620
695
but with a used value of ''1em''.
696
+
697
+
<wpt>
698
+
multicol-gap-001.xht
699
+
multicol-gap-003.xht
700
+
</wpt>
621
701
</dl>
622
702
703
+
704
+
623
705
624
706
<h3 id='crc'>
625
707
'column-rule-color'</h3>
@@ -680,7 +762,7 @@ Column gaps and rules</h2>
680
762
Negative values are not allowed.
681
763
682
764
683
-
<h3 id="column-rule">
765
+
<h3 id="cr">
684
766
'column-rule'</h3>
685
767
686
768
<pre class=propdef>
@@ -699,6 +781,10 @@ Column gaps and rules</h2>
699
781
the same place in the style sheet. Omitted values are set to their
700
782
initial values.
701
783
784
+
<wpt>
785
+
multicol-rule-shorthand-2.xht
786
+
</wpt>
787
+
702
788
<div class=example>
703
789
In this example, the column rule and the column gap have the same
704
790
width. Therefore, they will occupy exactly the same space.
@@ -946,6 +1032,11 @@ Filling columns</h2>
946
1032
Balance content equally between columns, as far as possible.
947
1033
In fragmented contexts, only the last fragment is balanced.
948
1034
1035
+
<wpt>
1036
+
multicol-fill-000.xht
1037
+
multicol-fill-001.xht
1038
+
</wpt>
1039
+
949
1040
<dt><dfn>balance-all</dfn>
950
1041
<dd>
951
1042
Balance content equally between columns, as far as possible.
0 commit comments