Summary: | copying DOM nodes between documents using JavaScript doesn't work | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Clifford Wolf <clifford> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | Hinrich.Sager, linux |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
testcase: inner.html
testcase: outer.html (uses inner.html attachment) |
Description
Clifford Wolf
2005-02-28 17:26:39 UTC
SVN commit 427263 by staikos: Merge webcore fix for replaceChild() BUG: 100457 BUG: 72430 M +4 -0 ChangeLog M +87 -8 ecma/kjs_binding.cpp M +25 -5 ecma/kjs_binding.h M +34 -25 xml/dom_nodeimpl.cpp M +2 -0 xml/dom_nodeimpl.h Fix was reverted since it was an incomplete merge and caused crashes and rendering errors *** Bug 72430 has been marked as a duplicate of this bug. *** Is this still an issue with kde 3.5.4? Nothing relevant has changed, Juergen. But to reporter: actually, your understanding of what the DOM says is very wrong. In fact, it -requires- doing what KHTML does: raising an exception: "WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document than the one that created this node." .. and so Mozilla, just like IE, is breaking the spec here... The -proper- thing to do here is to use importNode. Having said that, this is something which we will eventually change to match the existing practice --- following the spec here would just screw over our users. Created attachment 22721 [details]
testcase: inner.html
Created attachment 22722 [details]
testcase: outer.html (uses inner.html attachment)
*** Bug 66781 has been marked as a duplicate of this bug. *** Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann |