Tests that a replaced child with percentage height should keep the aspect ratio when the size of its container changes.