Commit History

Autor SHA1 Mensaxe Data
  Aleksander Nowodzinski 14e38d6c63 Fix: Rect utility should work for collapsed DOM Ranges. Closes #153. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski d6b2b2138c Renamed Rect#_obj to Rect#_source. Code refactoring. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski 64cc2f7775 Performance: Speed up Rect#getVisible nearly twice by avoiding window#getComputedStyles. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski e1088036e1 Fixed: Range#getVisible throws when used for document#body. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski 114e54bbb8 Implemented Rect#getVisible method. Defined Rect#_obj property. %!s(int64=8) %!d(string=hai) anos
  Piotrek Koszuliński 69b66d2a0c Updated imports to use scoped packages. %!s(int64=9) %!d(string=hai) anos
  Piotrek Koszuliński 41ab72e6f1 Bump up the year. %!s(int64=9) %!d(string=hai) anos
  Piotrek Koszuliński 8fff7a1da5 Use package-based paths to modules. %!s(int64=9) %!d(string=hai) anos
  Aleksander Nowodzinski 095a172d9d Improved global module. %!s(int64=9) %!d(string=hai) anos
  Aleksander Nowodzinski 60f4e96c2c Used global module in various modules and tests to bulletproof them with predictable stubs. %!s(int64=9) %!d(string=hai) anos
  Aleksander Nowodzinski 13d400a86f Allowed DOM ClientRect as a constructor argument of the Rect. %!s(int64=9) %!d(string=hai) anos
  Aleksander Nowodzinski d042bfcd10 Fixed: Rect.getIntersectionArea() returns positive area for intersection of rects which has negative width and height (disjoint rects). %!s(int64=9) %!d(string=hai) anos
  Aleksander Nowodzinski 3a5038f3f2 Fixed: Rect.getViewportRect() returns position:absolute coordinates instead of boundingClientRect–like. %!s(int64=9) %!d(string=hai) anos
  Aleksander Nowodzinski 5cac14e773 Added Rect class with tests. %!s(int64=9) %!d(string=hai) anos