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
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -270,6 +270,19 @@ <h2 id='flex-items'>
270
270
<li>
271
271
An atomic inline-level child of a flexbox element
272
272
273
+
<li>
274
+
An HTML
275
+
<code><img></code>,
276
+
<code><canvas></code>,
277
+
<code><svg></code>,
278
+
<code><math></code>,
279
+
<code><audio></code>,
280
+
<code><video></code>,
281
+
<code><iframe></code>,
282
+
<code><object></code>,
283
+
or <code><embed></code> element.
284
+
<spanclass='note'>Note: In other words, any element that is "intended to be" a replaced element, even if it becomes non-replaced (like an <code><img></code> that doesn't load as is replaced by its alt text.)</span>
285
+
273
286
<li>
274
287
An anonymous block element wrapped around a contiguous run of non-replaced inline child elements.
275
288
However, if the contents of the anonymous block would be solely an anonymous inline containing only whitespace,
@@ -1496,8 +1509,9 @@ <h3 id='line-sizing'>
1496
1509
<li>
1497
1510
Otherwise,
1498
1511
if the flexbox's main-axis is parallel to the item's inline-axis,
1499
-
lay out the item using its flex basis
1500
-
and the available space,
1512
+
lay out the item using the available space
1513
+
and its flex basis if the item is inflexible,
1514
+
or ''auto'' otherwise,
1501
1515
treating ''auto'' as ''max-content''
1502
1516
unless the item's writing mode is perpendicular to the flexbox's writing mode
1503
1517
(in which case <ahref="http://www.w3.org/TR/css3-writing-modes/#orthogonal-flows">the rules for a box in an orthogonal flow</a> [[!CSS3-WRITING-MODES]] are in effect).
@@ -1508,8 +1522,9 @@ <h3 id='line-sizing'>
1508
1522
1509
1523
<li>
1510
1524
Otherwise,
1511
-
lay out the item
1512
-
using the available space,
1525
+
lay out the item using the available space
1526
+
and its flex basis if the item is inflexible,
1527
+
or ''auto'' otherwise,
1513
1528
treating ''auto'' as ''max-content''
1514
1529
unless the item's writing mode is perpendicular to the flexbox's writing mode
1515
1530
(in which case <ahref="http://www.w3.org/TR/css3-writing-modes/#orthogonal-flows">the rules for a box in an orthogonal flow</a> [[!CSS3-WRITING-MODES]] are in effect).
0 commit comments