mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
Leave the opacity test unanchored in case of floating point rounding browser errors; small fix in queue tests. Fixes #5145.
This commit is contained in:
parent
6c4ca13d69
commit
a18645c6f8
@ -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)
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user