Permalink
Browse files

Leave the opacity test unanchored in case of floating point rounding …

…browser errors; small fix in queue tests. Fixes #5145.
  • Loading branch information...
1 parent 6c4ca13 commit a18645c6f8f5d8d84c4d47c7137683ac7b4098cc @timmywil timmywil committed Oct 12, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/support.js
  2. +2 −2 test/unit/queue.js
View
@@ -64,7 +64,7 @@ jQuery.support = (function() {
// Make sure that element opacity exists
// (IE uses filter instead)
// Use a regex to work around a WebKit issue. See #5145
- opacity: /^0.55$/.test( a.style.opacity ),
+ opacity: /^0.55/.test( a.style.opacity ),
// Verify style float existence
// (IE uses styleFloat instead of cssFloat)
View
@@ -149,8 +149,8 @@ test("delay() can be stopped", function() {
})
.dequeue( "alternate" )
- // stop( false ) will NOT clear the queue, so it should automatically dequeue the next
- .stop( false, false, "alternate" )
+ // stop( "alternate", false ) will NOT clear the queue, so it should automatically dequeue the next
+ .stop( "alternate", false, false )
// this test
.delay( 100 )

0 comments on commit a18645c

Please sign in to comment.