Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upRuntime exception on invalid (type_ "xyz") attribute #106
Comments
evancz
added
the
meta
label
Jul 7, 2017
elm
locked and limited conversation to collaborators
Jul 7, 2017
elm
deleted a comment from
process-bot
Jul 7, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
evancz commentedJul 7, 2017
•
edited
Edited 1 time
-
evancz
edited Jul 7, 2017 (most recent)
Folks have reported that they can get runtime exceptions if thy add
type_attributes that are not in the spec or are not supported on certain browsers. Reports include:select [ type_ "checkbox" ] []which is not in the spec - #10textarea [ type_ "text" ] []which is not in the spec - https://github.com/elm-lang/html/issues/82input [ type_ "date" ] []has problems in IE - #72A very thorough suggestion has been made in #87 that would switch these crashes into silent failures. It is unclear if that is better behavior though.