edusis / ie7-js

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

All style tags after the first 30 style tags on an HTML page are not applied. #85

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a page that includes >30 style-sheets
2. Also apply IE7.js/IE8.js
3. Run it. IE6 and IE7 will both return JS-error.

What is the expected output? What do you see instead?
Both browsers return : "Invalid Argument" error instead of running the JS
on line 932 (this.styleSheet = document.createStyleSheet();). 

This may not be anything you can fix as it is a known IE bug/shortcoming.
But a work-around would be nice.

According to http://support.microsoft.com/kb/262161 this bug only applies
up to IE6, but I have found it applies to IE7.0.5730.13 as well (at least
when using the IE7-2.0b3 script). 

Original issue reported on code.google.com by Coertvan...@gmail.com on 4 Jun 2008 at 5:08

GoogleCodeExporter commented 8 years ago
This is an MSIE bug that I was unaware of. document.createStyleSheet() throws 
an error 
if there are already 30 style sheets.

I've fixed this in the forthcoming 2.1 release.

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 11:19

GoogleCodeExporter commented 8 years ago
Issue 156 has been merged into this issue.

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 11:20

GoogleCodeExporter commented 8 years ago
I observed this issue in "Windows XP Profressional" version 7.0 being run 
inside VirtualBox machine.

Thanks,
K Chandrasekhar Omkar,
kcomkar@gmail.com
Open ID: https://kcomkar.pip.verisignlabs.com/
Blog: http://omkarkc.blogspot.com/

Original comment by kcomkar on 2 Feb 2014 at 4:53