In this section

Historical Rules · 1 October 2012

Rule 405.5

Official source text from the 1 October 2012 Rules release

When all players pass in succession, the top (last-added) spell or ability on the stack resolves. If the stack is empty when all players pass, the current step or phase ends and the next begins.

Find this number in the current Rules