From de75b3cc626829c3478a8a6d59dddc948d348b41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Thu, 13 Feb 2014 15:57:27 -0800 Subject: [PATCH] Css: Don't check fill-opacity in Android 2.3, it's not supported --- test/unit/css.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/unit/css.js b/test/unit/css.js index 8747ca9dc..67bd332a4 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -776,7 +776,12 @@ test("Do not append px (#9548, #12990)", function() { var $div = jQuery("
").appendTo("#qunit-fixture"); $div.css( "fill-opacity", 1 ); - equal( $div.css("fill-opacity"), 1, "Do not append px to 'fill-opacity'" ); + // Support: Android 2.3 (no support for fill-opacity) + if ( $div.css( "fill-opacity" ) ) { + equal( $div.css( "fill-opacity" ), 1, "Do not append px to 'fill-opacity'" ); + } else { + ok( true, "No support for fill-opacity CSS property" ); + } $div.css( "column-count", 1 ); if ( $div.css("column-count") ) { -- 2.39.5