Opened 11 years ago

Last modified 11 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 11 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.0.2
Status: newconfirmed

It's just a refactorization, so it won't be included in minor release.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy