For "in body" insertion mode hadling of button start tag requires following steps (excerpt):
1.2. Generate implied end tags.
1.3. Pop elements from the stack of open elements until a button element has been popped from the stack.
Generate implied end tags pops all implicitly closable elements from the stack until an explicitly closable is reached. And then step 1.3 continues to pop any elements up to nearest button element (note that button is not implicitly closable).
So, generating implied end tags can be removed because it's completely covered by the next step.
What is the issue with the HTML Standard?
For "in body" insertion mode hadling of
button
start tag requires following steps (excerpt):1.2. Generate implied end tags. 1.3. Pop elements from the stack of open elements until a
button
element has been popped from the stack.Generate implied end tags pops all implicitly closable elements from the stack until an explicitly closable is reached. And then step 1.3 continues to pop any elements up to nearest
button
element (note thatbutton
is not implicitly closable). So, generating implied end tags can be removed because it's completely covered by the next step.