Add max-height with implicit containing block height

And describe why it works like that