diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-07 22:01:10 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-07 22:01:10 -0400 |
commit | 18b1cf2942cc082c1c97a2ac9bc33ad77f42d775 (patch) | |
tree | 6e573b7cfeda188cb0e27205254b9cbd2c955086 /test | |
parent | 90f37aaf7aa7c6da96ab15488b63b2eb45a2e799 (diff) | |
download | jquery-18b1cf2942cc082c1c97a2ac9bc33ad77f42d775.tar.gz jquery-18b1cf2942cc082c1c97a2ac9bc33ad77f42d775.zip |
Remove value check from formHook; other elements can use value hook
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/attributes.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 37e93d0a1..ce7775d1d 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -144,7 +144,7 @@ test("attr(Hash)", function() { }); test("attr(String, Object)", function() { - expect(58); + expect(59); var div = jQuery("div").attr("foo", "bar"), fail = false; @@ -244,6 +244,8 @@ test("attr(String, Object)", function() { table.attr("cellspacing", "2"); equals( table[0].cellSpacing, "2", "Check cellspacing is correctly set" ); + equals( jQuery("#area1").attr("value"), undefined, "Value attribute retrieved correctly on textarea." ); + // for #1070 jQuery("#name").attr("someAttr", "0"); equals( jQuery("#name").attr("someAttr"), "0", "Set attribute to a string of \"0\"" ); |