Revert "(bug 260) Handle <pre> overflow automatically with a scroll bar"
authorTrevor Parscal <tparscal@wikimedia.org>
Fri, 20 Jul 2012 21:20:35 +0000 (21:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 20 Jul 2012 21:20:35 +0000 (21:20 +0000)
Even after 8 years, we can't seem to make up our minds. That said, I think using word-wrap is the way to go, see comments on the bug.

This reverts commit b9f5fc10ae1fd7fab754db023e7d622355894f58

RELEASE-NOTES-1.20
skins/common/commonElements.css

index e79dce2..3c545ee 100644 (file)
@@ -125,7 +125,6 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
   who don't have access to /tmp can specify an alternative.
 * (bug 27283) SqlBagOStuff breaks PostgreSQL transactions.
 * (bug 35727) mw.Api ajax() should put token parameter last.
-* (bug 260) Handle <pre> overflow automatically with a scroll bar.
 * (bug 37708) mw.Uri.clone() should make a deep copy.
 
 === API changes in 1.20 ===
index 903a4f7..02fd29f 100644 (file)
@@ -198,12 +198,6 @@ pre, .mw-code {
        border: 1px dashed #2f6fab;
        color: black;
        background-color: #f9f9f9;
-       /* Handle overflow (bug 260) */
-       overflow: auto;
-       /* IE 7 is the first IE to support overflow but got it wrong */
-       /* IE 8+ is fine */
-       *padding-bottom: 21px;
-       *overflow-y: hidden;
 }
 
 /* Tables */