Skip to content

Commit

Permalink
Comment on revert of potential fix to madrobby#870.
Browse files Browse the repository at this point in the history
  • Loading branch information
madrobby committed Dec 1, 2013
1 parent bbc6bb8 commit 0c2b0da
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/zepto.html
Original file line number Diff line number Diff line change
Expand Up @@ -1844,8 +1844,13 @@ <h1>Zepto DOM unit tests</h1>
$('<select multiple><option selected>1</option><option value=2 selected="selected">a</option><option>3</option></select>')
t.assertEqualCollection(['1','2'], multiple.val())

// FIXME
// This is the "approved" way of de-selecting an option
// Unfortunately, this fails on Chrome 29 for Android
multiple.find('option')[0].selected = false
t.assertEqualCollection(['2'], multiple.val())

t.assertEqualCollection(['2'], multiple.val(),
"Expected val() to reflect changes to selected options in a <select multiple> element")
},

testChaining: function(t){
Expand Down

0 comments on commit 0c2b0da

Please sign in to comment.