revert r93264 : breaks ton of parser tests.
Please update the parser tests and reapply.
This commit is contained in:
parent
176f91596c
commit
04d3db27c9
5 changed files with 13 additions and 16 deletions
|
|
@ -1456,10 +1456,10 @@ class Linker {
|
|||
static function tocList( $toc, $lang = false ) {
|
||||
$title = wfMsgExt( 'toc', array( 'language' => $lang, 'escape' ) );
|
||||
return
|
||||
'<div id="toc" class="toc">'
|
||||
'<table id="toc" class="toc"><tr><td>'
|
||||
. '<div id="toctitle"><h2>' . $title . "</h2></div>\n"
|
||||
. $toc
|
||||
. "</ul>\n</div>\n";
|
||||
. "</ul>\n</td></tr></table>\n";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -791,14 +791,4 @@ div.floatright, table.floatright, div.floatleft, table.floatleft {
|
|||
}
|
||||
|
||||
/* bug 12205 */
|
||||
#mw-credits a {
|
||||
unicode-bidi: embed;
|
||||
}
|
||||
|
||||
/* Standard toc */
|
||||
#toc {
|
||||
display: inline-block;
|
||||
/* IE6+7 workaround */
|
||||
zoom: 1;
|
||||
display: inline !ie;
|
||||
}
|
||||
#mw-credits a { unicode-bidi: embed; }
|
||||
|
|
@ -561,6 +561,11 @@ img.thumbborder {
|
|||
border: solid 1px #bbb;
|
||||
}
|
||||
|
||||
#toc tr, #toc td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#toctitle {
|
||||
border-bottom: solid 1px #3c78b5;
|
||||
background-color: #ddd;
|
||||
|
|
@ -587,7 +592,7 @@ img.thumbborder {
|
|||
list-style-type: none;
|
||||
list-style-image: none;
|
||||
margin: 0 1em;
|
||||
padding: 0;
|
||||
padding-left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -356,7 +356,8 @@ table.small {
|
|||
.toc ul {
|
||||
list-style-type: none;
|
||||
list-style-image: none;
|
||||
padding: 0 .4em;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
#toc ul ul,
|
||||
|
|
|
|||
|
|
@ -883,7 +883,8 @@ select {
|
|||
.toc ul {
|
||||
list-style-type: none;
|
||||
list-style-image: none;
|
||||
padding: 0 .4em;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
#toc ul ul,
|
||||
|
|
|
|||
Loading…
Reference in a new issue