http://dev.w3.org/csswg/css3-flexbox/#flex-align: "If the cross size of the flexbox is less than than that of the flexbox item, it will overflow equally in both directions."
http://dev.w3.org/csswg/css3-flexbox/#flex-pack: "If the leftover free-space is negative, the flexbox items will overflow equally in both directions."
Created attachment 126552 [details]
Comment on attachment 126552 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=126552&action=review
If you wanted to be thorough, you could add writing mode tests.
> + Also, removed passing totalPositiveFlexibility around. We don't
> + need to know about positive/negative flex once we run the flexing algorithm.
I remember why we had this. It was when you could flex margins. Maybe mention that in the ChangeLog.
Committed r107446: <http://trac.webkit.org/changeset/107446>