Kamil Piechaczek
|
2283aa4f74
Internal: Bumped the year. [skip ci]
|
6 yıl önce |
Aleksander Nowodzinski
|
11c2501ec2
Fix: `Rect#excludeScrollbarsAndBorders` should support RTL content. Fixed incorrect output of the method. Closes #297.
|
6 yıl önce |
Piotr Jasiun
|
aee2e94059
Warn about rect-source-not-in-dom only in CK_DEBUG mode.
|
6 yıl önce |
Maciej Bukowski
|
f9e6038ca8
Removed usage of logger.
|
6 yıl önce |
Kamil Piechaczek
|
98899fd81e
Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci]
|
6 yıl önce |
Kamil Piechaczek
|
3e031cfe15
Internal: Bumped the year. [skip ci]
|
6 yıl önce |
Piotrek Koszuliński
|
d929fced14
Internal: Fixed code style after upgrade to latest ESLint.
|
7 yıl önce |
Maciej Bukowski
|
6f180cfde0
Replaced `lib/lodash` imports with `lodash-es`.
|
7 yıl önce |
Maciej Bukowski
|
6239f26e04
Introduced isText() method.
|
7 yıl önce |
Piotrek Koszuliński
|
1eba2cbdb7
Internal: Bumped the year. [skip ci]
|
8 yıl önce |
Maciej Bukowski
|
148f895d63
Added usage of parent node if node is a text node in Rect.
|
8 yıl önce |
Aleksander Nowodzinski
|
ebf5029b4b
Made Rect class independent of global#window and document. Using rect source's window instead.
|
8 yıl önce |
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.
|
8 yıl önce |
Piotrek Koszuliński
|
1b235b603a
Corrected API docs.
|
8 yıl önce |
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.
|
8 yıl önce |
Aleksander Nowodzinski
|
26cbad94ad
Code refactoring and docs improvements in the dom/rect module.
|
8 yıl önce |
Aleksander Nowodzinski
|
ebd738f38d
Docs: Fixed docs errors in the Rect class.
|
8 yıl önce |
Aleksander Nowodzinski
|
ab167f71a9
Implemented Rect class methods #isEqual() and #contains(). Allowed exclusion of borders and scrollbars.
|
8 yıl önce |
Aleksander Nowodzinski
|
b1f09018dd
Other: Provided a static `Rect#getDomRangeRects` method for external usage. Closes #168.
|
8 yıl önce |
Piotrek Koszuliński
|
3c755611bd
Minor code refactoring.
|
8 yıl önce |
Aleksander Nowodzinski
|
14e38d6c63
Fix: Rect utility should work for collapsed DOM Ranges. Closes #153.
|
8 yıl önce |
Aleksander Nowodzinski
|
d6b2b2138c
Renamed Rect#_obj to Rect#_source. Code refactoring.
|
8 yıl önce |
Aleksander Nowodzinski
|
64cc2f7775
Performance: Speed up Rect#getVisible nearly twice by avoiding window#getComputedStyles.
|
8 yıl önce |
Aleksander Nowodzinski
|
e1088036e1
Fixed: Range#getVisible throws when used for document#body.
|
8 yıl önce |
Aleksander Nowodzinski
|
114e54bbb8
Implemented Rect#getVisible method. Defined Rect#_obj property.
|
8 yıl önce |
Piotrek Koszuliński
|
41ab72e6f1
Bump up the year.
|
9 yıl önce |
Piotrek Koszuliński
|
8fff7a1da5
Use package-based paths to modules.
|
9 yıl önce |
Aleksander Nowodzinski
|
095a172d9d
Improved global module.
|
9 yıl önce |
Aleksander Nowodzinski
|
60f4e96c2c
Used global module in various modules and tests to bulletproof them with predictable stubs.
|
9 yıl önce |
Aleksander Nowodzinski
|
60d58e2954
Doc fixes and improvements.
|
9 yıl önce |