From: Fomafix Date: Fri, 6 Nov 2015 20:27:34 +0000 (+0000) Subject: TOC: Restore missing underlines in Firefox X-Git-Tag: 1.31.0-rc.0~8940^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=ee6bdcfae1511bdf900513f293e437f178f7a01c;p=lhc%2Fweb%2Fwiklou.git TOC: Restore missing underlines in Firefox According to , text decorations are not propagated to the contents of inline blocks and inline tables, and 'display: table-cell' generates an inline table when used without any parent table-rows and tables. Firefox currently seems to be the only browser handling this correctly, see . This is a follow-up to c7894deb. Bug: T92481 Change-Id: Iae4a1e6fd30be950f0f1c40f47b4d2483002fe72 --- diff --git a/resources/src/mediawiki.skinning/content.css b/resources/src/mediawiki.skinning/content.css index a5dd692965..feecc615ec 100644 --- a/resources/src/mediawiki.skinning/content.css +++ b/resources/src/mediawiki.skinning/content.css @@ -92,6 +92,12 @@ table.toc td { .tocnumber, .toctext { display: table-cell; + /* + Text decorations are not propagated to the contents of inline blocks and inline tables, + according to , 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 */