aFarkas / html5shiv

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.
http://paulirish.com/2011/the-history-of-the-html5-shiv/
9.89k stars 2.56k forks source link

Unroll perf tweak for `document.createDocumentFragment`. #48

Closed jdalton closed 12 years ago

jdalton commented 12 years ago

Unroll perf tweak for document.createDocumentFragment.

jdalton commented 12 years ago

This will no longer shiv the non standard frag.createElement() method.

jdalton commented 12 years ago

Perf tests: http://jsperf.com/html5shiv-native-createelement#chart=bar