If a shape on a stacked float does not affect the line, then the line should be affected by the shape on the previous stacked float.

You should see two green rectanges. There should be no red.