Crosswalks, pedestrian crossovers and school crossings
At a pedestrian crossover, and at a school crossing or any crossing with a crossing guard, stop and give up the whole width of the road. Move again only once the pedestrians, and the guard, are safely back on the sidewalk.
A pedestrian on a crossover has already committed to crossing the whole road, so traffic on every part of it needs to hold until they're clear.
Watch out: In some countries drivers ease forward once a pedestrian has cleared their own lane. In Ontario you wait for the whole road, not just your side of it.
At a crosswalk with no crossing guard, yield to pedestrians in it. The stop-and-wait-for-the-whole-road rule is for crossovers and for crossings with a guard. If a guard is out, even at an ordinary crosswalk, that stricter rule applies.
A person in a crosswalk has nothing to protect them from a car, and can't get out of the way quickly.
Don't pass a vehicle that is stopped at a crosswalk, even in another lane. It's probably waiting for a pedestrian who is hidden from your view.
A driver who has stopped at a crosswalk for no visible reason is very likely yielding to someone you can't see from where you are.
Source: Official MTO Driver's Handbook, Driving near pedestrian crossovers and school crossings.
Check yourself with practice questions and mock tests. Try it free in your browser.