cornelism / css3-mediaqueries-js

Automatically exported from code.google.com/p/css3-mediaqueries-js
1 stars 0 forks source link

Crash occurs when loaded in an iframe in IE9 #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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...

Original issue reported on code.google.com by chad.m.c...@gmail.com on 25 Mar 2011 at 6:22

GoogleCodeExporter commented 8 years ago
@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

Original comment by shu...@gmail.com on 2 Apr 2011 at 12:57

GoogleCodeExporter commented 8 years ago
Line 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)  

Original comment by dlaver...@googlemail.com on 18 Apr 2011 at 2:13

GoogleCodeExporter commented 8 years ago
how 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.

Original comment by gav...@gmail.com on 20 May 2011 at 6:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Back 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?

Original comment by wou...@dynora.nl on 4 Apr 2014 at 11:46