Merge "TOC: Restore missing underlines in Firefox"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 19 Nov 2015 16:43:45 +0000 (16:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 19 Nov 2015 16:43:45 +0000 (16:43 +0000)
1  2 
resources/src/mediawiki.skinning/content.css

@@@ -92,14 -92,19 +92,20 @@@ table.toc td 
  .tocnumber,
  .toctext {
        display: table-cell;
+       /*
+       Text decorations are not propagated to the contents of inline blocks and inline tables,
+       according to <http://www.w3.org/TR/css-text-decor-3/#line-decoration>, and 'display: table-cell'
+       generates an inline table when used without any parent table-rows and tables.
+       */
+       text-decoration: inherit;
  }
  
  /* Space between the columns for tocnumber and toctext */
  /* Ignored by IE7 and lower */
  .tocnumber:after {
        content: "";
 -      padding-right: 0.5em;
 +      display: inline-block;
 +      width: 0.5em;
  }
  
  /* Warning */