Oskar Wróbel
|
9f1054844a
Merge pull request #158 from ckeditor/t/157
|
hace 8 años |
Aleksander Nowodzinski
|
7a8e4ffc79
Other: getOptimalPosition utility should accept the target option
|
hace 8 años |
Piotrek Koszuliński
|
78a84f9ae1
Aligned the code style.
|
hace 8 años |
Aleksander Nowodzinski
|
d6b2b2138c
Renamed Rect#_obj to Rect#_source. Code refactoring.
|
hace 8 años |
Aleksander Nowodzinski
|
71bfadcf95
Fix: The getOptimalPosition utility should consider limiter ancestors with CSS overflow. Closes #148.
|
hace 8 años |
Aleksander Nowodzinski
|
6ce6f522bc
Tests: Fixed incomplete code-coverage due to wrong usage of the getElement util.
|
hace 8 años |
Aleksander Nowodzinski
|
19d475350a
Tests: Made getOptimalPosition() tests independent from DOM.
|
hace 8 años |
Aleksander Nowodzinski
|
678a6d1b42
Tests: Added test for positioned element with border and scrolls.
|
hace 8 años |
Piotrek Koszuliński
|
69b66d2a0c
Updated imports to use scoped packages.
|
hace 9 años |
Piotrek Koszuliński
|
41ab72e6f1
Bump up the year.
|
hace 9 años |
Piotrek Koszuliński
|
8fff7a1da5
Use package-based paths to modules.
|
hace 9 años |
Aleksander Nowodzinski
|
095a172d9d
Improved global module.
|
hace 9 años |
Aleksander Nowodzinski
|
60f4e96c2c
Used global module in various modules and tests to bulletproof them with predictable stubs.
|
hace 9 años |
Aleksander Nowodzinski
|
fb395b0de5
Fixed: Tests failing on master due to uncontrolled environment and missing stub.
|
hace 9 años |
Aleksander Nowodzinski
|
d042bfcd10
Fixed: Rect.getIntersectionArea() returns positive area for intersection of rects which has negative width and height (disjoint rects).
|
hace 9 años |
Aleksander Nowodzinski
|
c176a5441c
Fixed: stubWindowScroll in getOptimalPosition may leave the test env dirty.
|
hace 9 años |
Aleksander Nowodzinski
|
ee342d9ad6
Fixed: Wrong position returned when window is scrolled. Code refactoring.
|
hace 9 años |
Aleksander Nowodzinski
|
0878c2fd8e
Fixed: getOptimalPosition not returning a position when there's no intersection for provided element/target/limiter/viewport rects.
|
hace 9 años |
Aleksander Nowodzinski
|
4cc680e4b5
Improvements to getOptimalPosition util.
|
hace 9 años |
Aleksander Nowodzinski
|
9440ea2b9c
Added getOptimalPosition helper with tests.
|
hace 9 años |