Bug 1674302 doesn't make table flex item respect the max-width/max-height. That is, table flex item main size shouldn't grow larger than its max main size. See the the testcase attached.
This is required by flex algorithm 9.7.5 (d)
Fix min/max violations. Clamp each non-frozen item’s target main size by its used min and max main sizes and floor its content-box size at zero.