diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-02-13 16:12:06 -0800 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-02-13 16:12:06 -0800 |
commit | 70ac4485f30633074696fa28ca29b0325459f228 (patch) | |
tree | b14d94607938f81d3800039a9f6a9975007043d0 /test | |
parent | 6d2ab64df7bdda087e79deaa53db969fa6f2cd92 (diff) | |
download | jquery-70ac4485f30633074696fa28ca29b0325459f228.tar.gz jquery-70ac4485f30633074696fa28ca29b0325459f228.zip |
Effects: Don't check fill-opacity in Android 2.3, it's not supported
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/effects.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index ba63a3b00..0762361cb 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -1357,7 +1357,12 @@ test("Do not append px to 'fill-opacity' #9548", 1, function() { var $div = jQuery("<div>").appendTo("#qunit-fixture"); $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(); }); }); |