* more specific selectors for wikitable - don't inherit properties to nested tables...
authorDanny B <danny_b@users.mediawiki.org>
Fri, 30 Dec 2011 23:23:50 +0000 (23:23 +0000)
committerDanny B <danny_b@users.mediawiki.org>
Fri, 30 Dec 2011 23:23:50 +0000 (23:23 +0000)
** (bug 30485) Hieroglyphs look scary if embedded in tables with class="wikitable"
** (bug 33434) math extension: integral expressions display with boxes/frames/borders

RELEASE-NOTES-1.19
skins/common/commonPrint.css
skins/common/shared.css

index a1bac75..e65ac39 100644 (file)
@@ -203,6 +203,8 @@ production.
   for backward compatibility
 * (bug 31469) Make sure tracking category messages expand variables like
   {{NAMESPACE}} relative to correct title.
+* (bug 30485 and bug 33434) Style rules for wikitable are now more specific and
+  prevent inheritance to nested tables which caused various issues
   
 
 === API changes in 1.19 ===
index 666f4f3..9782c9f 100644 (file)
@@ -325,18 +325,18 @@ table.mw_metadata {
        background: white;
        border-collapse: collapse;
 }
-.wikitable th, .wikitable td,
+table.wikitable > tr > th, table.wikitable > tr > td,
 .mw_metadata th, .mw_metadata td {
        border: 1px #aaa solid;
        padding: 0.2em;
 }
-.wikitable th,
+table.wikitable > tr > th,
 .mw_metadata th {
        text-align: center;
        background: white;
        font-weight: bold;
 }
-.wikitable caption,
+table.wikitable > caption,
 .mw_metadata caption {
        font-weight: bold;
 }
index f6cd788..ea2db3d 100644 (file)
@@ -475,16 +475,16 @@ table.wikitable {
        border-collapse: collapse;
        color: black;
 }
-.wikitable th,
-.wikitable td {
+table.wikitable > tr > th,
+table.wikitable > tr > td {
        border: 1px #aaa solid;
        padding: 0.2em;
 }
-.wikitable th {
+table.wikitable > tr > th {
        background-color: #f2f2f2;
        text-align: center;
 }
-.wikitable caption {
+table.wikitable > caption {
        font-weight: bold;
 }