diff options
author | David Serduke <davidserduke@gmail.com> | 2007-11-16 23:39:23 +0000 |
---|---|---|
committer | David Serduke <davidserduke@gmail.com> | 2007-11-16 23:39:23 +0000 |
commit | e2ef3df86d5f54274bf2b779d882c30aa0886bfe (patch) | |
tree | 7613d7efe66c2ba32366deb64c3d3a96edcf1951 /test/unit/selector.js | |
parent | b9371a6ca4b756c4b4266a08336e80f715b66ad3 (diff) | |
download | jquery-e2ef3df86d5f54274bf2b779d882c30aa0886bfe.tar.gz jquery-e2ef3df86d5f54274bf2b779d882c30aa0886bfe.zip |
Fixed #1095 bug where radio buttons became unchecked during show(). Also added unit test and had to fix a selector test that was broken by the new testing div in test/index.html. Last made some whitespace changes.
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r-- | test/unit/selector.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js index 2c80d796c..3c0c6761d 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -59,8 +59,8 @@ test("id", function() { t( "Child escaped ID", "form > #foo\\:bar", ["foo:bar"] ); t( "Child escaped ID", "form > #test\\.foo\\[5\\]bar", ["test.foo[5]bar"] ); - t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] ); // bug #267 - t( "ID Selector, not an ancestor ID", "#form #first", [] ); + t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] ); // bug #267 + t( "ID Selector, not an ancestor ID", "#form #first", [] ); t( "ID Selector, not a child ID", "#form > #option1a", [] ); t( "All Children of ID", "#foo > *", ["sndp", "en", "sap"] ); @@ -193,7 +193,7 @@ test("pseudo (:) selectors", function() { t( "Selected Option Element", "#form option:selected", ["option1a","option2d","option3b","option3c"] ); t( "Text Contains", "a:contains('Google')", ["google","groups"] ); t( "Text Contains", "a:contains('Google Groups')", ["groups"] ); - t( "Element Preceded By", "p ~ div", ["foo","fx-queue","fx-tests"] ); + t( "Element Preceded By", "p ~ div", ["foo","fx-queue","fx-tests", "moretests"] ); t( "Not", "a.blog:not(.link)", ["mark"] ); t( "nth Element", "p:nth(1)", ["ap"] ); |