Modernizr/Modernizr — Issue #501: IE8 crash when using a body background image
Author: necolas
Created: 2012-02-14 14:16:53+00:00
State: open

I'm experiencing a hard crash running Modernizr 2.5.2 in IE8 under these circumstances:

1. Include styles before Modernizr (as recommended)
2. Include a background image on the body
3. Include Modernizr with a test like "generated content".

Reduced test case: http://jsbin.com/etoget

That test case includes a build of Modernizr containing just the generated content test as an example of the type of test that crashes IE8 - not all tests do; I think only those that involve style/dom injection.

Thanks