Closed
Description
I'm experiencing a hard crash running Modernizr 2.5.2 in IE8 (Windows XP) under these circumstances:
- Include styles before Modernizr (as recommended)
- Include a background image on the body
- 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
Edit: Potential fix (via similar jQuery resolved-bug - http://bugs.jquery.com/ticket/9823)
Fixed example: http://jsbin.com/etoget/2/
Fixed by adding background: none
to the injected <style>
block for the fake body
Metadata
Assignees
Labels
No labels