Bug 479821 - fix wsRect.intersects bustage r=stuart

This commit is contained in:
Taras Glek 2009-02-23 12:58:46 -08:00
parent cef51c7aef
commit f70cbbcdf2

View File

@ -262,7 +262,7 @@ wsRect.prototype = {
(other._l <= this._l && other._r >= this._r);
let yok = (other._t > this._t && other._t < this._b) ||
(other._b > this._t && other._b < this._b) ||
(other._t <= this._t && other._t >= this._b);
(other._t <= this._t && other._b >= this._b);
return xok && yok;
},