Remove KHTMLFixes.css
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 12 Jul 2009 18:36:18 +0000 (18:36 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 12 Jul 2009 18:36:18 +0000 (18:36 +0000)
This was added more than five years ago, in r3532.  It was being loaded
for WebKit as well as KHTML, and I could notice no difference in either
Chrome or Konqueror whether it was loaded or not.  It was responsible
for causing display errors with an HTML 5 doctype in WebKit.

RELEASE-NOTES
skins/common/wikibits.js
skins/monobook/KHTMLFixes.css [deleted file]

index 5dd2753..e13d13b 100644 (file)
@@ -124,6 +124,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   preprocesor level.
 * Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail 
   display for old versions of images.
+* Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
+  and was causing problems.
 
 === Bug fixes in 1.16 ===
 
index ce61ca8..10a2ad9 100644 (file)
@@ -10,8 +10,6 @@ if (webkit_match) {
        var is_safari_win = is_safari && clientPC.indexOf('windows') != -1;
        var webkit_version = parseInt(webkit_match[1]);
 }
-var is_khtml = navigator.vendor == 'KDE' ||
-       ( document.childNodes && !document.all && !navigator.taintEnabled );
 // For accesskeys; note that FF3+ is included here!
 var is_ff2 = /firefox\/[2-9]|minefield\/3/.test( clientPC );
 var is_ff2_ = /firefox\/2/.test( clientPC );
@@ -101,8 +99,6 @@ if (typeof stylepath != 'undefined' && typeof skin != 'undefined') {
                importStylesheetURI(stylepath+'/'+skin+'/Opera7Fixes.css');
        } else if (is_opera_95) {
                importStylesheetURI(stylepath+'/'+skin+'/Opera9Fixes.css');
-       } else if (is_khtml) {
-               importStylesheetURI(stylepath+'/'+skin+'/KHTMLFixes.css');
        } else if (is_ff2_) {
                importStylesheetURI(stylepath+'/'+skin+'/FF2Fixes.css');
        }
diff --git a/skins/monobook/KHTMLFixes.css b/skins/monobook/KHTMLFixes.css
deleted file mode 100644 (file)
index afa3568..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/* KHTML fix stylesheet */
-/* work around the horizontal scrollbars */
-#column-content { margin-left: 0; }
-