- // by james a rosen.
- // https://github.com/Modernizr/Modernizr/issues/258
- Modernizr.addTest('createelement-attrs', function() {
- try {
- return document.createElement("<input name='test' />").getAttribute('name') == 'test';
- } catch(e) {
- return false;
- }
- });
|