Skip to content

Commit ce9258d

Browse files
committed
[css-flexbox] Also apply the clamping to the first clause.
1 parent 8d150eb commit ce9258d

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

css-flexbox/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2243,12 +2243,13 @@ <h3 class="heading settled heading" data-level=9.6 id=cross-alignment><span clas
22432243
<p> <ul>
22442244
<li>
22452245
If the cross size property is a <a data-link-type=dfn href=#definitedefinite-size title=definite>definite</a> size,
2246-
use that.
2246+
use that,
2247+
clamped by the min and max cross size properties of the <a data-link-type=dfn href=#flex-container title="flex container">flex container</a>.
22472248

22482249
<li>
22492250
Otherwise,
22502251
use the sum of the flex lines' cross sizes,
2251-
clamped by the min and max cross size properties.
2252+
clamped by the min and max cross size properties of the <a data-link-type=dfn href=#flex-container title="flex container">flex container</a>.
22522253
</ul>
22532254

22542255
<li id=algo-line-align><a class=self-link href=#algo-line-align></a>

css-flexbox/Overview.src.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2276,12 +2276,13 @@ <h3 id='cross-alignment'>
22762276
<ul>
22772277
<li>
22782278
If the cross size property is a <i>definite</i> size,
2279-
use that.
2279+
use that,
2280+
clamped by the min and max cross size properties of the <a>flex container</a>.
22802281

22812282
<li>
22822283
Otherwise,
22832284
use the sum of the flex lines' cross sizes,
2284-
clamped by the min and max cross size properties.
2285+
clamped by the min and max cross size properties of the <a>flex container</a>.
22852286
</ul>
22862287

22872288
<li id='algo-line-align'>

0 commit comments

Comments
 (0)