In Initial load the SharePoint calculate the size (Width and Height) and assigned to the #S4-workspace and #ms-designer-ribbon
Resize the window, the above same action is to be perform it again.
- Using Chrome developer tools, I selected the #s4-workspace div and the selected “Break On…”, “Attributes modifications”:
- Then I resized the browser window and check, the function trigger
- So now that I know that the name of the function that SharePoint uses to calculate the size of the #s4-workspace div