Skip to content

Commit c112371

Browse files
committed
[css-flexbox] Make it clearer that min/max clamps are ignored when determining flex base size.
1 parent 87123b9 commit c112371

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2370,9 +2370,12 @@ Line Length Determination</h3>
23702370
and the <a>flex item</a>’s cross size is ''auto'' and not <a>definite</a>,
23712371
in this calculation use ''width/fit-content'' as the <a>flex item</a>’s <a>cross size</a>.
23722372
The <a>flex base size</a> is the item's resulting <a>main size</a>.
2373-
23742373
</ol>
23752374

2375+
When determining the <a>flex base size</a>,
2376+
the item’s min and max main size properties are ignored
2377+
(no clamping occurs).
2378+
23762379
The <a>hypothetical main size</a> is the item's <a>flex base size</a>
23772380
clamped according to its min and max main size properties.
23782381

css-flexbox/Overview.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3440,12 +3440,17 @@ <h3 class="heading settled" data-level="9.2" id="line-sizing"><span class="secno
34403440
and the <a data-link-type="dfn" href="#flex-item">flex item</a>’s cross size is <a class="css" data-link-type="maybe" href="#valdef-min-width-min-height-auto">auto</a> and not <a data-link-type="dfn" href="#definite">definite</a>,
34413441
in this calculation use <span class="css">fit-content</span> as the <a data-link-type="dfn" href="#flex-item">flex item</a>’s <a data-link-type="dfn" href="#cross-size">cross size</a>.
34423442
The <a data-link-type="dfn" href="#flex-base-size">flex base size</a> is the item’s resulting <a data-link-type="dfn" href="#main-size">main size</a>.
3443-
34443443

34453444
</ol>
34463445

34473446

34483447

3448+
<p>When determining the <a data-link-type="dfn" href="#flex-base-size">flex base size</a>,
3449+
the item’s min and max main size properties are ignored
3450+
(no clamping occurs).</p>
3451+
3452+
3453+
34493454
<p>The <a data-link-type="dfn" href="#hypothetical-main-size">hypothetical main size</a> is the item’s <a data-link-type="dfn" href="#flex-base-size">flex base size</a>
34503455
clamped according to its min and max main size properties.</p>
34513456

0 commit comments

Comments
 (0)