diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2012-12-17 18:17:45 -0500 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-12-31 13:21:47 -0500 |
commit | d96fa37666ddd9b24a077bfccb6a9a532daea23c (patch) | |
tree | 99c7e0751f418ede0358996922c647c3e450c47d /src/support.js | |
parent | ccf7abafa6843e70fb71f458cea5d5567cb5984d (diff) | |
download | jquery-d96fa37666ddd9b24a077bfccb6a9a532daea23c.tar.gz jquery-d96fa37666ddd9b24a077bfccb6a9a532daea23c.zip |
2.0: Remove style->cssText attroproties fallback
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 6 |
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", |