aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2012-12-17 18:17:45 -0500
committerRick Waldron <waldron.rick@gmail.com>2012-12-31 13:21:47 -0500
commitd96fa37666ddd9b24a077bfccb6a9a532daea23c (patch)
tree99c7e0751f418ede0358996922c647c3e450c47d /src/support.js
parentccf7abafa6843e70fb71f458cea5d5567cb5984d (diff)
downloadjquery-d96fa37666ddd9b24a077bfccb6a9a532daea23c.tar.gz
jquery-d96fa37666ddd9b24a077bfccb6a9a532daea23c.zip
2.0: Remove style->cssText attroproties fallback
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/support.js b/src/support.js
index d1a8d3d38..4c4b6ea77 100644
--- a/src/support.js
+++ b/src/support.js
@@ -19,7 +19,7 @@ jQuery.support = (function() {
opt = select.appendChild( document.createElement("option") );
input = div.getElementsByTagName("input")[ 0 ];
- a.style.cssText = "top:1px;float:left;opacity:.5";
+ a.style.cssText = "float:left;opacity:.5";
support = {
// Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
getSetAttribute: div.className !== "t",
@@ -35,10 +35,6 @@ jQuery.support = (function() {
// This requires a wrapper element in IE
htmlSerialize: !!div.getElementsByTagName("link").length,
- // Get the style information from getAttribute
- // (IE uses .cssText instead)
- style: /top/.test( a.getAttribute("style") ),
-
// Make sure that URLs aren't manipulated
// (IE normalizes it by default)
hrefNormalized: a.getAttribute("href") === "/a",