aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/testsuite.css
diff options
context:
space:
mode:
authorDavid Serduke <davidserduke@gmail.com>2007-11-30 21:36:49 +0000
committerDavid Serduke <davidserduke@gmail.com>2007-11-30 21:36:49 +0000
commit5039a4bc5b951b9d28659f6f42f73c59e2e560fc (patch)
tree3ff4a38cfe5ffae14bd345d8b3eeb9dc6d13ccea /test/data/testsuite.css
parent37902e86b158eaa90f44d0932063d22df3050326 (diff)
downloadjquery-5039a4bc5b951b9d28659f6f42f73c59e2e560fc.tar.gz
jquery-5039a4bc5b951b9d28659f6f42f73c59e2e560fc.zip
Added enchancement for #1994 by adding two parameters to .stop() which give additional functionality. The first parameter clearQueue will clear the queue on the necessary DOM elements so all animation will stop. The second parameter will cause the currently playing animation to immediately complete including reseting original styles on show and hide and calling the callback function. If no parameters are passed it will work as it always did.
While adding unit testing I noticed the stop() unit test wasn't working correctly because the element was hidden so I fixed it and added more unit tests around the new functionality. I also added a cursor:pointer to the css (because for a long time I didn't know they were clickable).
Diffstat (limited to 'test/data/testsuite.css')
-rw-r--r--test/data/testsuite.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/data/testsuite.css b/test/data/testsuite.css
index b9d487bc4..b15f5ef7f 100644
--- a/test/data/testsuite.css
+++ b/test/data/testsuite.css
@@ -11,6 +11,8 @@ p.result { margin-left: 1em; }
h2.pass { background-color: green; }
h2.fail { background-color: red; }
+ol#tests > li > strong { cursor:pointer; }
+
div#fx-tests h4 {
background: red;
}