Historical Rules · 29 September 2017
Rule 405.5
Official source text from the 29 September 2017 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.