diff options
Diffstat (limited to 'rt/share/html/NoAuth/js/IE7/ie7-squish.js')
-rw-r--r-- | rt/share/html/NoAuth/js/IE7/ie7-squish.js | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/rt/share/html/NoAuth/js/IE7/ie7-squish.js b/rt/share/html/NoAuth/js/IE7/ie7-squish.js deleted file mode 100644 index 71128f550..000000000 --- a/rt/share/html/NoAuth/js/IE7/ie7-squish.js +++ /dev/null @@ -1,36 +0,0 @@ -/* IE7/IE8.js - copyright 2004-2008, Dean Edwards */ -/* --------------------------------------------------------------------- - - Squish some IE bugs! - - Some of these bug fixes may have adverse effects so they are - not included in the standard library. Add your own if you want. - ---------------------------------------------------------------------- */ - -// @NOTE: ie7Layout.boxSizing is the same as the "Holly Hack" - -if (IE7.loaded && IE7.appVersion < 7) { - - // "doubled margin" bug - // http://www.positioniseverything.net/explorer/doubled-margin.html - IE7.CSS.addFix(/(float\s*:\s*(left|right))/, "display:inline;$1"); - - // "peekaboo" bug - // http://www.positioniseverything.net/explorer/peekaboo.html - if (IE7.appVersion >= 6) IE7.CSS.addRecalc("float", "(left|right)", function(element) { - IE7.Layout.boxSizing(element.parentElement); // assing "hasLayout" to parent element - // "doubled margin" bug - element.style.display = "inline"; - }); - - // "unscrollable content" bug - // http://www.positioniseverything.net/explorer/unscrollable.html - IE7.CSS.addRecalc("position", "absolute|fixed", function(element) { - if (element.offsetParent && element.offsetParent.currentStyle.position == "relative") - IE7.Layout.boxSizing(element.offsetParent); // assing "hasLayout" - }); -} - -//# // get rid of Microsoft's pesky image toolbar -//# document.write('<meta http-equiv="imagetoolbar" content="no">'); |