aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/css.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-02-13 16:01:09 -0800
committerMichał Gołębiowski <m.goleb@gmail.com>2014-02-13 16:01:09 -0800
commita0677d54a6c1557d8b176e58a2bc45b396fe7889 (patch)
tree15345c608ca75bac8a8e15c67ab7bbed336b3af2 /test/unit/css.js
parent81b89fd227be2a59db0579ffc93ddbbc19d14dc9 (diff)
downloadjquery-a0677d54a6c1557d8b176e58a2bc45b396fe7889.tar.gz
jquery-a0677d54a6c1557d8b176e58a2bc45b396fe7889.zip
Css: Don't check fill-opacity in Android 2.3, it's not supported
(cherry-picked from de75b3cc626829c3478a8a6d59dddc948d348b41)
Diffstat (limited to 'test/unit/css.js')
-rw-r--r--test/unit/css.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/unit/css.js b/test/unit/css.js
index f401ec7e3..2209f1a40 100644
--- a/test/unit/css.js
+++ b/test/unit/css.js
@@ -834,7 +834,12 @@ test("Do not append px (#9548, #12990)", function() {
var $div = jQuery("<div>").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") ) {