Skip to content

Commit 45dcc75

Browse files
committed
Fix error in auto-sizing
1 parent ebadb38 commit 45dcc75

2 files changed

Lines changed: 31 additions & 32 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2393,32 +2393,31 @@ <h4 id=orthogonal-multicol><span class=secno>7.3.2. </span> Multi-column
23932393
<ol>
23942394
<li>If &lsquo;<code class=property>column-count</code>&rsquo; and
23952395
&lsquo;<code class=property>column-width</code>&rsquo; are both &lsquo;<a
2396-
href="#auto"><code class=css>auto</code></a>&rsquo;, then the
2397-
&lsquo;<code class=property>column-count</code>&rsquo; is assumed to be
2398-
&lsquo;<code class=css>1</code>&rsquo;, and the following rules apply.
2396+
href="#auto"><code class=css>auto</code></a>&rsquo;, a used &lsquo;<code
2397+
class=property>column-width</code>&rsquo; is calculated for the element
2398+
as the <a href="#fill-available-measure"><i>fill-available
2399+
measure</i></a> using the <a href="#fallback-measure"><i>fallback
2400+
measure</i></a> as the <a href="#available-measure"><i>available
2401+
measure</i></a>.
23992402

2400-
<li>If the &lsquo;<code class=property>column-width</code>&rsquo; is
2401-
&lsquo;<a href="#auto"><code class=css>auto</code></a>&rsquo;, the column
2402-
width is calculated as if the element's containing block were the initial
2403-
containing block.
2404-
2405-
<li>If the column's extent is not fixed, the <a
2406-
href="#fill-available"><i>fill-available</i></a> extent of the element is
2407-
used.
2403+
<li>If the columns' extent is not fixed, the <a
2404+
href="#fill-available-extent"><i>fill-available extent</i></a> of the
2405+
element is used.
24082406

24092407
<li>The used column-count then follows from filling the resulting columns
24102408
with the element's content.
24112409
</ol>
24122410

2413-
<p>The used measure of the element is then the <a
2414-
href="#max-content"><i>max-content</i></a> measure of the resulting
2415-
multi-column element: if the content neither wraps nor paginates within
2416-
the multi-column element, then this will be the intrinsic measure of the
2417-
content; else it will be calculated from the used column width, column
2418-
count, and column gap.
2411+
<p>The used measure of the resulting multi-column element is then
2412+
calculated: if the content neither wraps nor paginates within the
2413+
multi-column element, then the used measure is the <a
2414+
href="#max-content-measure"><i>max-content measure</i></a> of the
2415+
element's contents; else it is calculated from the used column width,
2416+
column count, and column gap.
24192417

24202418
<p>The used extent of the element is either the used column extent (if
2421-
multiple columns were used) or the intrinsic extent of the content.
2419+
multiple columns were used) or the <a
2420+
href="#max-content-extent"><i>max-content extent</i></a> of the content.
24222421

24232422
<p class=note>This should behave the same as the auto-sizing algorithm
24242423
defined in the previous section, except overflowing content, instead of

css3-writing-modes/Overview.src.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,26 +1757,26 @@ <h4 id="orthogonal-multicol">
17571757
measure is ''auto'':
17581758

17591759
<ol>
1760-
<li>If 'column-count' and 'column-width' are both ''auto'', then
1761-
the 'column-count' is assumed to be ''1'', and the following rules
1762-
apply.
1763-
<li>If the 'column-width' is ''auto'', the column width is
1764-
calculated as if the element's containing block were the initial
1765-
containing block.
1766-
<li>If the column's extent is not fixed, the <i>fill-available</i>
1767-
extent of the element is used.
1760+
<li>If 'column-count' and 'column-width' are both ''auto'', a
1761+
used 'column-width' is calculated for the element as the
1762+
<i>fill-available measure</i> using the <i>fallback measure</i>
1763+
as the <i>available measure</i>.
1764+
<li>If the columns' extent is not fixed, the <i>fill-available
1765+
extent</i> of the element is used.
17681766
<li>The used column-count then follows from filling the resulting
17691767
columns with the element's content.
17701768
</ol>
1771-
1772-
<p>The used measure of the element is then the <i>max-content</i> measure
1773-
of the resulting multi-column element:
1769+
1770+
<p>The used measure of the resulting multi-column element is then
1771+
calculated:
17741772
if the content neither wraps nor paginates within the multi-column
1775-
element, then this will be the intrinsic measure of the content;
1776-
else it will be calculated from the used column width, column count,
1773+
element, then the used measure is the <i>max-content measure</i>
1774+
of the element's contents;
1775+
else it is calculated from the used column width, column count,
17771776
and column gap.
17781777
<p>The used extent of the element is either the used column extent
1779-
(if multiple columns were used) or the intrinsic extent of the content.
1778+
(if multiple columns were used) or the <i>max-content extent</i>
1779+
of the content.
17801780

17811781
<p class="note">This should behave the same as the auto-sizing algorithm
17821782
defined in the previous section, except overflowing content, instead of

0 commit comments

Comments
 (0)