Skip to content

Commit 3f93102

Browse files
committed
Make it clearer that auto margins turn off cross-axis alignment.
1 parent 0fbba78 commit 3f93102

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

css3-flexbox/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,9 @@ <h3 id=cross-alignment><span class=secno>9.6. </span> Cross-Axis Alignment</h3>
26392639

26402640
<li id=algo-cross-align> <strong>Align all flex items along the
26412641
cross-axis</strong> per ‘<a href="#flex-item-align"><code
2642-
class=property>flex-item-align</code></a>’.
2642+
class=property>flex-item-align</code></a>’, if neither of the item's
2643+
cross-axis margins are ‘<a href="#flex-item-align-auto"><code
2644+
class=css>auto</code></a>’.
26432645

26442646
<li id=algo-cross-container> <strong>Determine the flex container's used
26452647
cross size:</strong>

css3-flexbox/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,8 @@ <h3 id='cross-alignment'>
19391939
to the ''auto'' margins.
19401940

19411941
<li id='algo-cross-align'>
1942-
<strong>Align all flex items along the cross-axis</strong> per 'flex-item-align'.
1942+
<strong>Align all flex items along the cross-axis</strong> per 'flex-item-align',
1943+
if neither of the item's cross-axis margins are ''auto''.
19431944

19441945
<li id='algo-cross-container'>
19451946
<strong>Determine the flex container's used cross size:</strong>

0 commit comments

Comments
 (0)