diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2013-01-02 17:47:30 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-01-03 20:52:31 -0500 |
commit | 3d9edb32bc4abfb33a4029edab80099e1bfdaedc (patch) | |
tree | 3dec15a94273c13a93300b03b0522a7b4282dab2 /src/support.js | |
parent | 445dbd9d95e2df2f3cb454cb20ba3ae7a84e7eaf (diff) | |
download | jquery-3d9edb32bc4abfb33a4029edab80099e1bfdaedc.tar.gz jquery-3d9edb32bc4abfb33a4029edab80099e1bfdaedc.zip |
Remove stranded support.js checks for oldIE.
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/support.js b/src/support.js index ceb3ddc84..68aed661d 100644 --- a/src/support.js +++ b/src/support.js @@ -21,25 +21,6 @@ jQuery.support = (function() { 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", - - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: div.firstChild.nodeType === 3, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.5/.test( a.style.opacity ), - // Verify style float existence // (IE uses styleFloat instead of cssFloat) cssFloat: !!a.style.cssFloat, @@ -51,10 +32,6 @@ jQuery.support = (function() { // Support: IE9, IE10 optSelected: opt.selected, - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>", - // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode boxModel: document.compatMode === "CSS1Compat", |