Modernizr/Modernizr — pull request #566 by mibalan (2012-04-24 14:24:52+00:00)
Title: Fixed false negatives on browsers that actually support regions

If loading modernizr before document.body is available leads to a JavaScript exception being thrown and the actual feature testing to be aborted.
This commit fixes that by replacing document.body.appendChild() with document.documentElement.appendChild()