aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rect.coffee
AgeCommit message (Collapse)Author
2017-11-01Rename Rect.rectOverlaps to Rect.intersectsStrict, clarify the commentmrmr1993
2017-11-01Rename Rect.contains to Rect.intersects, add an explanitory commentmrmr1993
2017-11-01Refine definition of Rects.rectsOverlapmrmr1993
2017-10-25FF: Share |root| global proxy, re-add the globals to window on DOMLoadmrmr1993
This is a workaround for Firefox bug 1408996.
2016-09-25Space rotates hints (to make hidden hints visible).Stephen Blott
It is common for link-hint markers to be close togother, and overlapping. Here, `<Space>` rotates hint markers such that hidden markers become visible. For filtered hints we additionally require a modifier (because `<space>` on its own is already a token separator). The calculation of overlapping hints is quite expensive: O(n^2) in the best case and O(n^3) in the worst cast. The worst case is extraordinarily unlikely to arise in practice.
2015-10-23Properly check whether the selection is visible in the current viewportmrmr1993
2014-12-18Add tests for lib/rectmrmr1993
2014-12-18Move rect functions to their own filemrmr1993