Opened 13 years ago
Last modified 13 years ago
#9687 confirmed Bug
[Safari] Open font-name combo in <pre> crashes browser
| Reported by: | Garry Yao | Owned by: | |
|---|---|---|---|
| Priority: | Low | Milestone: | |
| Component: | General | Version: | 4.0 |
| Keywords: | Safari6 | Cc: |
Description
- Load editor with the following source:
<pre>^foo</pre>
- Open Font Name combo;
- Actual: Browser crashes
Reproduced with Safari6 on Mac.
Change History (9)
comment:1 Changed 13 years ago by
| Status: | new → pending |
|---|
comment:3 Changed 13 years ago by
I have tried with the below code:
<textarea cols="80" id="editor1" name="editor1" rows="10">
<pre>foo</pre>
</textarea>
var e = CKEDITOR.replace( 'editor1' );
e.on('instanceReady', function(evt){ //I have also tried clicking and tabbing
evt.editor.focus();
});
I have tried this on Safari 5 and it worked. Can anyone verify Safari 6 with above (if you have used the same please leave a comment that it works)?
comment:4 Changed 13 years ago by
| Status: | pending → new |
|---|
Ok, I figured out that it would require the <pre> being created in the DOM to reproduce it, so revised a bit the TC:
- Open replacebyclass in Safari6, Mac
- Make a text selection, select pre-formatted from the Format combo;
- Now open "Font Name" combo.
Can you re-checked?
comment:5 Changed 13 years ago by
| Status: | new → confirmed |
|---|
This is how I was checking it. I haven't used source mode.
But now I'm testing it again on second Mac and I can reproduce it. Caret may be anywhere in that <pre> and Safari crashes.
comment:6 Changed 13 years ago by
| Keywords: | Safari6 added |
|---|
Just a note - I'm not getting this on Safari 5.
comment:7 Changed 13 years ago by
More details:
- reporoducible: Safari 6.0.2 7536.26.17
- not reproducible: Safari 6.0.2 8536.26.17
comment:8 Changed 13 years ago by
| Milestone: | CKEditor 4.0 |
|---|
So as this issue should be fixed with the newest Safari builds I'm removing milestone.
comment:9 Changed 13 years ago by
| Priority: | Normal → Low |
|---|

I couldn't reproduce this. Safari 6, Mac, preformatted block, caret at the beginning, I'm opening font name combo and everything work.