mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Effects: Don't check fill-opacity in Android 2.3, it's not supported
This commit is contained in:
parent
6d2ab64df7
commit
70ac4485f3
7
test/unit/effects.js
vendored
7
test/unit/effects.js
vendored
@ -1357,7 +1357,12 @@ test("Do not append px to 'fill-opacity' #9548", 1, function() {
|
|||||||
var $div = jQuery("<div>").appendTo("#qunit-fixture");
|
var $div = jQuery("<div>").appendTo("#qunit-fixture");
|
||||||
|
|
||||||
$div.css("fill-opacity", 0).animate({ "fill-opacity": 1.0 }, 0, function () {
|
$div.css("fill-opacity", 0).animate({ "fill-opacity": 1.0 }, 0, function () {
|
||||||
equal( jQuery(this).css("fill-opacity"), 1, "Do not append px to 'fill-opacity'");
|
// Support: Android 2.3 (no support for fill-opacity)
|
||||||
|
if ( jQuery( this ).css( "fill-opacity" ) ) {
|
||||||
|
equal( jQuery( this ).css( "fill-opacity" ), 1, "Do not append px to 'fill-opacity'" );
|
||||||
|
} else {
|
||||||
|
ok( true, "No support for fill-opacity CSS property" );
|
||||||
|
}
|
||||||
$div.remove();
|
$div.remove();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user