@@ -2189,36 +2189,32 @@ Flex Baselines</h3>
2189
2189
<h2 id='layout-algorithm'>
2190
2190
Flex Layout Algorithm</h2>
2191
2191
2192
- <p>
2193
- This section contains normative algorithms
2194
- detailing the exact layout behavior of a flex container and its contents.
2195
- The algorithms here are written to optimize readability and theoretical simplicity,
2196
- and may not necessarily be the most efficient.
2197
- Implementations may use whatever actual algorithms they wish,
2198
- but must produce the same results as the algorithms described here.
2199
-
2200
- <p class='note'>
2201
- This section is mainly intended for implementors.
2202
- Authors writing web pages should generally be served well by the individual property descriptions,
2203
- and do not need to read this section unless they have a deep-seated urge to understand arcane details of CSS layout.
2204
-
2205
- <p>
2206
- For the purposes of these definitions,
2207
- a <dfn title="definite|definite size">definite size</dfn> is one that can be determined without measuring content,
2208
- i.e. is a <var> <length></var> ,
2209
- a size of the initial containing block,
2210
- or a <var> <percentage></var> that is resolved against a definite size.
2211
- An <dfn title="indefinite|indefinite size">indefinite size</dfn> is one that is not <i> definite</i> .
2212
-
2213
- <p>
2214
- As a special case for handling <a>stretched</a> <i> flex items</i> ,
2215
- if a <i> single-line</i> <i> flex container</i> has a definite cross size,
2216
- the outer <i> cross size</i> of any <a>stretched</a> <i> flex items</i>
2217
- is the flex container's inner cross size (clamped to the <i> flex item</i> ’s min and max <i> cross size</i> )
2218
- and is considered <i> definite</i> .
2219
-
2220
- <p>
2221
- The following sections define the algorithm for laying out a flex container and its contents.
2192
+ This section contains normative algorithms
2193
+ detailing the exact layout behavior of a flex container and its contents.
2194
+ The algorithms here are written to optimize readability and theoretical simplicity,
2195
+ and may not necessarily be the most efficient.
2196
+ Implementations may use whatever actual algorithms they wish,
2197
+ but must produce the same results as the algorithms described here.
2198
+
2199
+ Note: This section is mainly intended for implementors.
2200
+ Authors writing web pages should generally be served well by the individual property descriptions,
2201
+ and do not need to read this section unless they have a deep-seated urge to understand arcane details of CSS layout.
2202
+
2203
+ For the purposes of these definitions,
2204
+ a <dfn title="definite|definite size">definite size</dfn> is one that can be determined without measuring content,
2205
+ i.e. is a <var> <length></var> ,
2206
+ a size of the initial containing block,
2207
+ or a <var> <percentage></var> that is resolved against a definite size.
2208
+ An <dfn title="indefinite|indefinite size">indefinite size</dfn> is one that is not <i> definite</i> .
2209
+
2210
+
2211
+ As a special case for handling <a>stretched</a> <i> flex items</i> ,
2212
+ if a <i> single-line</i> <i> flex container</i> has a definite cross size,
2213
+ the outer <i> cross size</i> of any <a>stretched</a> <i> flex items</i>
2214
+ is the flex container's inner cross size (clamped to the <i> flex item</i> ’s min and max <i> cross size</i> )
2215
+ and is considered <i> definite</i> .
2216
+
2217
+ The following sections define the algorithm for laying out a flex container and its contents.
2222
2218
2223
2219
<h3 id='box-manip'>
2224
2220
Initial Setup</h3>
0 commit comments