What steps will reproduce the problem? 1. Loading the mediaqueries js in an iframe in IE9 will send the browser into a loop and crash it.
What is the expected output? What do you see instead? No crash. Saw a crash.
What version of the product are you using? On what operating system? IE9 on windows with the latest version of css3-mediaqueries.js (as of 3/25/11)
Please provide any additional information below. IE9 is out and it still sucks...
Comment #1
Posted on Apr 2, 2011 by Quick Hippo@Chad, why don't you try conditionally loading it for only the browsers that need it?
I use conditional comments to automatically load it for IE8 and below, and then i use yepnope.js + Modernizr to load it for any non-ie/non-mediaquery-supporting browsers.
IE9 doesn't need it and you'll be saving the bandwidth and load times of your visitors
Comment #2
Posted on Apr 18, 2011 by Helpful RabbitLine 747 reads: _57.style.marginLeft="-32767px"; This was the cause of the problems we encountered as for IE9 the marginLeft is never reset to "" (function in Timeout on line 760 doesn't work)
Comment #3
Posted on May 20, 2011 by Happy Rabbithow do you use modernizr for this? i dont see them testing for media queries in the features.. also i see that beta 2.0 includes yepnope and can be customized.
Comment #4
Posted on Aug 21, 2013 by Happy DogComment deleted
Comment #5
Posted on Apr 4, 2014 by Happy OxBack from the dead... There is a new version of the script. It has some CSS parsing and processing improvements. If you're still using it, or would like to try again, could you confirm that this issue is solved or not?
Status: New
Labels:
Type-Defect
Priority-Medium