https://bugzilla.wikimedia.org/show_bug.cgi?id=33752

--- Comment #2 from Krinkle <[email protected]> 2012-01-16 16:18:00 UTC ---
The reasoning was that with the current rules as in 1.18 have the problematic
behavior of matching child tables:


{| class="wikitable"
! foo
! bar
|-
| baz
| quux
{| class="something-else"
! lorem
|-
| ipsum
|}

|}

if "table.something-else" is given a nice styling, it will be screwed up with
inherited styles because "table.wikitable th" also matches
'<table class="wikitable> - <tr> - <td> - <table class="something-else"> <tr>
<th>'
instead of just
'<table class="wikitable"> - <tr> - <th>'

which is why many table styles all over MediaWiki related code is constantly
fighting possible inherited styles, which makes cascading even harder.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to