Skip to content

Commit 48c7a34

Browse files
committed
[css-writing-modes] Try to clarify some clarifications.
1 parent c609bd9 commit 48c7a34

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

css-writing-modes/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,8 +2073,6 @@ Auto-sizing Block Containers in Orthogonal Flows</h4>
20732073
(if multiple columns were used)
20742074
or the <i>max-content block size</i> of the content
20752075
(if only one column was used).
2076-
2077-
<p>
20782076
If the UA does not support CSS Multi-column Layout [[!CSS3COL]],
20792077
the UA may instead calculate the box's <i>block size</i> assuming an infinite <i>available block size</i>,
20802078
thus laying out its contents into a single column.
@@ -2085,17 +2083,19 @@ Auto-sizing Block Containers in Orthogonal Flows</h4>
20852083

20862084
<div class="note" id="orthogonal-shrink-to-fit">
20872085
<p>
2088-
This section defines that
2089-
when a child box establishes an orthogonal flow,
2090-
the used <i>block size</i> of the child is
2091-
the <i>inline-axis</i> <var>min-content</var> and <var>max-content</var> of the parent.
2086+
Note that this section requires that
2087+
when an auto-sized child box establishes an orthogonal flow,
2088+
the used size of the child
2089+
is calculated to fit its content;
2090+
and this resulting content-based size
2091+
is used as input to the <i>inline-axis</i> <var>min-content</var> and <var>max-content</var> of the parent.
20922092
<p>
20932093
This means that when applying shrink-to-fit formula to a box
2094-
such as an inline-block or a table-cell,
2095-
and if its child establishes an orthogonal flow,
2094+
such as an inline-block, float, or table-cell,
2095+
if its child establishes an orthogonal flow,
20962096
the calculation dependency must be changed so that
20972097
the sizing phase of the child runs first and
2098-
its used <i>block size</i> becomes an input to the shrink-to-fit formula of the parent.
2098+
its used <i>block size</i> becomes an input to the <i>inline-size</i> shrink-to-fit formula of the parent.
20992099
</div>
21002100

21012101
<h4 id="orthogonal-layout">

0 commit comments

Comments
 (0)