mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
fixup! CSS: Drop the cache in finalPropName
This commit is contained in:
parent
0aedc9d59f
commit
e2e0538404
@ -1705,7 +1705,7 @@ QUnit.test( "Do not throw on frame elements from css method (trac-15098)", funct
|
||||
( function() {
|
||||
var vendorPrefixes = [ "Webkit", "Moz", "ms" ];
|
||||
|
||||
QUnit.test( "Don't default to a cached previously used wrong prefixed name (gh-2015)", function( assert ) {
|
||||
QUnit.test( "Don't default to a previously used wrong prefixed name (gh-2015)", function( assert ) {
|
||||
|
||||
// Note: this test needs a property we know is only supported in a prefixed version
|
||||
// by at least one of our main supported browsers. This may get out of date so let's
|
||||
@ -1761,7 +1761,7 @@ QUnit.test( "Do not throw on frame elements from css method (trac-15098)", funct
|
||||
|
||||
} )();
|
||||
|
||||
QUnit.test( "Don't detect fake set properties on a node when caching the prefixed version", function( assert ) {
|
||||
QUnit.test( "Don't update existing unsupported prefixed properties", function( assert ) {
|
||||
assert.expect( 1 );
|
||||
|
||||
var elem = jQuery( "<div></div>" ),
|
||||
@ -1769,7 +1769,7 @@ QUnit.test( "Don't detect fake set properties on a node when caching the prefixe
|
||||
style.MozFakeProperty = "old value";
|
||||
elem.css( "fakeProperty", "new value" );
|
||||
|
||||
assert.equal( style.MozFakeProperty, "old value", "Fake prefixed property is not cached" );
|
||||
assert.equal( style.MozFakeProperty, "old value", "Fake prefixed property is not set" );
|
||||
} );
|
||||
|
||||
QUnit.test( "Don't set fake prefixed properties when a regular one is missing", function( assert ) {
|
||||
|
Loading…
Reference in New Issue
Block a user