Aleksander Nowodzinski
|
13d400a86f
Allowed DOM ClientRect as a constructor argument of the Rect.
|
9 years ago |
Aleksander Nowodzinski
|
d042bfcd10
Fixed: Rect.getIntersectionArea() returns positive area for intersection of rects which has negative width and height (disjoint rects).
|
9 years ago |
Aleksander Nowodzinski
|
3a5038f3f2
Fixed: Rect.getViewportRect() returns position:absolute coordinates instead of boundingClientRect–like.
|
9 years ago |
Aleksander Nowodzinski
|
5cac14e773
Added Rect class with tests.
|
9 years ago |