* Remove color:black from table {} in skins (bug 28422)
* Add color:black to .wikitable (since it has a background-color)
* Update comment about CSS3 'word-wrap:break-word' support in Gecko
* Remove line-break in mediawiki.js (it's ~ 90 chars, acceptable)
// Allow calling with an external script or single dependency as a string
if ( typeof modules === 'string' ) {
// Support adding arbitrary external scripts
- if ( modules.substr( 0, 7 ) == 'http://'
- || modules.substr( 0, 8 ) == 'https://' )
- {
+ if ( modules.substr( 0, 7 ) == 'http://' || modules.substr( 0, 8 ) == 'https://' ) {
if ( type === 'text/css' ) {
$( 'head' )
.append( $( '<link rel="stylesheet" type="text/css" />' )
}
table.diff td div {
/* Force-wrap very long lines such as URLs or page-widening char strings.
- CSS 3 draft..., but Gecko doesn't support it yet:
- https://bugzilla.mozilla.org/show_bug.cgi?id=99457 */
+ CSS 3 only (In Gecko 1.9.1 / Firefox 3.5):
+ https://bugzilla.mozilla.org/show_bug.cgi?id=99457
+ https://developer.mozilla.org/web-tech/2008/08/20/word-wrap-break-word/
+ https://developer.mozilla.org/En/CSS/Word-wrap */
word-wrap: break-word;
/* As fallback, scrollbars will be added for very wide cells
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
+ color: black;
}
.wikitable th, .wikitable td {
border: 1px #aaa solid;
table {
font-size: 100%;
- color: black;
}
a {
text-decoration: none;
/* Tables */
table {
font-size: 100%;
- color: black;
}
/* Forms */
fieldset {