Bug 991512: Add convenience methods to calculate outer main & cross size of a FlexItem. r=mats