layout: Make percentage heights propagate through inline flows.

I found this random bug during an attempt to improve Wikipedia.

r? @mbrubeck