Closed Bug 581143 Opened 15 years ago Closed 15 years ago

Cleanup geometry utilities in utils.js

Categories

(Firefox Graveyard :: Panorama, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mitcho, Assigned: mitcho)

References

Details

1. Move isRect, isPoint, isRange to Utils, to facilitate JSMing and to clean up namespace 2. Remove unused/underutilized methods of Rect/Point/Range 3. Use QuickDraw-style comparison of pixel overlap (using < instead of <=) throughout.
Committed patch. Also one more note: 4. Range.overlaps is now Range.contains, to be more consistent with Rect.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Mass moving all Tab Candy bugs from Mozilla Labs to Firefox::Tab Candy. Filter the bugmail spam with "tabcandymassmove".
Product: Mozilla Labs → Firefox
Target Milestone: -- → ---
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.