The yellow box should encompass its contents and also the cyan float, due to clearance. The yellow box has bottom padding, and the blue ruby annotation box is allowed to overflow into the padding area. In this case the blue box is so tall it will use the entire padding area, and also stretch the yellow box somewhat.