Padding and Stride

https://en.diveintodeeplearning.org/chapter_convolutional-neural-networks/padding-and-strides.html

Hi in section 6.3.1 the image size should be 3X3 before pading and 5X5 after padding not 3X5 to 5X7. Correct me if I am wrong.