The water in the bucket fills up the bowl, and because the flapper valve was not disturbed by the water, the water in the tank is used to flush the bowl.