Merge "Revert "Work around Firefox 57 attribute parsing regression""
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 4 Apr 2018 19:28:49 +0000 (19:28 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 4 Apr 2018 19:28:49 +0000 (19:28 +0000)
1  2 
resources/src/mediawiki.skinning/elements.css

@@@ -13,9 -13,7 +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 */
  }
  
@@@ -49,21 -47,6 +47,21 @@@ a.new
        color: #ba0000;
  }
  
 +/* self links */
 +a.mw-selflink {
 +      color: inherit;
 +      font-weight: bold;
 +      text-decoration: inherit;
 +}
 +a.mw-selflink:hover {
 +      cursor: inherit;
 +      text-decoration: inherit;
 +}
 +a.mw-selflink:active,
 +a.mw-selflink:visited {
 +      color: inherit;
 +}
 +
  a.new:visited,
  #p-personal a.new:visited {
        color: #a55858;