mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Css: Don't check fill-opacity in Android 2.3, it's not supported
(cherry-picked from de75b3cc62
)
This commit is contained in:
parent
81b89fd227
commit
a0677d54a6
@ -834,7 +834,12 @@ test("Do not append px (#9548, #12990)", function() {
|
|||||||
var $div = jQuery("<div>").appendTo("#qunit-fixture");
|
var $div = jQuery("<div>").appendTo("#qunit-fixture");
|
||||||
|
|
||||||
$div.css( "fill-opacity", 1 );
|
$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 );
|
$div.css( "column-count", 1 );
|
||||||
if ( $div.css("column-count") ) {
|
if ( $div.css("column-count") ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user