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

Hello world example having an error with IE7 #62

Closed
noypi opened this issue Dec 11, 2012 · 4 comments
Closed

Hello world example having an error with IE7 #62

noypi opened this issue Dec 11, 2012 · 4 comments

Comments

@noypi
Copy link

noypi commented Dec 11, 2012

browser version: 7.0.5730.13CO

Maybe because of window.getComputedStyle, called after Value.getTextSize().

This is the workaround.
http://snipplr.com/view/13523/

@noypi
Copy link
Author

noypi commented Dec 11, 2012

here are more properties of the window object that are 'undefined' in IE7 (same version as above):

  • innerWidth
  • innerHeight
  • JSON
  • console

have scanned them using:

  • grep "window.[a-zA-Z]+" * -r -Po -h

and tested it in the HTML document generated by ELM.

@evancz
Copy link
Member

evancz commented Dec 11, 2012

I have not made a conscious effort to support IE before IE9 because (1) Elm needs some HTML5 features to work fully and (2) I have to pick my battles wisely to get the most benefit to Elm out of my time. Do other parts of the site work in IE7? And do you think the fixes you suggest would address all of the issues that would come up?

@noypi
Copy link
Author

noypi commented Dec 12, 2012

  1. ok
  2. right
    I really don't know, knowing it needs some HTML5 features -- then... I can live without IE7 anyways, It was just the first browser I tested Elm. I really like the idea of Elm, thank you for sharing it.

@evancz
Copy link
Member

evancz commented Dec 12, 2012

I think IE7 and 8 will be a low priority for the foreseeable future. Please tell me if you have any other issues! I'm happy to help, and I hope you enjoy using Elm!

@evancz evancz closed this as completed Jan 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants