Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for IE 9 #17

Open
mcorlan opened this issue Nov 21, 2012 · 7 comments
Open

Adding support for IE 9 #17

mcorlan opened this issue Nov 21, 2012 · 7 comments
Assignees
Labels

Comments

@mcorlan
Copy link
Contributor

mcorlan commented Nov 21, 2012

document.querySelector("style") throws an error on IE 9. querySelector() should be supported and yet there is an error. Could be related to missing DOCTYPE declaration:

http://msdn.microsoft.com/en-us/library/ie/cc288169(v=vs.85).aspx

@ghost ghost assigned oslego Nov 21, 2012
@mcorlan
Copy link
Contributor Author

mcorlan commented Jan 15, 2013

There is a second issue with this JavaScript syntax:

stylesheets.forEach(function(sheet){
// Parse the stylesheet for rules
parser.parse(sheet.cssText);
})

IE 9 throws an error when is executed:

Script438: Object doesn't support property or method 'foreach'

@oslego
Copy link
Member

oslego commented Jan 16, 2013

Polyfills for obvious Array functions added in d0fa844

Not sure how to handle the querySelector issue at this point. I'd be in favor of avoiding to support a browser that doesn't implement that. It's generally a sign that other stuff might fail as well. The safer alternative would be to rewrite the polyfill as a framework plugin (ex jQuery) and piggyback on utilities there.

@mcorlan
Copy link
Contributor Author

mcorlan commented Jan 17, 2013

Let's leave browsers without querySelector support out at least for now!

@cataling
Copy link
Contributor

If it's about IE9, I wouldn't leave it out. Ok to leave out IE7 and 8.

@ghost ghost assigned oslego Jan 23, 2013
@raphaelgoetter
Copy link

Hello,

Today, the Internet Explorer support is :

  • critical bug on IE9-IE10-IE11
  • everything OK on Edge

For now, the official announced support is :

  • iOS 4+
  • Android 4+
  • Firefox
  • Google Chrome
  • Safari 5+
  • Opera

Source : http://webplatform.adobe.com/css-regions-polyfill/

Are there plans to fix the bugs on IE9-11 ?

@oslego
Copy link
Member

oslego commented May 18, 2016

@raphaelgoetter There are no active plans to maintain this project.

This polyfill was supposed to be a stop-gap solution until native CSS Regions support caught up. With the removal of CSS Regions from Chrome, adoption has stalled.

@raphaelgoetter
Copy link

That makes sense. Thank you for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants