Work around Firefox 57 attribute parsing regression
authorEd Sanders <esanders@wikimedia.org>
Fri, 17 Nov 2017 17:15:44 +0000 (17:15 +0000)
committerEd Sanders <esanders@wikimedia.org>
Fri, 17 Nov 2017 17:15:44 +0000 (17:15 +0000)
Bug: T180138
Change-Id: I554d5adf88c448db64e6f135e19ee76a4ec28493

resources/src/mediawiki.skinning/elements.css

index 3599f34..58fd500 100644 (file)
@@ -13,7 +13,9 @@ a {
        background: none;
 }
 
-a:not( [ href ] ) {
+/* 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 */
        cursor: pointer; /* Always cursor:pointer even without href */
 }