"Hashar" posted a comment on MediaWiki.r107669.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107669#c29616
Commit summary for MediaWiki.r107669:
* more specific selectors for wikitable - don't inherit properties to nested
tables which causes various rendering issues
** (bug 30485) Hieroglyphs look scary if embedded in tables with
class="wikitable"
** (bug 33434) math extension: integral expressions display with
boxes/frames/borders
Hashar's comment:
Danny B. wrote:
table.wikitable td {
border: 1px solid #aaa;
}
table.wikitable td td {
border: none;
}
I would do it the other way around, apply a default style to nested childs then
apply the style we want.
/** First apply default style to any nested childs */
table.wikitable tr * td {
border: none;
}
/** then the specific one */
table.wikitable tr td {
border: 1px solid #aaa;
}
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview