morganestes
3/18/2013 - 9:14 PM

Worst IE HTML5 shim I've ever seen. This was actually in a chunk of code delivered to me for production use.

Worst IE HTML5 shim I've ever seen. This was actually in a chunk of code delivered to me for production use.

document.createElement("article");
document.createElement("footer");
document.createElement("header");
document.createElement("section");
document.createElement("nav");
document.createElement("address");
document.createElement("abbr");
document.createElement("acronym");
document.createElement("applet");
document.createElement("area");
document.createElement("aside");
document.createElement("audio");
document.createElement("base");
document.createElement("basefont");
document.createElement("bdo");
document.createElement("big");
document.createElement("blockquote");
document.createElement("button");
document.createElement("canvas");
document.createElement("caption");
document.createElement("center");
document.createElement("cite");
document.createElement("code");
document.createElement("col");
document.createElement("colgroup");
document.createElement("command");
document.createElement("datalist");
document.createElement("dd");
document.createElement("del");

document.createElement("menu");
document.createElement("figure");
document.createElement("details");
document.createElement("dfn");
document.createElement("dir");
document.createElement("div");
document.createElement("dl");
document.createElement("dt");
document.createElement("em");
document.createElement("embed");
document.createElement("fieldset");
document.createElement("figcaption");
document.createElement("figure");
document.createElement("font");
document.createElement("form");
document.createElement("frame");


document.createElement("frameset");
document.createElement("h1");
document.createElement("h6");
document.createElement("head");
document.createElement("hgroup");
document.createElement("hr");
document.createElement("html");
document.createElement("i");
document.createElement("iframe");
document.createElement("img");
document.createElement("input");


document.createElement("ins");
document.createElement("keygen");
document.createElement("kbd");
document.createElement("label");
document.createElement("legend");
document.createElement("li");
document.createElement("link");
document.createElement("map");
document.createElement("mark");
document.createElement("menu");
document.createElement("meta");
document.createElement("meter");
document.createElement("noframes");


document.createElement("noscript");
document.createElement("object");
document.createElement("ol");
document.createElement("optgroup");
document.createElement("option");
document.createElement("output");
document.createElement("p");
document.createElement("param");
document.createElement("pre");
document.createElement("progress");
document.createElement("q");
document.createElement("rp");
document.createElement("rt");
document.createElement("ruby");


document.createElement("s");
document.createElement("samp");
document.createElement("script");
document.createElement("select");
document.createElement("small");
document.createElement("source");
document.createElement("span");
document.createElement("strike");
document.createElement("strong");
document.createElement("style");
document.createElement("sub");
document.createElement("summary");
document.createElement("sup");
document.createElement("table");
document.createElement("tbody");


document.createElement("td");
document.createElement("textarea");
document.createElement("tfoot");
document.createElement("th");
document.createElement("thead");
document.createElement("time");
document.createElement("title");
document.createElement("tr");
document.createElement("tt");
document.createElement("u");
document.createElement("ul");
document.createElement("var");
document.createElement("video");
document.createElement("wbr");
document.createElement("xmp");