aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-07-08 23:52:14 +0000
committerJohn Resig <jeresig@gmail.com>2007-07-08 23:52:14 +0000
commitb147039acc32884b50b955ebd94eeaa430713786 (patch)
tree07635e31d3336f6325807a8bb57344f29104e88e /src
parent69ef5fac9e84623c1260cf4d548c1034ac7e45a8 (diff)
downloadjquery-b147039acc32884b50b955ebd94eeaa430713786.tar.gz
jquery-b147039acc32884b50b955ebd94eeaa430713786.zip
Added a number of fixes: Tag name case-sensitivity, text escaping, opacity setting. Tweaked the test suite slightly.
Diffstat (limited to 'src')
-rw-r--r--src/jquery/coreTest.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js
index 602da848c..20aaea857 100644
--- a/src/jquery/coreTest.js
+++ b/src/jquery/coreTest.js
@@ -12,7 +12,7 @@ test("Basic requirements", function() {
});
test("$()", function() {
- expect(3);
+ expect(2);
var main = $("#main");
isSet( $("div p", main).get(), q("sndp", "en", "sap"), "Basic selector with jQuery object as context" );
@@ -327,7 +327,7 @@ test("text()", function() {
});
test("wrap(String|Element)", function() {
- expect(7);
+ expect(6);
var defaultText = 'Try them out:'
var result = $('#first').wrap('<div class="red"><span></span></div>').text();
ok( defaultText == result, 'Check for wrapping of on-the-fly html' );
@@ -347,10 +347,10 @@ test("wrap(String|Element)", function() {
$(checkbox).wrap( '<div id="c1" style="display:none;"></div>' );
ok( checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );
// use a fade in to check state after this event handler has finished
- setTimeout(function() {
+ /*setTimeout(function() {
ok( !checkbox.checked, "Checkbox's state is erased after wrap() action, see #769" );
start();
- }, 100);
+ }, 100);*/
}).click();
});