Skip to content

Commit 5ceb2d1

Browse files
committed
[css-writing-modes-3] Define automatic sizing of orthogonal flows. (Definition was lost in 88d115f) Fixes #4220.
1 parent d2f37c0 commit 5ceb2d1

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

css-writing-modes-3/Overview.bs

+29-4
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ Orthogonal Flows</h3>
19991999
</div>
20002000

20012001
<h4 id="orthogonal-auto">
2002-
Available Space in Orthogonal Flows</h4>
2002+
Available Space of Orthogonal Flows</h4>
20032003

20042004
<p>It is common in CSS for a containing block to have a definite <a>inline size</a>,
20052005
but not a definite <a>block size</a>.
@@ -2020,10 +2020,10 @@ Available Space in Orthogonal Flows</h4>
20202020
In such cases a percentage of the containing block’s <a>inline size</a> cannot be defined,
20212021
and <a>inline axis</a> computations cannot be resolved.
20222022
In these cases,
2023-
an additional constraint is used as a <a>fallback</a>
2023+
an additional [=fallback size=] is used
20242024
in place of the <a>available inline space</a>
2025-
for calculations that require a definite <a>available inline space</a>--
2026-
the smallest of
2025+
for calculations that require a definite <a>available inline space</a>:
2026+
this size is the smallest of
20272027
<ul>
20282028
<li>the size represented by
20292029
the containing block’s inner <a>max size</a> (if that is fixed)
@@ -2036,6 +2036,21 @@ Available Space in Orthogonal Flows</h4>
20362036

20372037
<p>See [[!CSS3-SIZING]] for further details on CSS sizing terminology and concepts.
20382038

2039+
<h4 id="orthogonal-layout">
2040+
Auto-sizing Orthogonal Flow Roots</h4>
2041+
2042+
The [=automatic size=] of an [=orthogonal flow=]
2043+
(i.e. the size used when its [=preferred size property=] is ''width/auto'')
2044+
is calculating as its [=fit-content size=], i.e.
2045+
<code>min([=max-content size=], max([=min-content size=], [=stretch-fit size=])</code>,
2046+
where the [=available space=] is
2047+
either the corresponding size of the [=containing block=] if that is [=definite=],
2048+
or else the [=fallback size=] as defined [[#orthogonal-auto|above]].
2049+
2050+
The [=automatic sizing=] of orthogonal [=multi-column containers=]
2051+
is undefined in this level;
2052+
see <a href="https://www.w3.org/TR/css-writing-modes-4/#auto-multicol">CSS Writing Modes Level 4</a>.
2053+
20392054
<h4 id="orthogonal-pagination">
20402055
Fragmenting Orthogonal Flows</h4>
20412056

@@ -2485,6 +2500,16 @@ Privacy and Security Considerations {#priv-sec}
24852500

24862501
<h2 class="no-num" id="changes">Changes</h2>
24872502

2503+
<h3 class="no-num" id="changes-20190730">
2504+
Changes since the <a href="https://www.w3.org/TR/2019/CR-css-writing-modes-3-20190730/">July
2505+
2091 CSS Writing Modes Module Level 3 Candidate Recommendation</a></h3>
2506+
2507+
<ul>
2508+
<li>Added back accidentally-dropped rules for sizing [=orthogonal flows=].
2509+
Updated wording to use current [[css-sizing-3] terminology.
2510+
(<a href="https://github.com/w3c/csswg-drafts/issues/4220">Issue 4220</a>)
2511+
</ul>
2512+
24882513
<h3 class="no-num" id="changes-201805">
24892514
Changes since the <a href="https://www.w3.org/TR/2018/CR-css-writing-modes-3-20180524/">May
24902515
2018 CSS Writing Modes Module Level 3 Candidate Recommendation</a></h3>

0 commit comments

Comments
 (0)