Handle resizes on parent element

This change handles an issue with the box-sizing polyfill.
If there is an element X with box-sizing = content-box and it has a child element Y with box-sizing = border-box, if the dimensions of X change, the dimensions of Y are not updated.
The proposed fix attaches an "onresize" event to the corresponding parent element and the issue is resolved.