You could do this with js in the child document, if its important to keep js out of the parent.
no, not if it is cross site URL.
Then you need a postMessage to send body size to parent frame which then needs to listen for messages and resize the iframe element.
no, not if it is cross site URL.
Then you need a postMessage to send body size to parent frame which then needs to listen for messages and resize the iframe element.