Version: (using KDE KDE 3.5.5) The .innerHTML DOM attribute is not supported in XHTML. (WebKit, Gecko and Opera support it.) Here's the current spec: http://www.whatwg.org/specs/web-apps/current-work/#innerhtml2
Created attachment 19765 [details] Test case for setting innerHTML
Created attachment 19766 [details] Test case for getting innerHTML
David Håsäther said: "your test cases seem to work sent as application/xhtml+xml, but fails with application/xml".
I found the window.unload assignment not working thus making both test cases not even getting as far as testing .innerHTML. After rewriting the test cases I found *getting* of .innerHTML to work. Setting it in XML is still not working. The XML parsing is not done. Will attach an updated testcase.
Created attachment 40782 [details] Rewritten testcase for setting .innerHTML
It shows me a "FAIL" in the testcase of comment 5, so I confirm this bug in 4.5.4.
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