Bug 142001 - innerHTML in XML (XHTML) not supported
Summary: innerHTML in XML (XHTML) not supported
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 23:29 UTC by Simon Pieters
Modified: 2024-05-06 18:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test case for setting innerHTML (347 bytes, application/xml)
2007-02-20 23:34 UTC, Simon Pieters
Details
Test case for getting innerHTML (372 bytes, application/xml)
2007-02-20 23:37 UTC, Simon Pieters
Details
Rewritten testcase for setting .innerHTML (356 bytes, application/xml)
2010-02-15 00:18 UTC, Harri Porten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters 2007-02-20 23:29:12 UTC
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
Comment 1 Simon Pieters 2007-02-20 23:34:34 UTC
Created attachment 19765 [details]
Test case for setting innerHTML
Comment 2 Simon Pieters 2007-02-20 23:37:10 UTC
Created attachment 19766 [details]
Test case for getting innerHTML
Comment 3 Simon Pieters 2007-02-21 00:37:06 UTC
David Håsäther said: "your test cases seem to work sent as application/xhtml+xml, but fails with application/xml".
Comment 4 Harri Porten 2010-02-15 00:16:39 UTC
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.
Comment 5 Harri Porten 2010-02-15 00:18:15 UTC
Created attachment 40782 [details]
Rewritten testcase for setting .innerHTML
Comment 6 Samuel Brack 2011-01-09 22:57:09 UTC
It shows me a "FAIL" in the testcase of comment 5, so I confirm this bug in 4.5.4.
Comment 7 Justin Zobel 2021-03-21 00:25:54 UTC
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.
Comment 8 Christoph Cullmann 2024-05-06 18:38:59 UTC
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