[giow] (1) Handle the case of a 'resize' handler removing the Document from the rendering
Affected topics: DOM APIs

git-svn-id: https://svn.whatwg.org/webapps@8851 340c8d12-0b0e-0410-8428-c7bf67bfef74