Skip to content

Commit 659c0ed

Browse files
committed
[css-flexbox] merge pre-freezing step into the sizing-inflexible step.
1 parent 749fbcc commit 659c0ed

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,15 +2325,13 @@ Resolving Flexible Lengths</h3>
23252325
set their used main size
23262326
to their <i>hypothetical main size</i>.
23272327

2328-
<li>
2329-
<strong>Pre-freeze flexible items that definitely can't grow/shrink.</strong>
23302328
If the <i>flex grow factor</i> is being used for this algorithm,
2331-
if any items have a <a>flex base size</a> greater than their max main size,
2329+
if any flexible items have a <a>flex base size</a> greater than their max main size,
23322330
set their used main size to their max main size
23332331
and freeze them.
23342332

23352333
If the <i>flex shrink factor</i> is being used for this algorithm,
2336-
if any items have a <a>flex base size</a> smaller than their min main size,
2334+
if any flexible items have a <a>flex base size</a> smaller than their min main size,
23372335
set their used main size to their min main size
23382336
and freeze them.
23392337

css-flexbox/Overview.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,15 +2352,13 @@ <h3 class="heading settled heading" data-level=9.7 id=resolve-flexible-lengths><
23522352
set their used main size
23532353
to their <a data-link-type=dfn href=#hypothetical-main-size title="hypothetical main size">hypothetical main size</a>.
23542354

2355-
<li>
2356-
<strong>Pre-freeze flexible items that definitely can’t grow/shrink.</strong>
2357-
If the <a data-link-type=dfn href=#flex-grow-factor title="flex grow factor">flex grow factor</a> is being used for this algorithm,
2358-
if any items have a <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> greater than their max main size,
2355+
<p>If the <a data-link-type=dfn href=#flex-grow-factor title="flex grow factor">flex grow factor</a> is being used for this algorithm,
2356+
if any flexible items have a <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> greater than their max main size,
23592357
set their used main size to their max main size
2360-
and freeze them.
2358+
and freeze them.</p>
23612359

23622360
<p>If the <a data-link-type=dfn href=#flex-shrink-factor title="flex shrink factor">flex shrink factor</a> is being used for this algorithm,
2363-
if any items have a <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> smaller than their min main size,
2361+
if any flexible items have a <a data-link-type=dfn href=#flex-base-size title="flex base size">flex base size</a> smaller than their min main size,
23642362
set their used main size to their min main size
23652363
and freeze them.</p>
23662364

0 commit comments

Comments
 (0)