diff --git a/components/common.less b/components/common.less index 801b4e9bc..14fca5eb2 100644 --- a/components/common.less +++ b/components/common.less @@ -2,12 +2,6 @@ * Any rules which should not be flipped automatically in right-to-left situations should be * prepended with @noflip in a comment block. * - * This stylesheet employs a few CSS trick to accomplish compatibility with a wide range of web - * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using - * a rule that makes things work in IE6, and then following it with a rule that begins with - * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support - * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and - * "IGNORED BY IE6" comments. */ @import 'mediawiki.mixins'; @@ -84,6 +78,7 @@ body { .mw-indicator { display: inline-block; zoom: 1; + // Support: IE7 *display: inline; // stylelint-disable declaration-block-no-duplicate-properties } } diff --git a/components/search.less b/components/search.less index 308d557c8..652cb0157 100644 --- a/components/search.less +++ b/components/search.less @@ -92,8 +92,6 @@ cursor: pointer; /* Hide button text and replace it with the image. */ text-indent: -99999px; - /* Needed to make IE6 respect the text-indent. */ - line-height: 1; /* Opera 12 on RTL flips the text in a funny way without this. */ /* @noflip */ direction: ltr; diff --git a/components/watchstar.less b/components/watchstar.less index da51133a5..cbc032f82 100644 --- a/components/watchstar.less +++ b/components/watchstar.less @@ -12,8 +12,6 @@ width: 28px; /* This hides the text but shows the background image */ padding-top: 3.1em; - /* Only applied in IE6 */ - _margin-top: -0.8em; height: 0; overflow: hidden; background-position: 5px 60%; diff --git a/skinStyles/mediawiki.special.preferences.styles.less b/skinStyles/mediawiki.special.preferences.styles.less index 094d28378..a3f221d9b 100644 --- a/skinStyles/mediawiki.special.preferences.styles.less +++ b/skinStyles/mediawiki.special.preferences.styles.less @@ -31,7 +31,6 @@ background-position: bottom right; background-repeat: no-repeat; - /* Sadly, IE6 won't understand this */ &:first-child { margin-left: 1px; }