]> source.dussan.org Git - jquery.git/commitdiff
CSS: Drop the float mapping from cssProps
authorMichał Gołębiowski <m.goleb@gmail.com>
Sat, 6 May 2017 18:52:07 +0000 (20:52 +0200)
committerGitHub <noreply@github.com>
Sat, 6 May 2017 18:52:07 +0000 (20:52 +0200)
Firefox 35 and newer support style.float directly.

Closes #3569

src/css.js

index 48a83404b21e0919c941e1e0bf1ba3459850f21d..24c5c7327283ed8ce9df5a744e2a2e0afc04f08b 100644 (file)
@@ -201,9 +201,7 @@ jQuery.extend( {
 
        // Add in properties whose names you wish to fix before
        // setting or getting the value
-       cssProps: {
-               "float": "cssFloat"
-       },
+       cssProps: {},
 
        // Get and set the style property on a DOM Node
        style: function( elem, name, value, extra ) {