tmpvar/jsdom — Issue #374: HTMLSelectElement.type is 'select'. Expected: 'select-one' or 'select-multiple'.
Author: andrewpmckenzie
Created: 2011-12-16 02:18:29+00:00
State: open

Running:

```javascript

require('jsdom').env({
// two radio buttons, first is checked
html: "
one",
scripts: [ 'http://code.jquery.com/jquery-1.6.2.min.js' ],
done: function(errors, window) {
var $ = window.$;
console.log('multiple: ', $('select')[0].multiple);
console.log('type: ', $('select')[0].type);
console.log('jQuery value: ', $('select').val());
}
});

```

Produces:

```
type: select
multiple: false
jQuery value: [ 'one' ]
```

Expected:

```
type: select-one
multiple: false
jQuery value: 'one'
```

Refer:
http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58783172