Opened 12 years ago
Closed 11 years ago
#9802 closed Bug (duplicate)
Load iframe with editor in hidden DIV
Reported by: | Damian | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.5.2 |
Keywords: | Firefox | Cc: |
Description
When you try to load iframe with editor in hidden DIV and after that you change visibility of this div, the editor toolbar show without images of buttons (only alt of images are visible in buttons).
I reproduce this bug only in Firefox (for me it's FF 17.0.1 - Windows 7).
I've add test case for this issue in attachment.
Attachments (2)
Change History (6)
Changed 12 years ago by
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Keywords: | Firefox added |
---|---|
Status: | new → confirmed |
Version: | 4.0 → 3.5.2 |
I was able to reproduce this problem in Firefox only.
This particular TC can be reproduced from CKEditor 4.0.
I think the problem first started in CKEditor 3.5.2 rev [6454]. JS error is thrown with this revision:
URI: ckeditor/_source/core/dom/element.js
Message : TypeError: this.getWindow(...).$.getComputedStyle(...) is null
Line: 495
In CKEditor 3.6.5 something got changed that causes error in firebug script (at least in my browser). This continued to CKEDitor 4 beta and changed in CKEditor 4.0.
Changed 12 years ago by
Attachment: | _mytest.html added |
---|
comment:3 Changed 12 years ago by
Another TC. Just put _mytest.html in samples folder and in Firefox you will see that editor goes into HC mode.
The problem is not that buttons are 'missing' but that editor is set to high contrast mode. This is caused by both sides of comparison:
(in core/_bootsrap.js) are empty strings. This happens only in Firefox. In other browsers getComputedStyle returns red & blue.