From f9361ec282a0efd1dd387b5f94a7ed7a6ab120f3 Mon Sep 17 00:00:00 2001 From: Jack Phoenix Date: Wed, 19 Mar 2014 01:47:10 +0200 Subject: [PATCH] Get rid of Internet Explorer for Mac fixes in Monobook's main.css. Wikipedia says that IEMac's initial release was 17 years ago and final release 10 years ago. IEMacFixes.css, which was basically unmaintained after r2909 (which was done to ensure HTML validation compliance), was deleted in r61787. Moved some rules which apparently still apply to IE6 to IE6Fixes.css, as per code review. These fixes were originally added in the following revisions (incomplete list): * r2909 * r3165 * r3181 * r3658 * r3765 Change-Id: I2352be07964060bc5ed7b3bd82007755b3168654 --- skins/monobook/IE60Fixes.css | 10 +++++++ skins/monobook/main.css | 56 +++++------------------------------- 2 files changed, 17 insertions(+), 49 deletions(-) diff --git a/skins/monobook/IE60Fixes.css b/skins/monobook/IE60Fixes.css index 534d333389..f3e4100261 100644 --- a/skins/monobook/IE60Fixes.css +++ b/skins/monobook/IE60Fixes.css @@ -36,6 +36,16 @@ div#footer { border-right: 1px solid #fabd23; } +/* float/negative margin brokenness */ +* html div#footer { + margin-top: 0; +} + +* html div#column-content { + display: inline; + margin-bottom: 0; +} + /* the tabs */ #p-cactions { diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 6d37657830..4326496a1b 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -660,59 +660,17 @@ td.htmlform-tip { font-weight: bold; } -/* -** IE/Mac fixes, hope to find a validating way to move this -** to a separate stylesheet. This would work but doesn't validate: -** @import("IEMacFixes.css"); -*/ -/* tabs: border on the a, not the div */ -* > html #p-cactions li { - border: none; -} -* > html #p-cactions li a { - border: 1px solid #aaa; - border-bottom: none; -} -* > html #p-cactions li.selected a { - border-color: #fabd23; -} -/* footer icons need a fixed width */ -* > html #f-poweredbyico, -* > html #f-copyrightico { - width: 88px; -} -* > html #bodyContent, -* > html #bodyContent pre { - overflow-x: auto; - width: 100%; - padding-bottom: 25px; -} - -/* more IE fixes */ -/* float/negative margin brokenness */ -* html div#footer { - margin-top: 0; -} -* html div#column-content { - display: inline; - margin-bottom: 0; -} +/** + * This was originally added by Gabriel Wicke in r3681 (committed on 25 May 2004) + * with the commit message "tweaks to page history". + * Unlike the other IE/Mac fixes that used to be present here, this seems to get + * applied on more modern browsers, so let's keep it here until someone has the + * time to properly test it out. + */ #pagehistory li.selected { position: relative; } -/* Mac IE 5.0 fix; floated content turns invisible */ -* > html div#column-content { - float: none; -} -* > html div#column-one { - position: absolute; - left: 0; - top: 0; -} -* > html div#footer { - margin-left: 13.2em; -} .redirectText { font-size: 150%; margin: 5px; -- 2.20.1