#6414 closed Bug (worksforme)
Differences in sorting of default styles in dropdown between IE9 and other browsers
| Reported by: | Krzysztof Studnik | Owned by: | Alfonso Martínez de Lizarrondo |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.4.1 |
| Keywords: | IE Opera | Cc: | garret@… |
Description
- open CKEditor in IE9
- open dropdown list with styles
Line styles are sorted in different way than in other browsers
Attachments (2)
Change History (10)
Changed 15 years ago by
| Attachment: | krst_14.09.21.png added |
|---|
comment:1 Changed 15 years ago by
| Keywords: | IE added; IE9 removed |
|---|---|
| Milestone: | → CKEditor 3.5 |
comment:2 Changed 15 years ago by
| Owner: | set to Alfonso Martínez de Lizarrondo |
|---|---|
| Status: | new → review |
comment:3 Changed 15 years ago by
Filed https://connect.microsoft.com/IE/feedback/details/612574/the-array-sort-isnt-stable just in case they want to change it.
comment:4 Changed 15 years ago by
| Status: | review → review_failed |
|---|
Those guys are changing IE JavaScript engine there, hopefully it's *stable* instead.
Sort by name is not a good idea though, we should instead keep the configuration order.
comment:5 Changed 15 years ago by
| Milestone: | CKEditor 3.5 → CKeditor 3.4.3 |
|---|
comment:6 Changed 15 years ago by
| Milestone: | CKEditor 3.4.3 |
|---|---|
| Resolution: | → worksforme |
| Status: | review_failed → closed |
This is fixed in the Preview 6
comment:7 Changed 15 years ago by
| Keywords: | Opera added |
|---|
Opera 11.00 (latest stable release) and Google Chrome 10.0.634.0 (latest development build) display style list in seemingly random order.
To test it I opened CKEditor demo page (http://ckeditor.com/demo) in both browsers and checked if style list is in the same order as defined in config it loads (http://ckeditor.com/apps/ckeditor/3.5r6261/plugins/styles/styles/default.js?t=ABLC4TW).
The order is different in both browsers and (obviously) not the same as in all other browsers.
comment:8 Changed 14 years ago by
| Cc: | garret@… added |
|---|
This needs to be reopened; I seem random sorting on Chrome 17. I've created #8765.

I would say that the sorting in IE9 now isn't stable as happened previously with Chrome in #3868.
We can sort the elements inside each group by name, I think that people might want this and we can forget about this issue.