https://github.com/aFarkas/html5shiv
html5shiv会悄悄的替换document.createElement
and document.createDocumentFragment
for IE6-8,使IE6-8使用document.createElement就能创建html5而不自觉。
它也能为这些浏览器的组件加上html5样式。
- This includes the basic
createElement()
shiv technique, along with monkeypatches fordocument.createElement
anddocument.createDocumentFragment
for IE6-8. It also applies basic styling for HTML5 elements for IE6-9, Safari 4.x and FF 3.x.