Skip to content

Commit f75607a

Browse files
committed
Initial pass at changes to the model section.
1 parent e1bf92d commit f75607a

1 file changed

Lines changed: 24 additions & 11 deletions

File tree

css-multicol-2/Overview.bs

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,14 @@ The multi-column model</h2>
360360

361361
The column boxes are ordered
362362
in the [=inline base direction=] of the multicol container
363-
and arranged into <dfn lt="multi-column line | multi-col line | multicol line">multicol lines</dfn>.
363+
and arranged into
364+
<dfn lt="multi-column row | multi-col row | multicol row">multicol rows</dfn>.
365+
A multicol row contains at least one <dfn lt="multi-column line | multi-col line | multicol line">multicol line</dfn>,
366+
but may contain additional multicol lines due to spanning elements.
364367
The <dfn export>column width</dfn> is the length of the column box in the inline direction.
365368
The <dfn export>column height</dfn> is the length of the column box in the block direction.
366-
All column boxes in a line have the same column width,
367-
and all column boxes in a line have the same column height.
369+
All column boxes in a row have the same column width,
370+
and all column boxes in a row have the same column height.
368371

369372
<wpt title="The following tests relate to baseline alignment of the content of columns,
370373
though this is not defined in this specification.">
@@ -529,15 +532,15 @@ The multi-column model</h2>
529532
hit-test-in-vertical-rl.html
530533
</wpt>
531534

532-
Within each [=multicol line=] in the multi-column container,
535+
Within each [=multicol row=] in the multi-column container,
533536
adjacent column boxes are separated by a <dfn noexport>column gap</dfn>,
534537
which may contain a <dfn noexport>column rule</dfn>.
535538
All column gaps in the same multi-column container are equal.
536539
All column rules in the same multi-column container are also equal, if they appear;
537540
column rules only appear between columns that both have content.
538541

539-
In the simplest case a multicol container will contain only one line
540-
of columns, and the height of each column will be equivalent to the
542+
In the simplest case a multicol container will contain only one line of columns,
543+
inside one multicol row, and the height of each column will be equivalent to the
541544
used height of the multi-column container's content box.
542545
However, [=fragmentation=] or [=spanners=]
543546
can split the content of the [=multi-column container=]
@@ -547,10 +550,17 @@ The multi-column model</h2>
547550
constrained by the page and the content continues in a new line of
548551
column boxes on the next page; a column box never splits across pages.
549552

550-
The same effect occurs when a <i>spanning element</i> divides the
551-
multi-column container: the columns before the spanning element are
553+
If a multi-column container in continuous media is set to wrap,
554+
the height of each column is defined by the 'column-height' property.
555+
If there is more content than will fit in a single row a new multicol row is created
556+
in the block direction, with columns of the size defined by the 'column-height' property.
557+
This row contains at least one multicol line.
558+
559+
When a <i>spanning element</i> divides the
560+
multi-column container: a new multicol line is created.
561+
The columns before the spanning element are
552562
balanced and shortened to fit their content. Content after the
553-
spanning element then flows into a new, subsequent line of column boxes.
563+
spanning element then flows into a new, subsequent multicol line of column boxes.
554564

555565
<div class="example">
556566
<figure>
@@ -559,10 +569,13 @@ The multi-column model</h2>
559569
</figure>
560570
</div>
561571

572+
Issue(11976): This issue deals with the scenario where there is not enough space
573+
in the current multicol row for a spanning element. Once resolved, add details here.
574+
562575
A [=multi-column container=] therefore is a regular [=block container=]
563576
that establishes a new [=independent formatting context=]
564-
whose contents consist of a series of
565-
[=multicol lines=] and multicol spanners.
577+
whose contents consist of one or more
578+
[=multicol rows=], containing [=multicol lines=] and multicol spanners.
566579
Each [=multi-column line=] acts as a [=block-level box=]
567580
that establishes a <dfn>multi-column formatting context</dfn>
568581
for its [=column boxes=];

0 commit comments

Comments
 (0)