Commit History

Autor SHA1 Mensaxe Data
  Marek Lewandowski 0d6cd9c214 Tests (utils): Removed integration test for sequenced range Rect. %!s(int64=5) %!d(string=hai) anos
  Marek Lewandowski 0de304531e Tests: Added unit tests calculating Rect for a sequenced range. %!s(int64=5) %!d(string=hai) anos
  Kamil Piechaczek 2283aa4f74 Internal: Bumped the year. [skip ci] %!s(int64=6) %!d(string=hai) anos
  Aleksander Nowodzinski 11c2501ec2 Fix: `Rect#excludeScrollbarsAndBorders` should support RTL content. Fixed incorrect output of the method. Closes #297. %!s(int64=6) %!d(string=hai) anos
  Piotr Jasiun aee2e94059 Warn about rect-source-not-in-dom only in CK_DEBUG mode. %!s(int64=6) %!d(string=hai) anos
  Maciej Bukowski f9e6038ca8 Removed usage of logger. %!s(int64=6) %!d(string=hai) anos
  Kamil Piechaczek 98899fd81e Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci] %!s(int64=6) %!d(string=hai) anos
  Kamil Piechaczek 3e031cfe15 Internal: Bumped the year. [skip ci] %!s(int64=7) %!d(string=hai) anos
  Maciej Gołaszewski bacc3a704c Tests: Properly use sinon sandbox in tests. %!s(int64=7) %!d(string=hai) anos
  Piotrek Koszuliński 1eba2cbdb7 Internal: Bumped the year. [skip ci] %!s(int64=8) %!d(string=hai) anos
  Maciej Bukowski 52460a5abc Added test for Rect class. %!s(int64=8) %!d(string=hai) anos
  Kamil Piechaczek f0070e2613 Fixed failing tests in Safari. %!s(int64=8) %!d(string=hai) anos
  Kamil Piechaczek 417d9ab1f8 Used `Node#appendChild` method instead of `Node#append`. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski 82dc93f5e3 Tests: Added tests to verify Rect class works for various cases of another window's context. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski ebf5029b4b Made Rect class independent of global#window and document. Using rect source's window instead. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski ac9a54af45 Tests: Silenced Rect warnings. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski 36a5abd385 Internal: A warning should show up when a Rect instance is for an HTML element or a DOM range not belonging to a rendered DOM tree. Closes #178. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski 9878640f6e Code refactoring in the Rect class: removed static Rect.getViewportRect and replaced it with new Rect( window ). Introduced a new instance method #excludeScrollbarsAndBorders. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski 21665dba4c Tests: Updated stubs to the latest Sinon API. %!s(int64=8) %!d(string=hai) anos
  Kamil Piechaczek 51d37ed37a Upgraded tests to the latest Chai and Sinon version. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski ab167f71a9 Implemented Rect class methods #isEqual() and #contains(). Allowed exclusion of borders and scrollbars. %!s(int64=8) %!d(string=hai) anos
  Aleksander Nowodzinski b1f09018dd Other: Provided a static `Rect#getDomRangeRects` method for external usage. Closes #168. %!s(int64=8) %!d(string=hai) anos
  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