quizzing all y'all DOM experts: given a document, is it possible to get a list of all tag names supported by document.createElement?
-
-
Replying to @jedschmidt
@jedschmidt I have no clue how to do it in a browser-agnostic way for non-custom elements only.1 reply 0 retweets 2 likes -
Replying to @mathias
@mathias@jedschmidt the crazy thing is that you can stick any string into document.createElement and it will create an element w that name3 replies 0 retweets 0 likes -
Replying to @bluesmoon
@bluesmoon@mathias@jedschmidt correction, any string that is syntactically correct for an element name.1 reply 0 retweets 0 likes
Replying to @bluesmoon
Mathias Bynens Retweeted Mathias Bynens
@bluesmoon Then we’re in agreement :)https://twitter.com/mathias/status/694628483931226112 …
Mathias Bynens added,
1:14 PM - 2 Feb 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.