Daniel Holbert fa61229977 Bug 1267462 part 7: Generalize nsFlexContainerFrame::ResolveAutoFlexBasisAndMinSize and helpers to use logical axes & coords. r=mats
In particlar, this patch:

 - ...renames a bunch of 'auto'-BSize-measurement functions/variables from
   "Height" to "BSize".  (I thought about splitting this part out, but
   typically the correctness of the renames was intrinsically tied to the logic
   generalizations that I'm performing here, and vice versa, so it seemed
   clearest to group it all together.)

 - ...replaces some calls to IsMainAxisHorizontal() with the more general
   "FlexItem::IsInlineAxisMainAxis()" API, for cases when we're reasoning about
   whether a flex item's main-size is really just its (easier-to-resolve) ISize.

 - ...replaces some calls to IsCrossAxisHorizontal() with either
   IsColumnOriented() or FlexItem::IsInlineAxisCrossAxis() (depending on
   whether we're reasoning about the flex container's cross-size vs. a flex
   item's cross size).

This makes a bunch of tests start passing (including a "received" w3c
reftest/wpt-test), so this patch also removes some failure annotations.

MozReview-Commit-ID: 3uR1mOzvytX

--HG--
extra : rebase_source : 40f4e7dd6aacfb4f267d2f4d217fbf84befb5ebf
2018-02-08 15:15:07 -08:00
..

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff