aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Phoenix <jack@countervandalism.net>2014-03-19 01:47:10 +0200
committerJack Phoenix <jack@countervandalism.net>2014-03-19 20:16:22 +0200
commitf9361ec282a0efd1dd387b5f94a7ed7a6ab120f3 (patch)
tree326a9e3c3fb0def7c9ff5e50eb6dc7956a8e05bf
parente5b73522033eb427d827fd9051a93955da20bed0 (diff)
downloadmediawikicore-f9361ec282a0efd1dd387b5f94a7ed7a6ab120f3.tar.gz
mediawikicore-f9361ec282a0efd1dd387b5f94a7ed7a6ab120f3.zip
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
-rw-r--r--skins/monobook/IE60Fixes.css10
-rw-r--r--skins/monobook/main.css56
2 files changed, 17 insertions, 49 deletions
diff --git a/skins/monobook/IE60Fixes.css b/skins/monobook/IE60Fixes.css
index 534d333389e9..f3e4100261ab 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 6d3765783094..4326496a1b26 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;