Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Css: Don't check fill-opacity in Android 2.3, it's not supported

  • Loading branch information...
commit de75b3cc626829c3478a8a6d59dddc948d348b41 1 parent eda283d
@mzgol mzgol authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 test/unit/css.js
View
7 test/unit/css.js
@@ -776,7 +776,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") ) {
Please sign in to comment.
Something went wrong with that request. Please try again.