Permalink
Browse files

Changed HTMLSelectElement implementation of type from 'select' to 'se…

…lect-one'
  • Loading branch information...
1 parent e422677 commit e9414764dabe83e58a950470a407ac23eae978bf John Roberts committed Apr 20, 2012
Showing with 8 additions and 2 deletions.
  1. +2 −0 changelog
  2. +1 −1 lib/jsdom/level2/html.js
  3. +5 −1 package.json
View
@@ -1,3 +1,5 @@
+0.2.15
+ * Fix: HTMLSelectElement single selection implemented its type incorrectly as 'select' instead of 'select-one' (aomega)
0.2.14
* Fix: when serializing single tags use ' />' instead of '/>' (kapouer)
* Fix: support for contextify simulation using vm.runInContext (trodrigues)
View
@@ -710,7 +710,7 @@ define('HTMLSelectElement', {
},
get type() {
- return this.multiple ? 'select-multiple' : 'select';
+ return this.multiple ? 'select-multiple' : 'select-one';
},
add: function(opt, before) {
View
@@ -1,6 +1,6 @@
{
"name": "jsdom",
- "version": "0.2.14",
+ "version": "0.2.15",
"description": "A javascript implementation of the W3C DOM",
"keywords": [
"dom",
@@ -141,6 +141,10 @@
"name" : "Tiago Rodrigues",
"email" : "tmcrodrigues@gmail.com",
"web" : "http://trodrigues.net"
+ },
+ {
+ "name" : "John Roberts",
+ "email" : "jroberts@logitech.com"
}
],
"bugs": {

0 comments on commit e941476

Please sign in to comment.