Definitely not an annoying question!
In the resizeable demo, Blockly's container (the div with id 'blocklyDiv') changes size
after Blockly.inject is called. The call to the
onresize() function changes the 'blocklyDiv''s offsetHeight and offsetWidth and Blockly has no way to know that unless we tell it. The call to Blockly.svgResize(workspace) is what does that.
For the fixed demo, the size of the 'blocklyDiv' is set on the
element directly so Blockly knows the size when inject is called (which is when we internally call Blockly.svgResize) and it doesn't change after.
Feel free to ask followups - the resize stuff is a bit subtle at times. We used to be very aggressive about resizing, but it was expensive to ask the browser to recalculate sizes all the time. We've cut down on many of the unnecessary ones, but sometimes, as you've found here, not in the most intuitive ways.