jdalton/html5shiv — comment on commit 71b5d911723c4673b2afbcbd6f390ab649ede325
File: src/html5shiv-printshiv.js line 8
By jdalton:

Many of the elements with `type` or `name` attributes are handled by the `element.canHaveChildren` check, but those that aren't are checked by this regexp.

I purposely exclude `a` elements from this regexp because they can contain html5 elements. So to avoid naming issues devs can use the alternative syntax `document.createElement('');`.