Opened 12 years ago
Last modified 12 years ago
#9823 confirmed Task
Consider getClientRect in magicline getSize
Reported by: | Olek Nowodziński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Performance | Version: | 4.0.1 |
Keywords: | magicline | Cc: |
Description
Most likely, the following https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/magicline/plugin.js#L1463-L1514 code can be replaced/improved/shortened with element.getClientRect()
method.
There's also a possibility of performance gain since getClientRect
directly refers to native DOM getBoundingClientRect
.
Change History (1)
comment:1 Changed 12 years ago by
Milestone: | CKEditor 4.0.2 |
---|---|
Status: | new → confirmed |
It's just a refactorization, so it won't be included in minor release.