From ee6bdcfae1511bdf900513f293e437f178f7a01c Mon Sep 17 00:00:00 2001 From: Fomafix Date: Fri, 6 Nov 2015 20:27:34 +0000 Subject: [PATCH] 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 --- resources/src/mediawiki.skinning/content.css | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- 2.20.1