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 up
IE8: `document.createElement` creates HTML5 elements without HTML namespace #54
Execute in IE8:
n = document.createElement('nav'); console.log(n.outerHTML); // <:nav></:nav> n = document.createElement('NAV'); console.log(n.outerHTML); // <NAV></NAV>
The latter result is desirable; the former, undesirable. Further inspection shows that the former element has an empty
This seems to be an issue with calling
I tried going through the blame/history to see when this issue may have been introduced, but it seems to have been around for a while...