r107834 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107833‎ | r107834 | r107835 >
Date:14:58, 2 January 2012
Author:danny_b
Status:ok
Tags:
Comment:
* follow up to r107673 - adding universal selector, because <thead> and <tfoot> are being eventually added as well
Modified paths:
  • /trunk/phase3/skins/common/commonPrint.css (modified) (history)
  • /trunk/phase3/skins/common/shared.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/common/commonPrint.css
@@ -326,13 +326,13 @@
327327 border-collapse: collapse;
328328 }
329329 table.wikitable > tr > th, table.wikitable > tr > td,
330 -table.wikitable > tbody > tr > th, table.wikitable > tbody > tr > td,
 330+table.wikitable > * > tr > th, table.wikitable > * > tr > td,
331331 .mw_metadata th, .mw_metadata td {
332332 border: 1px #aaa solid;
333333 padding: 0.2em;
334334 }
335335 table.wikitable > tr > th,
336 -table.wikitable > tbody > tr > th,
 336+table.wikitable > * > tr > th,
337337 .mw_metadata th {
338338 text-align: center;
339339 background: white;
Index: trunk/phase3/skins/common/shared.css
@@ -477,13 +477,13 @@
478478 }
479479 table.wikitable > tr > th,
480480 table.wikitable > tr > td,
481 -table.wikitable > tbody > tr > th,
482 -table.wikitable > tbody > tr > td {
 481+table.wikitable > * > tr > th,
 482+table.wikitable > * > tr > td {
483483 border: 1px #aaa solid;
484484 padding: 0.2em;
485485 }
486486 table.wikitable > tr > th,
487 -table.wikitable > tbody > tr > th {
 487+table.wikitable > * > tr > th {
488488 background-color: #f2f2f2;
489489 text-align: center;
490490 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107669* more specific selectors for wikitable - don't inherit properties to nested ...danny_b23:23, 30 December 2011
r107673+ complementary <tbody> involved rules in wikitable definitions for browsers ...danny_b00:00, 31 December 2011

Status & tagging log