@@ -2156,7 +2156,7 @@ <h5>Algorithm for stretching operators along the block axis</h5>
2156
2156
operators along the < a > block axis</ a > </ figcaption >
2157
2157
</ figure >
2158
2158
< p >
2159
- The < dfn > Algorithm for stretching operators along the block axis</ dfn >
2159
+ The < dfn > algorithm for stretching operators along the block axis</ dfn >
2160
2160
consists in the following steps:
2161
2161
</ p >
2162
2162
< ol >
@@ -2171,14 +2171,20 @@ <h5>Algorithm for stretching operators along the block axis</h5>
2171
2171
without any stretch size constraint
2172
2172
and stop.
2173
2173
</ li >
2174
+ < li > Otherwise,
2175
+ split the list of < a > in-flow</ a > children into a first list
2176
+ < code > L< sub > ToStretch</ sub > </ code > containing
2177
+ < a > embellished operators</ a > with
2178
+ a < a > stretchy</ a > property and block < a > stretch axis</ a > ;
2179
+ and a second list < code > L< sub > NotToStretch</ sub > </ code > .
2180
+ </ li >
2174
2181
< li >
2175
- Layout all the < a > in-flow</ a > children of the
2176
- < code > <mrow></ code > except the
2177
- < a > embellished operators</ a > that have
2178
- the < a > stretchy</ a > property and block < a > stretch axis</ a > .
2179
- If this step results in all the < a > in-flow</ a > children
2180
- being laid out, then
2181
- stop.
2182
+ Perform layout without any stretch size constraint on
2183
+ all the items of < code > L< sub > NotToStretch</ sub > </ code > .
2184
+ If < code > L< sub > ToStretch</ sub > </ code > is empty then stop.
2185
+ If < code > L< sub > NotToStretch</ sub > </ code > is empty, perform
2186
+ layout with stretch size constraint 0 on
2187
+ all the items of < code > L< sub > ToStretch</ sub > </ code > .
2182
2188
</ li >
2183
2189
< li >
2184
2190
Calculate the unconstrained target sizes
@@ -2189,14 +2195,12 @@ <h5>Algorithm for stretching operators along the block axis</h5>
2189
2195
have been laid out in the previous step.
2190
2196
</ li >
2191
2197
< li >
2192
- For each < a > in-flow</ a > child of < code > <mrow></ code >
2193
- that is an < a > embellished operator</ a >
2194
- with the < a > stretchy</ a > property and block < a > stretch axis</ a > ,
2195
- layout the child with < a > block stretch size constraint</ a >
2198
+ Layout or relayout all the elements of
2199
+ < code > L< sub > ToStretch</ sub > </ code > with
2200
+ < a > block stretch size constraint</ a >
2196
2201
< code > (U< sub > ascent</ sub > , U< sub > descent</ sub > )</ code > .
2197
2202
</ li >
2198
2203
</ ol >
2199
- < div class ="issue " data-number ="124 "> Layout of container with only stretchy < a > in-flow</ a > children</ div >
2200
2204
</ section >
2201
2205
< section id ="layout-of-mrow ">
2202
2206
< h5 > Layout of < code > <mrow></ code > </ h5 >
@@ -3655,7 +3659,6 @@ <h5>Children of <code><munder></code>,
3655
3659
< section >
3656
3660
< h4 > Algorithm for stretching operators along the inline axis</ h4 >
3657
3661
< div class ="issue " data-number ="130 "> Avoid underestimation of min/max stretchy horizontal operators</ div >
3658
- < div class ="issue " data-number ="124 "> Layout of container with only stretchy < a > in-flow</ a > children</ div >
3659
3662
< p >
3660
3663
The < dfn > algorithm for stretching operators along the inline
3661
3664
axis</ dfn >
@@ -3671,10 +3674,11 @@ <h4>Algorithm for stretching operators along the inline axis</h4>
3671
3674
with the same stretch size constraint.
3672
3675
</ li >
3673
3676
< li >
3674
- Split the list remaining < a > in-flow</ a > children into a first list
3677
+ Split the list of < a > in-flow</ a > children that have not been
3678
+ laid out yet into a first list
3675
3679
< code > L< sub > ToStretch</ sub > </ code > containing
3676
3680
< a > embellished operators</ a > with
3677
- a < a > stretchy</ a > property and inline < a > stretch axis</ a >
3681
+ a < a > stretchy</ a > property and inline < a > stretch axis</ a > ;
3678
3682
and a second list < code > L< sub > NotToStretch</ sub > </ code > .
3679
3683
</ li >
3680
3684
< li >
0 commit comments