From 48d71d0c3e53d1bb1688fc6c0593b008ced3403b Mon Sep 17 00:00:00 2001 From: ruado1987 Date: Sun, 3 Mar 2013 23:51:04 +0800 Subject: Fix #13514: Set selectedIndex to -1 when non-matching value is set on a select. Close gh-1191. --- test/unit/attributes.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test/unit') diff --git a/test/unit/attributes.js b/test/unit/attributes.js index ccd1f4a99..f0ca137e6 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -850,6 +850,22 @@ test( "val()", function() { equal( jQuery("