-
Notifications
You must be signed in to change notification settings - Fork 78
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
Elm uses invalid value in domNode.insertBefore
#161
Comments
Exact files used (just new project with elm.json.txt ps. I don't have access to IE 10 for long enough to create better minimal example. |
Testing with Firefox 68.2.0esr shows that just before the for-loop (So invalid value of |
I'm also running into this issue where some implementations will prepend an element to the |
This Elm bug is seen when compiling (with
--debug
and Elm 0.19.1) the default counter-example of Ellie locally, and then running it with IE 10. IE 10 gives error "Invalid argument" at main.js, line 3710, character 5The error happens on
domNode.insertBefore
line in following code:Changing that line to following fixes this error:
This confirms that Elm is using invalid value of
theEnd
, because only valid node ornull
is allowed there. So this is not a bug in IE 10, but a bug in Elm which is just seen in IE 10.MDN documentation of
insertBefore
says:The text was updated successfully, but these errors were encountered: