@@ -30,6 +30,7 @@ Former Editor: David Hyatt, formerly of Netscape Corporation, hyatt@apple.com
3030!Issues List : <a href="https://drafts.csswg.org/css-flexbox-1/issues">https://drafts.csswg.org/css-flexbox-1/issues</a>
3131Ignored Terms : auto, first formatted line, first letter, static position
3232Ignored Vars : item’s own max-content, maximum min-content among all items
33+ WPT Path Prefix : css/css-flexbox/
3334</pre>
3435
3536<pre class='link-defaults'>
@@ -526,10 +527,19 @@ Flex Containers: the ''flex'' and ''inline-flex'' 'display' values</h2>
526527 This value causes an element to generate a <a>flex container</a> box
527528 that is <a>block-level</a> when placed in <a>flow layout</a> .
528529
530+ <wpt>
531+ display-flex-001.htm
532+ display_flex_exist.html
533+ </wpt>
534+
529535 <dt> <dfn>inline-flex</dfn>
530536 <dd>
531537 This value causes an element to generate a <a>flex container</a> box
532538 that is <a>inline-level</a> when placed in <a>flow layout</a> .
539+
540+ <wpt>
541+ display_inline-flex_exist.html
542+ </wpt>
533543 </dl>
534544
535545 A <a>flex container</a> establishes a new <dfn export>flex formatting context</dfn> for its contents.
@@ -590,6 +600,15 @@ Flex Items</h2>
590600 (i.e. characters that can be affected by the 'white-space' property)
591601 it is instead not rendered (just as if its <a>text nodes</a> were ''display:none'' ).
592602
603+ <wpt>
604+ anonymous-flex-item-001.html
605+ anonymous-flex-item-002.html
606+ anonymous-flex-item-003.html
607+ anonymous-flex-item-004.html
608+ anonymous-flex-item-005.html
609+ anonymous-flex-item-006.html
610+ </wpt>
611+
593612 <div class="example">
594613 <p> Examples of flex items:
595614 <pre class="lang-markup">
@@ -704,6 +723,15 @@ Absolutely-Positioned Flex Children</h3>
704723 For this purpose,
705724 ''margin/auto'' margins are treated as zero.
706725
726+ <wpt>
727+ abspos-autopos-htb-ltr.html
728+ abspos-autopos-htb-rtl.html
729+ abspos-autopos-vlr-ltr.html
730+ abspos-autopos-vlr-rtl.html
731+ abspos-autopos-vrl-ltr.html
732+ abspos-autopos-vrl-rtl.html
733+ </wpt>
734+
707735 <div class="note">
708736 In other words,
709737 the <a>static-position rectangle</a> of an absolutely-positioned child of a <a>flex container</a>
@@ -1051,11 +1079,24 @@ Flex Flow Direction: the 'flex-direction' property</h3>
10511079 <a>inline-end</a> directions, respectively,
10521080 of the current <a>writing mode</a> .
10531081
1082+ <wpt>
1083+ css-flexbox-row-wrap-reverse.html
1084+ css-flexbox-row-wrap.html
1085+ css-flexbox-row.html
1086+ css-flexbox-test1.html
1087+ </wpt>
1088+
10541089 <dt> <dfn>row-reverse</dfn>
10551090 <dd>
10561091 Same as ''row'' ,
10571092 except the <a>main-start</a> and <a>main-end</a> directions are swapped.
10581093
1094+ <wpt>
1095+ css-flexbox-row-reverse-wrap-reverse.html
1096+ css-flexbox-row-reverse-wrap.html
1097+ css-flexbox-row-reverse.html
1098+ </wpt>
1099+
10591100 <dt> <dfn>column</dfn>
10601101 <dd>
10611102 The flex container's <a>main axis</a> has the same orientation as the
@@ -1066,10 +1107,22 @@ Flex Flow Direction: the 'flex-direction' property</h3>
10661107 <a>block-end</a> directions, respectively,
10671108 of the current <a>writing mode</a> .
10681109
1110+ <wpt>
1111+ css-flexbox-column-wrap-reverse.html
1112+ css-flexbox-column-wrap.html
1113+ css-flexbox-column.html
1114+ </wpt>
1115+
10691116 <dt> <dfn>column-reverse</dfn>
10701117 <dd>
10711118 Same as ''column'' ,
10721119 except the <a>main-start</a> and <a>main-end</a> directions are swapped.
1120+
1121+ <wpt>
1122+ css-flexbox-column-reverse-wrap-reverse.html
1123+ css-flexbox-column-reverse-wrap.html
1124+ css-flexbox-column-reverse.html
1125+ </wpt>
10731126 </dl>
10741127
10751128 Note: The reverse values do not reverse box ordering:
@@ -1110,13 +1163,34 @@ Flex Line Wrapping: the 'flex-wrap' property</h3>
11101163 <dd>
11111164 The flex container is <a>single-line</a> .
11121165
1166+ <wpt>
1167+ css-flexbox-row-reverse.html
1168+ css-flexbox-row.html
1169+ css-flexbox-column-reverse.html
1170+ css-flexbox-column.html
1171+ </wpt>
1172+
11131173 <dt> <dfn>wrap</dfn>
11141174 <dd>
11151175 The flex container is <a>multi-line</a> .
11161176
1177+ <wpt>
1178+ css-flexbox-row-reverse-wrap.html
1179+ css-flexbox-row-wrap.html
1180+ css-flexbox-column-reverse-wrap.html
1181+ css-flexbox-column-wrap.html
1182+ </wpt>
1183+
11171184 <dt> <dfn>wrap-reverse</dfn>
11181185 <dd>
11191186 Same as ''wrap'' .
1187+
1188+ <wpt>
1189+ css-flexbox-row-reverse-wrap-reverse.html
1190+ css-flexbox-row-wrap-reverse.html
1191+ css-flexbox-column-reverse-wrap-reverse.html
1192+ css-flexbox-column-wrap-reverse.html
1193+ </wpt>
11201194 </dl>
11211195
11221196 For the values that are not ''wrap-reverse'' ,
@@ -1149,6 +1223,15 @@ Flex Direction and Wrap: the 'flex-flow' shorthand</h3>
11491223 The 'flex-flow' property is a shorthand for setting the 'flex-direction' and 'flex-wrap' properties,
11501224 which together define the flex container's main and cross axes.
11511225
1226+ <wpt>
1227+ css-flexbox-column-reverse-wrap-reverse.html
1228+ css-flexbox-column-reverse-wrap.html
1229+ css-flexbox-column-reverse.html
1230+ css-flexbox-column-wrap-reverse.html
1231+ css-flexbox-column-wrap.html
1232+ css-flexbox-column.html
1233+ </wpt>
1234+
11521235 <div class="example">
11531236 Some examples of valid flows in an English (left-to-right, horizontal writing mode) document:
11541237
@@ -1228,6 +1311,10 @@ Display Order: the 'order' property</h3>
12281311 Animation type : integer
12291312 </pre>
12301313
1314+ <wpt>
1315+ Flexible-order.html
1316+ </wpt>
1317+
12311318 The 'order' property controls the order in which
12321319 flex items appear within the flex container,
12331320 by assigning them to ordinal groups.
@@ -1463,6 +1550,15 @@ Flex Lines</h2>
14631550 and 'align-content' has no effect.
14641551 The <a>main size</a> of a line is always the same as the <a>main size</a> of the flex container's content box.
14651552
1553+ <wpt>
1554+ align-content-001.htm
1555+ align-content-002.htm
1556+ align-content-003.htm
1557+ align-content-004.htm
1558+ align-content-005.htm
1559+ align-content-006.htm
1560+ </wpt>
1561+
14661562 <div class='example'>
14671563 Here's the same example as the previous,
14681564 except that the flex items have all been given ''flex: auto'' .
@@ -1538,6 +1634,11 @@ The 'flex' Shorthand</h3>
15381634 when positive free space is distributed.
15391635 When omitted, it is set to ''1'' .
15401636
1637+ <wpt>
1638+ flex-001.htm
1639+ flex-003.htm
1640+ </wpt>
1641+
15411642 <details class=note>
15421643 <summary> Flex values between 0 and 1 have a somewhat special behavior:
15431644 when the sum of the flex values on the line is less than 1,
@@ -1586,6 +1687,11 @@ The 'flex' Shorthand</h3>
15861687 when negative free space is distributed.
15871688 When omitted, it is set to ''1'' .
15881689
1690+ <wpt>
1691+ flex-002.htm
1692+ flex-004.htm
1693+ </wpt>
1694+
15891695 Note: The <a>flex shrink factor</a> is multiplied by the <a>flex base size</a> when distributing negative space.
15901696 This distributes negative space in proportion to how much the item is able to shrink,
15911697 so that e.g. a small item won't shrink to zero before a larger item has been noticeably reduced.
@@ -1851,6 +1957,10 @@ Aligning with <a value for=margin>auto</a> margins</h3>
18511957 any positive free space is distributed to auto margins in that dimension.
18521958 * Overflowing boxes ignore their auto margins and overflow in the <a>end</a> direction.
18531959
1960+ <wpt>
1961+ auto-margins-001.html
1962+ </wpt>
1963+
18541964 Note: If free space is distributed to auto margins,
18551965 the alignment properties will have no effect in that dimension
18561966 because the margins will have stolen all the free space
@@ -1972,6 +2082,10 @@ Axis Alignment: the 'justify-content' property</h3>
19722082 is placed flush with the <a>main-end</a> edge of the line,
19732083 and each preceding <a>flex item</a> is placed flush with the subsequent item.
19742084
2085+ <wpt>
2086+ css-box-justify-content.html
2087+ </wpt>
2088+
19752089 <dt> <dfn>center</dfn>
19762090 <dd>
19772091 <a>Flex items</a> are packed toward the center of the line.
@@ -2047,6 +2161,10 @@ Cross-axis Alignment: the 'align-items' and 'align-self' properties</h3>
20472161 Media : visual
20482162 </pre>
20492163
2164+ <wpt>
2165+ align-self-013.html
2166+ </wpt>
2167+
20502168 <a>Flex items</a> can be aligned in the <a>cross axis</a> of the current line of the flex container,
20512169 similar to 'justify-content' but in the perpendicular direction.
20522170 'align-items' sets the default alignment for all of the flex container's <a lt="flex items">items</a> ,
@@ -2067,22 +2185,46 @@ Cross-axis Alignment: the 'align-items' and 'align-self' properties</h3>
20672185 to the value of 'align-items' on the parent box.
20682186 (This is the initial value of 'align-self' .)
20692187
2188+ <wpt>
2189+ align-self-007.html
2190+ align-self-008.html
2191+ align-self-009.html
2192+ align-self-011.html
2193+ align-self-012.html
2194+ </wpt>
2195+
20702196 <dt> <dfn>flex-start</dfn>
20712197 <dd>
20722198 The <a>cross-start</a> margin edge of the <a>flex item</a>
20732199 is placed flush with the <a>cross-start</a> edge of the line.
20742200
2201+ <wpt>
2202+ align-items-002.htm
2203+ align-items-006.html
2204+ align-self-001.html
2205+ </wpt>
2206+
20752207 <dt> <dfn>flex-end</dfn>
20762208 <dd>
20772209 The <a>cross-end</a> margin edge of the <a>flex item</a>
20782210 is placed flush with the <a>cross-end</a> edge of the line.
20792211
2212+ <wpt>
2213+ align-items-003.htm
2214+ align-self-002.html
2215+ </wpt>
2216+
20802217 <dt> <dfn>center</dfn>
20812218 <dd>
20822219 The <a>flex item</a> ’s margin box is centered in the <a>cross axis</a> within the line.
20832220 (If the <a>cross size</a> of the flex line is less than that of the <a>flex item</a> ,
20842221 it will overflow equally in both directions.)
20852222
2223+ <wpt>
2224+ align-items-001.htm
2225+ align-self-003.html
2226+ </wpt>
2227+
20862228 <dt> <dfn>baseline</dfn>
20872229 <dd>
20882230 The <a>flex item</a> <dfn dfn id='baseline-participation'>participates in baseline alignment</dfn> :
@@ -2094,6 +2236,10 @@ Cross-axis Alignment: the 'align-items' and 'align-self' properties</h3>
20942236 then one is <a lt="synthesize baseline">synthesized</a>
20952237 from the <a>flex item</a> ’s border box.
20962238
2239+ <wpt>
2240+ align-items-004.htm
2241+ </wpt>
2242+
20972243 <dt> <dfn>stretch</dfn>
20982244 <dd>
20992245 If the <a>cross size property</a> of the <a>flex item</a> computes to ''width/auto'' ,
@@ -2108,6 +2254,13 @@ Cross-axis Alignment: the 'align-items' and 'align-self' properties</h3>
21082254
21092255 The <a>cross-start</a> margin edge of the <a>flex item</a>
21102256 is placed flush with the <a>cross-start</a> edge of the line.
2257+
2258+ <wpt>
2259+ align-items-005.htm
2260+ align-self-004.html
2261+ align-self-005.html
2262+ css-flexbox-height-animation-stretch.html
2263+ </wpt>
21112264 </dl>
21122265
21132266 <div class='figure'>
@@ -2418,6 +2571,10 @@ Line Length Determination</h3>
24182571 and the <a>flex item</a> ’s cross size is ''auto'' and not <a>definite</a> ,
24192572 in this calculation use ''width/fit-content'' as the <a>flex item</a> ’s <a>cross size</a> .
24202573 The <a>flex base size</a> is the item's resulting <a>main size</a> .
2574+
2575+ <wpt>
2576+ css-flexbox-img-expand-evenly.html
2577+ </wpt>
24212578 </ol>
24222579
24232580 When determining the <a>flex base size</a> ,
0 commit comments