mediawiki.skinning: Remove italics from q tag for IE7 and below
authorVivek Ghaisas <v.a.ghaisas@gmail.com>
Sun, 15 Feb 2015 16:32:14 +0000 (22:02 +0530)
committerVivek Ghaisas <v.a.ghaisas@gmail.com>
Sun, 15 Feb 2015 16:38:46 +0000 (22:08 +0530)
The q tag is stylized as italic using the star hack for IE7 and below.
Since those browser do not support before and after pseudo elements
(and so, quotation marks cannot be added in), a more appropriate
styling is to just leave the default styling for quotations as is.

Bug: T89595
Change-Id: I382a9268d2d98fbaed6c46081b09152be8d6670c

resources/src/mediawiki.skinning/elements.css

index 11962f8..eb57abb 100644 (file)
@@ -182,12 +182,6 @@ dd {
        margin-bottom: .1em;
 }
 
-/* IE 6 and 7 lack support for quotes aroud the <q> element ('::before' and '::after'
-   pseudoelements, 'quotes' property). Let's italicize it instead (using the star hack). */
-q {
-       *font-style: italic;
-}
-
 pre, code, tt, kbd, samp, .mw-code {
        /*
         * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.