mediawiki.legacy: Use 'none' rather than 'initial' to remove border
authorBartosz Dziewoński <matma.rex@gmail.com>
Sat, 8 Aug 2015 14:56:25 +0000 (16:56 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 8 Aug 2015 14:56:25 +0000 (16:56 +0200)
A browser could potentially support 'text-decoration: underline dotted'
(which we check for with '@supports'), but not 'initial' value (which
we don't check for), resulting in double underlining.

Follow-up to I6fb2d2b8016c1f3164999e25cbc058ccd9a2f121.

Change-Id: I13359e99010b524cf1a9f868374327b2c17399b7

resources/src/mediawiki.legacy/shared.css

index 2bf8c25..b69e59d 100644 (file)
@@ -81,7 +81,7 @@ abbr[title],
 @supports (text-decoration: underline dotted) {
        abbr[title],
        .explain[title] {
-               border-bottom: initial;
+               border-bottom: none;
                text-decoration: underline dotted;
        }
 }