yuanyan/halogen

insertRule() syntax error in IE11

Opened this issue · 4 comments

tajo commented

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 commented

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

I'm also seeing this problem in PhantomJS.

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?

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