From: Ed Sanders Date: Fri, 17 Nov 2017 17:15:44 +0000 (+0000) Subject: Work around Firefox 57 attribute parsing regression X-Git-Tag: 1.31.0-rc.0~1475 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=543eb7c9beb7913ae53fc4f5da9ee74d379738f6;p=lhc%2Fweb%2Fwiklou.git Work around Firefox 57 attribute parsing regression Bug: T180138 Change-Id: I554d5adf88c448db64e6f135e19ee76a4ec28493 --- diff --git a/resources/src/mediawiki.skinning/elements.css b/resources/src/mediawiki.skinning/elements.css index 3599f3458d..58fd500d06 100644 --- a/resources/src/mediawiki.skinning/elements.css +++ b/resources/src/mediawiki.skinning/elements.css @@ -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 */ }