Summary: | Context menu icons are not showing (iframe reference path set to parent instead of current document) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | webkit | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | amla70, ddkilzer, justin.garcia | ||||
Priority: | P2 | Keywords: | HasReduction | ||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://www.fckeditor.net/nightly/browsers_test.html | ||||||
Attachments: |
|
Description
webkit
2007-01-13 04:04:42 PST
Created attachment 14938 [details]
Simplified testcase
This testcase shows the root of the problem.
In a framed document the javascript appends a new iframe to its container, and the elements that are appended to that iframe get the reference path of the parent container instead of using the path from the document were the javascript is run.
IE, Firefox and Opera show the green background and the smiley, only Safari fails.
We have introduced a workaround for it in FCKeditor, so it is not blocking it anymore. There is still a bug on WebKit, so core devs should re-title this ticket properly. (In reply to comment #2) > We have introduced a workaround for it in FCKeditor, so it is not blocking it > anymore. Could you describe the work-around or post example code? This may be useful for others until a fix is implemented. > There is still a bug on WebKit, so core devs should re-title this ticket > properly. Done. David, the fix has been done by Alfonso (see Comment #1). It is related to the base path for script created IFRAME elements. The workaround at our side can be found here: http://dev.fckeditor.net/changeset/368 This appears to be fixed as of WebKit nightly r39872. Federico, can you confirm? (In reply to comment #6) > I confirm it's working properly with the nightly (r39853). Resolving as fixed. |