You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-flexbox/Overview.src.html
+27-31Lines changed: 27 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -434,11 +434,11 @@ <h3 id='flex-wrap'>
434
434
435
435
<dl>
436
436
<dt>nowrap</dt>
437
-
<dd>The flexbox is <i>single-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current <ahref="http://dev.w3.org/csswg/css3-writing-modes/#writing-mode">writing mode</a>, whichever is in the <i>cross-axis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.
437
+
<dd>The flexbox is <i>single-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current <ahref="http://dev.w3.org/csswg/css3-writing-modes/#writing-mode">writing mode</a>, whichever is in the <i>crossaxis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.
438
438
</dd>
439
439
440
440
<dt><dfnid='flex-flow-wrap'>wrap</dfn></dt>
441
-
<dd>The flexbox is <i>multi-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current <ahref="http://dev.w3.org/csswg/css3-writing-modes/#writing-mode">writing mode</a>, whichever is in the <i>cross-axis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.</dd>
441
+
<dd>The flexbox is <i>multi-line</i>. The <i>cross-start</i> direction is equivalent to either the "start" or "before" direction of the current <ahref="http://dev.w3.org/csswg/css3-writing-modes/#writing-mode">writing mode</a>, whichever is in the <i>crossaxis</i>, and the <i>cross-end</i> direction is the opposite direction of <i>cross-start</i>.</dd>
Determine the used cross size of each flexbox item.
1193
-
1194
-
<p>
1195
-
If a flexbox item has ''flex-item-align: stretch''
1196
-
and its cross size property is ''auto'',
1197
-
the used outer cross size is the cross size of its flexbox line,
1198
-
clamped by its min and max cross size properties.
1199
-
1200
-
<p>
1201
-
Otherwise,
1202
-
the used cross size is the item's hypothetical cross size.
1192
+
<strong>Determine the used cross size of each flexbox item.</strong>
1193
+
If a flexbox item has ''flex-item-align: stretch''
1194
+
and its cross size property is ''auto'',
1195
+
the used outer cross size is the cross size of its flexbox line,
1196
+
clamped by its min and max cross size properties.
1197
+
Otherwise,
1198
+
the used cross size is the item's hypothetical cross size.
1203
1199
1204
1200
<li>
1205
-
Align all flexbox items along the cross axis per 'flex-item-align'.
1201
+
<strong>Align all flexbox items along the cross axis</strong> per 'flex-item-align'.
1206
1202
1207
1203
<li>
1208
-
Determine the flexbox's used cross size.
1204
+
<strong>Determine the flexbox's used cross size:</strong>
1209
1205
1210
1206
<ul>
1211
1207
<li>
@@ -1218,7 +1214,7 @@ <h2 id='layout-algorithm'>
1218
1214
</ul>
1219
1215
1220
1216
<li>
1221
-
Align all flexbox lines per 'flex-line-pack'.
1217
+
<strong>Align all flexbox lines</strong> per 'flex-line-pack'.
1222
1218
</ol>
1223
1219
1224
1220
<h3id='resolve-flexible-lengths'>
@@ -1414,13 +1410,13 @@ <h2 id="pagination">
1414
1410
1415
1411
<li>Items that have fit completely on a previous page and items that are pushed to next page don’t have any rendering, leaving empty space as needed.</li>
1416
1412
1417
-
<li>Items that fit completely or partially on current page are aligned on cross-axis:
1413
+
<li>Items that fit completely or partially on current page are aligned on crossaxis:
1418
1414
1419
1415
<ol>
1420
-
<li>For the purposes of cross-axis alignment, minimum of remaining available space in flexbox and available space at current page is used.</li>
1416
+
<li>For the purposes of crossaxis alignment, minimum of remaining available space in flexbox and available space at current page is used.</li>
1421
1417
1422
-
<li>If an item is broken in the previous step and its alignment is not baseline, its cross-axis
1423
-
margin-box size is set to available space. If item alignment is baseline, its cross-axis size is adjusted so that it extends to exactly the end of available space.</li>
1418
+
<li>If an item is broken in the previous step and its alignment is not baseline, its crossaxis
1419
+
margin-box size is set to available space. If item alignment is baseline, its crossaxis size is adjusted so that it extends to exactly the end of available space.</li>
1424
1420
</ol>
1425
1421
</li>
1426
1422
</ol>
@@ -1447,7 +1443,7 @@ <h2 id="pagination">
1447
1443
1448
1444
<li>Breaks inside items (forced or unforced) are not allowed.</li>
1449
1445
<li>If the first flexbox line on a page doesn't fit in
1450
-
cross-axis,
1446
+
crossaxis,
1451
1447
<ol>
1452
1448
<li>If the flexbox is not at the top of the page, it is moved to the next page.</li>
1453
1449
<li>If the flexbox is already at the top of the page, the item may produce overflow. If 'overflow' property of the flexbox is set to 'visible', it is paginated using same rules as visible overflow of blocks in normal flow.</li>
0 commit comments