summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-grid/grid-max-sizing-flex-007.html
Commit message (Collapse)AuthorAgeLines
* Issue #1485 - Fix incorrect grid cell sizing to min/max space.wolfbeast2020-04-14-0/+24
| | | | | | | | | | | | | | | | There were actually two separate logical errors in this method: The first part is that "origSizes.isSome()" is simply a bogus requirement for applying min/max-sizes here. I'm still keeping the optimization of not needlessly copying the mSizes array (as originally intended) since it's a quite common case. The second bug is that min/max-sizes were only applied under the "if (fr != 0.0f)" block. This is bogus since the calculated 'fr' value depends on 'aAvailableSize' which might change by applying min/max-sizes and thus 'fr' could become non-zero in the second round. To fix, this patch just moves "applyMinMax" block out one level.
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+108