halogen icon indicating copy to clipboard operation
halogen copied to clipboard

insertRule() syntax error in IE11

Open tajo opened this issue 9 years ago • 4 comments

Hey,

I'm getting this error in MSIE 11 / Win 8.1:

screen shot 2015-06-17 at 5 23 15 pm

I'm not sure why, because it looks Ok.

tajo avatar Jun 17 '15 15:06 tajo

I see it's a part of react-kit. On your demo website there are no errors. Weird.

tajo avatar Jun 17 '15 16:06 tajo

I'm also seeing this problem in PhantomJS.

dallonf avatar Aug 18 '15 22:08 dallonf

The same when testing :

on IE Edge  -> works 
on IE 10    -> works 
on IE 9     -> syntax Error

btw, also demo page shows errors when using IE 9.

Maybe there is way to make fallback for browsers, that does't have support?

rolandsusans avatar Aug 19 '15 16:08 rolandsusans

It's because the CSS parameter being passed into insertRule is invalid or not recognised by the browser.

badmotorfinger avatar Mar 16 '17 00:03 badmotorfinger