Opened 11 years ago

Closed 11 years ago

#10426 closed Bug (invalid)

bug reading style class, Reserved keyword IE8

Reported by: Stephan Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version: 4.0
Keywords: Cc:


I'm adjusting the styleComboBox plugins to my need. and i needed to read the class that will be set with the style object.

Because the class keyword is reserved in Internet Explorer 8 (only) This code will crash the editor and plugin.


A work arround:


It would be a good idea to change the name of the class property

Change History (1)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed

I can't see any problem in using array-like getters. There are more reserved keywords in old browsers for which you would need to use this format. And how would you access properties like attributes[ 'data-sth' ]? Only this way.

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