Bug 384575 - Remove SeaMonkey's autoscroll now that its improvements have been ported to toolkit's

r=mano on the toolkit change
r+sr=neil on the rest
This commit is contained in:
cst@yecc.com 2007-07-21 19:42:01 -07:00
Родитель 22c2324517
Коммит 3cd2984351
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -731,6 +731,14 @@
this._autoScrollPopup.addEventListener("popuphidden", this, true);
// we need these attributes so themers don't need to create per-platform packages
if (screen.colorDepth > 8) { // need high color for transparency
// Exclude second-rate platforms
this._autoScrollPopup.setAttribute("transparent", !/BeOS|Mac|OS\/2|Photon/.test(navigator.appVersion));
// Enable translucency on W2K+ (but not WinNT4.0)
this._autoScrollPopup.setAttribute("translucent", /^Windows NT /.test(navigator.oscpu));
}
this._scrollingView = event.originalTarget.ownerDocument.defaultView;
if (this._scrollingView.scrollMaxX > 0) {
this._autoScrollPopup.setAttribute("scrolldir", this._scrollingView.scrollMaxY > 0 ? "NSEW" : "EW");