From: Aryeh Gregor Date: Sun, 12 Jul 2009 18:36:18 +0000 (+0000) Subject: Remove KHTMLFixes.css X-Git-Tag: 1.31.0-rc.0~40992 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=e50b1d16639a572ee22f0ef5dc538cdde6615033;p=lhc%2Fweb%2Fwiklou.git Remove KHTMLFixes.css 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. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 5dd2753502..e13d13b4c9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js index ce61ca88a9..10a2ad935d 100644 --- a/skins/common/wikibits.js +++ b/skins/common/wikibits.js @@ -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 index afa3568b39..0000000000 --- a/skins/monobook/KHTMLFixes.css +++ /dev/null @@ -1,4 +0,0 @@ -/* KHTML fix stylesheet */ -/* work around the horizontal scrollbars */ -#column-content { margin-left: 0; } -