Improve overflow/underflow DOM event handling. b=365477 r+sr=roc

This commit is contained in:
mats.palmgren@bredband.net 2007-08-21 22:02:27 -07:00
Родитель bf19c0cc1d
Коммит 5f9eb7d26f
1 изменённых файлов: 10 добавлений и 0 удалений

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

@ -2547,6 +2547,11 @@
if (event.target != this)
return;
// Ignore vertical events.
if (event.detail == 0) {
return;
}
this._scrollButtonDownBox.collapsed = true;
this._scrollButtonDownBoxAnimate.collapsed = true;
]]></handler>
@ -2556,6 +2561,11 @@
if (event.target != this)
return;
// Ignore vertical events.
if (event.detail == 0) {
return;
}
this._scrollButtonDownBox.collapsed = false;
this._scrollButtonDownBoxAnimate.collapsed = false;
]]></handler>