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

       Web browser: ---
             Bug #: 33752
           Summary: Wikitable uses CSS not supported in IE6
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-review, patch
          Severity: critical
          Priority: Unprioritized
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9859
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9859
Patch for common/shared.css

Somewhere between 1.18 and 1.19, the CSS for .wikitable was changed from 

table.wikitable th,
table.wikitable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
table.wikitable th {
    background-color: #f2f2f2;
    text-align: center;
}
table.wikitable caption {
    font-weight: bold;
}

To...

table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
    border: 1px #aaa solid;
    padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #f2f2f2;
    text-align: center;
}
table.wikitable > caption {
    font-weight: bold;
}

I don't know the reasoning behind this, but I do know it will break in IE6 (and
possibly other legacy browsers that do not support the ">" selector). I don't
really care about dropping support for IE6, but to break such a trivial element
as .wikitable is rather weird, especially when not needed.

Marking 'critical', but I leave it up to the devs to decide.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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