mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove oldIE styleFloat detect.
This commit is contained in:
parent
cef3450228
commit
9a32f12bdf
@ -172,7 +172,7 @@ jQuery.extend({
|
|||||||
// setting or getting the value
|
// setting or getting the value
|
||||||
cssProps: {
|
cssProps: {
|
||||||
// normalize float css property
|
// normalize float css property
|
||||||
"float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat"
|
"float": "cssFloat"
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get and set the style property on a DOM Node
|
// Get and set the style property on a DOM Node
|
||||||
|
@ -21,10 +21,6 @@ jQuery.support = (function() {
|
|||||||
|
|
||||||
a.style.cssText = "float:left;opacity:.5";
|
a.style.cssText = "float:left;opacity:.5";
|
||||||
support = {
|
support = {
|
||||||
// Verify style float existence
|
|
||||||
// (IE uses styleFloat instead of cssFloat)
|
|
||||||
cssFloat: !!a.style.cssFloat,
|
|
||||||
|
|
||||||
// Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
|
// Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
|
||||||
checkOn: !!input.value,
|
checkOn: !!input.value,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user