"Fomafix" posted a comment on MediaWiki.r107669.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/107669#c29588

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

Fomafix's comment:

<code>expression</code> overwrites the inline CSS definition.

I used [[User:Fomafix/common.css|this]] configuration with <code>/(^| 
)wikitable2($| )/</code> as regular expression. Here is my test case:

{| class="wikitable" style="float:left"
|+ wikitable
| cell
|-
| style="padding:1em" | padding
|-
| table
{|
| cell
|-
| style="padding:1em" | padding
|-
| cell
|}
|-
| wikitable
{| class="wikitable"
| cell
|-
| style="padding:1em" | padding
|-
| cell
|}
|}

{| class="wikitable2" style="float:left"
|+ wikitable2
| cell
|-
| style="padding:1em" | padding
|-
| table
{|
| cell
|-
| style="padding:1em" | padding
|-
| cell
|}
|-
| wikitable2
{| class="wikitable2"
| cell
|-
| style="padding:1em" | padding
|-
| cell
|}
|}
<div style="clear:left"/>

We also have to look for the performance.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to