Revert "Work around Firefox 57 attribute parsing regression"
authorFomafix <fomafix@googlemail.com>
Fri, 1 Dec 2017 08:29:09 +0000 (09:29 +0100)
committerFomafix <fomafix@googlemail.com>
Fri, 23 Feb 2018 23:12:13 +0000 (00:12 +0100)
Bug https://bugzilla.mozilla.org/1418152 is fixed in Firefox 57.0.1 and
released at November 29, 2017.

5ca659b287a1ef7755729de60c1bcc5ff4a79c76 added additional CSS minify
rules which prevents the problem on debug=false mode but not on
debug=true mode.

This reverts commit 543eb7c9beb7913ae53fc4f5da9ee74d379738f6.

Change-Id: I0f039791023f67b24ca8ab663702e2f754f6964f

resources/src/mediawiki.skinning/elements.css

index 19f3553..3aa60c0 100644 (file)
@@ -13,9 +13,7 @@ a {
        background: none;
 }
 
-/* Support: Firefox 57 - it can't parse `rule[ attr ]` and the LESS compiler doesn't */
-/* strip whitespace inside the :not() (T180138) */
-a:not( [href] ) { /* stylelint-disable-line selector-attribute-brackets-space-inside */
+a:not( [ href ] ) {
        cursor: pointer; /* Always cursor:pointer even without href */
 }